Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ubuntu 16.04 + UE4.19 + Clion2017.3,Failed to open selected source code accessor 'Clion' #91

Open
evehal opened this issue Feb 6, 2018 · 4 comments

Comments

@evehal
Copy link

evehal commented Feb 6, 2018

and there is no Clion plugin setting in Project setting,and mono installed

@reapazor
Copy link
Contributor

reapazor commented Feb 6, 2018

Theres an issue where UE isn't telling UBT to build the right files ... something was removed during the merge. I've contacted Epic :)

@evehal
Copy link
Author

evehal commented Mar 15, 2018

after 4.19 release,i tried again:
Cannot get compiler information:
Compiler exited with error code 1: /usr/bin/c++ -xc++ -DACTORPICKERMODE_API= -
...........................................
WORKSPACEMENUSTRUCTURE_API= -D WORLDBROWSER_API= -D XGECONTROLLER_API= -D XMLPARSER_API= -D XMPP_API= -D XMPP_PACKAGE=1 -D _UNICODE -D UNREAL -D ___CIDR_DEFINITIONS_END /tmp/compiler-file -mtune=generic -march=x86-64 -std=gnu++14 -fpch-preprocess -g -fworking-directory -fstack-protector-strong -Wformat -Wformat-security -dD
c++: error trying to exec '/usr/lib/gcc/x86_64-linux-gnu/5/cc1plus': execv: Argument list too long

@reapazor
Copy link
Contributor

reapazor commented Mar 15, 2018 via email

@S-Marais
Copy link

S-Marais commented Apr 1, 2018

You see this error because CMakeLists.txt does not tell anymore that you want to use clang. Editing the CMakeLists.txt in the root folder of your project directory you can add set(CMAKE_CXX_COMPILER /usr/bin/clang++) or whatever path your clang++ is installed on.
I've committed a change that should fix this issue on linux at least in the UE4 repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants