Jump to content

Wrong Component Paths for new C++ projects


Go to solution Solved by Josh,

Recommended Posts

Posted

I did a code reset on an existing project. Pretty much, I deleted my Source and project files and cleared my blacklist. What I got was:

1. A project that didn't have any components being compiled. 

2. The ComponentSystem.h file prepopulating the component includes with "Component" instead of entities.

Pretty much, a new C++ project is non-compliable without work. This is due to the Components folder being renamed to Entities.  

Cyclone - Ultra Game System - Component PreprocessorTex2TGA - Darkness Awaits Template (Leadwerks)

If you like my work, consider supporting me on Patreon!

Posted
10 hours ago, reepblue said:

I did a code reset on an existing project

What is a "code reset"?

10 hours ago, reepblue said:

A project that didn't have any components being compiled. 

This is a new CPP project:

image.thumb.png.82c9d521a4db27d8c014b6b0c542565e.png

10 hours ago, reepblue said:

The ComponentSystem.h file prepopulating the component includes with "Component" instead of entities.

No GIF by Tokkingheads

  • Like 1

Let's build cool stuff and have fun. :)

Posted

Interesting. All I did was delete my Source folder and solution, cleared my blacklist filer and told updated the project. and the project didn't compile. If it works with a new project. I'll try just making a new project and importing everything over if making a new project works.

Also sorry for the confusion. It was midnight after a workday so I wasn't thinking straight. 

  • Like 1

Cyclone - Ultra Game System - Component PreprocessorTex2TGA - Darkness Awaits Template (Leadwerks)

If you like my work, consider supporting me on Patreon!

  • Solution
Posted

Since the components folder was changed, the editor will detect when an old-style project is opened, and ask the user to modify the VS project to adjust it. Since you deleted the old code and added the new code, the editor did not get to see that the old components folder was present, so it did not know to ask you to make the needed adjustments.

  • Like 1

Let's build cool stuff and have fun. :)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...