Hey guys, seems like the CLion exporter is broken in the Master and Develop branches.
Only tested in Mac, but I’m managing to build just fine using XCode.
This happened in any Projucer project I tried to build, including the new project templates (GUI app, etc).
I had to revert back for now. But it seems as though the project is really not configured correctly.
I’m just talking about any of the template projects, that all build fine using XCode (and using the older 5.4.2 build fine using CLion, too).
Did any of you manage to build (any JUCE project) using CLion on Mac?
Hi,
Experiencing the same problem I think with 5.4.3. This what comes out in the log when loading the cmake project in CLion. It worked fine with 5.4.2. Hope it helps!
“/Users/fredrik/Library/Application Support/JetBrains/Toolbox/apps/CLion/ch-0/191.5532.20/CLion 2019.1 EAP.app/Contents/bin/cmake/mac/bin/cmake” -DCMAKE_BUILD_TYPE=Debug -G “CodeBlocks - Unix Makefiles” /Users/fredrik/Documents/git/----/Builds/CLion
CMake Warning (dev) at CMakeLists.txt:3847:
Syntax Warning in cmake code at column 400
Argument not separated from preceding token by whitespace.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at CMakeLists.txt:3930:
Syntax Warning in cmake code at column 400
Argument not separated from preceding token by whitespace.
This warning is for project developers. Use -Wno-dev to suppress it.
– Configuring done
– Generating done
– Build files have been written to: /Users/fredrik/Documents/git/----/Builds/CLion/cmake-build-debug
I’m also experiencing this problem. I’m on Mac OS 10.14.2 and just updated to v5.4.3 from v5.4.2. I’m running 2018.3.4 of CLion, which bundles v 3.13.2 of CMake with it.
When I run the cmake command manually, I get the following output:
cmake --build /Users/ncthbrt/Throwaways/Builds/CLion/cmake-build-debug --target APP -j 4
[ 12%] Building CXX object CMakeFiles/APP.dir/Users/ncthbrt/Throwaways/Source/HyperSequenceLookAndFeel.cpp.o
[ 12%] Building CXX object CMakeFiles/APP.dir/Users/ncthbrt/Throwaways/Source/SourcePort.cpp.o
[ 12%] Building CXX object CMakeFiles/APP.dir/Users/ncthbrt/Throwaways/Source/SinkPort.cpp.o
[ 16%] Building CXX object CMakeFiles/APP.dir/Users/ncthbrt/Throwaways/Source/Connector.cpp.o
clangclang: : errorerror: : no input filesno input filesclang
:
error: no input files
clang: error: no input files
/bin/sh: -Wreorder -fvisibility-inlines-hidden: command not found
/bin/sh: -Wreorder -fvisibility-inlines-hidden: command not found
/bin/sh: -Wreorder -fvisibility-inlines-hidden: command not found
/bin/sh: -Wreorder -fvisibility-inlines-hidden: command not found
make[3]: *** [CMakeFiles/APP.dir/Users/ncthbrt/Throwaways/Source/Connector.cpp.o] Error 127
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [CMakeFiles/APP.dir/Users/ncthbrt/Throwaways/Source/SourcePort.cpp.o] Error 127
make[3]: *** [CMakeFiles/APP.dir/Users/ncthbrt/Throwaways/Source/HyperSequenceLookAndFeel.cpp.o] Error 127
make[3]: *** [CMakeFiles/APP.dir/Users/ncthbrt/Throwaways/Source/SinkPort.cpp.o] Error 127
make[2]: *** [CMakeFiles/APP.dir/all] Error 2
make[1]: *** [CMakeFiles/APP.dir/rule] Error 2
make: *** [APP] Error 2
This is fixed on the master and develop branches. It’ll be fixed in the website downloads too, we just need to wait for our CDN to be invalidated and refreshed.
However:
After building the Projucer and re-saving my project (That I built just an hour before that with 5.4.2) I got the same errors, and had to erase the builds folder and re-save before everything worked again.
So it seems like there’s some conflict with the old CMake build product there?