dotBunny / CLionSourceCodeAccess

A CLion Plugin for Unreal Engine
138 stars 26 forks source link

Project doesn't link the engine #73

Open snaiperskaya96 opened 6 years ago

snaiperskaya96 commented 6 years ago

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?

snaiperskaya96 commented 6 years ago

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

RicardoEPRodrigues commented 6 years ago

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).

reapazor commented 6 years ago

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]

RicardoEPRodrigues commented 6 years ago

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! :smile:

snaiperskaya96 commented 6 years ago

Mine is a source build (I'm on debian) And yes, I did generate the cmakelist from the File menu :\ On 20 Aug 2017 1:38 pm, "Matthew Davey" notifications@github.com wrote:

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]

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/dotBunny/CLionSourceCodeAccess/issues/73#issuecomment-323582483, or mute the thread https://github.com/notifications/unsubscribe-auth/AFCOMfLR9f4NpVIwKgfzG7E4oEoxg7WVks5saCjhgaJpZM4O8kLq .

reapazor commented 6 years ago

If you look in the logs, you’ll see an error most likely about not finding UE4Editor.proj … the plugin isn’t compatible with source builds; if you make a rocket build from source it will work. I’ve got it on my long list of todos to make the source builds work, just up until recently didn’t have a reason too :)

Matthew Davey dotBunny Inc.

888.632.1993 x700

On Aug 20, 2017, at 08:40, Jury Verrigni notifications@github.com<mailto:notifications@github.com> wrote:

Mine is a source build (I'm on debian)

On 20 Aug 2017 1:38 pm, "Matthew Davey" notifications@github.com<mailto:notifications@github.com> wrote:

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]

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/dotBunny/CLionSourceCodeAccess/issues/73#issuecomment-323582483, or mute the thread https://github.com/notifications/unsubscribe-auth/AFCOMfLR9f4NpVIwKgfzG7E4oEoxg7WVks5saCjhgaJpZM4O8kLq .

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/dotBunny/CLionSourceCodeAccess/issues/73#issuecomment-323582570, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AAGD3OYQ2zuJOXlztZb5yazkEeT_rmhbks5saCk-gaJpZM4O8kLq.