dotBunny/CLionSourceCodeAccess

Project doesn't link the engine

Opened this issue · 6 comments

As per title, it looks like the engine doesn't get linked to the project and as a result i get a crapload of undefined reference to AActor/UActorComponent... and so on.

Also the IDE wasn't able to find the generated.h files until I moved the content of the (already included) IncludeDirectories.cmake file to the main CMakeFiles.txt.

Any workaround so far?

🤔 Launching the build command manually doesn't return any kind of linking problem
Total build time: 21.08 seconds (Local executor: 8.15 seconds)

Did you follow the Wiki. The undefined reference to... may be related to you not generating the CMakeList.

After the installation of the Plugin, in UE4 you should do File > Generate CMakeList (or something similar).

The other question, just to confirm, this is a project based install (UE rocket build?) not a source build?

[i am looking at how to auto adjust for source builds tho]

Oh sidenote: I remember using the clean option on a source build and it clean the engine as well, aka rebuild the engine from scratch...

Damn you Linux! 😄