dotBunny / CLionSourceCodeAccess

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

Getting "unable to produce project file" on Generate CMakeList #77

Open EdmondBG opened 7 years ago

EdmondBG commented 7 years ago

Hello,

I'm currently running UE4 v4.16.3 on Windows 10 with the plugin CLion but after following every step from the guide I get that on "Generate CMakeList" :https://puu.sh/xxrmg/38d68f3bf1.jpg

I also get it when I do "Open with CLion" (2x times).

And of course, when CLion is open I get : https://puu.sh/xxrrp/c0fcb0fa0d.png

Any idea?

EdmondBG commented 7 years ago

I just realized I got that on the toolchain setting :https://puu.sh/xxrzD/fd9d5b75fe.png

Hmm

Edit: solved it, didn't helped

hazaip commented 6 years ago

Hi!

I got the same problem. What is the solution?

reapazor commented 6 years ago

Just a small comment, as I cant help much on this one. UE 4.19 will resolve this cross platform.

hazaip commented 6 years ago

I don't quite understand the problem, since it does not give any further details on the error. Is this related to the command line command length limitation on windows? What would be Epic's solution for this?

reapazor commented 6 years ago

The issue is that UBT lost its ability to generate CodeLite files via command-line options. I've improved on the functionality in https://github.com/EpicGames/UnrealEngine/pull/4142, if you want to try it out early.

hazaip commented 6 years ago

The issue title is private, you have to give me permission to access the content.

reapazor commented 6 years ago

Ahh you have to have access to the UE codebase to see it :( Its basically the plugin being brought into UE natively.

hazaip commented 6 years ago

How does that help the UBT to generate CMakeLists?

reapazor commented 6 years ago

Part of the PR is building out a CLion specific option to UBT, so there is no more making the codelite file and then parsing it. It brings it inline with how Epic is moving with their build tools. It also exposes and modifies the source code accessor interface to allow them to provide custom command lines to UBT inside of UE

hazaip commented 6 years ago

And when does it come to be available? In future release, like 4.19, or will it be available in one of the updates for 4.18?

reapazor commented 6 years ago

4.19 most likely, I cannot comment on their release cycle. You could sign up for the UE source code access (free) and build it w/ the change though... right now.

hazaip commented 6 years ago

Thank you very much! 👍