Cannot build Juce project in CLion

projucer
#1

Cannot build Juce project in CLion

Juce Version: v5.4.3
Error Message:
Cannot get compiler information:
Compiler exited with error code 1: /Library/Developer/CommandLineTools/usr/bin/c++ -xc++ -DAU_EXPORTS -DDEBUG=1 -DJUCER_XCODE_MAC_F6D2F4CF=1 -DJUCE_APP_VERSION=1.0.0 -DJUCE_APP_VERSION_HEX=0x10000 -DJucePlugin_Build_AAX=0 -DJucePlugin_Build_AU=1 -DJucePlugin_Build_AUv3=0 -DJucePlugin_Build_RTAS=0 -DJucePlugin_Build_Standalone=0 -DJucePlugin_Build_Unity=0 -DJucePlugin_Build_VST3=0 -DJucePlugin_Build_VST=0 -D_DEBUG=1 -I/Applications/JUCE/modules/juce_audio_processors/format_types/VST3_SDK -I/Users/hw/Development/juce/Plugin/clionTest/Builds/CLion/…/…/JuceLibraryCode -I/Applications/JUCE/modules -I/Applications/JUCE/modules/juce_audio_plugin_client -fno-common -Wswitch -Wunused-variable -Wparentheses -Wnon-virtual-dtor -Wshorten-64-to-32 -Wundeclared-selector -Wuninitialized -Wunused-function -Wbool-conversion -Wcomma -Wconstant-conversion -Wempty-body -Wenum-conversion -Winfinite-recursion -Wint-conversion -Wrange-loop-analysis -Wstrict-prototypes -Wmove -Wunreachable-code -Wduplicate-method-match ;-Wreorder\ -fvisibility-inlines-hidden -g -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -fPIC -mmacosx-version-min=10.11 -O0 -stdlib=libc++ -std=c++14 -fpch-preprocess -v -dD -E
Apple LLVM version 10.0.0 (clang-1000.10.44.4)
Target: x86_64-apple-darwin18.2.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
clang: error: no such file or directory: ‘;-Wreorder -fvisibility-inlines-hidden’

0 Likes

#2

This has been fixed on the master branch and on the develop branch of https://github.com/WeAreROLI/JUCE. This fix is not part of the archives that you can download from https://shop.juce.com/get-juce/download though.

0 Likes

#3

It should be fixed in the juce.com downloads too!

1 Like