So this is the next question for Visual Studio 2015 Update 1, clang error
The error message I get is
clang.exe: error: cannot specify -o when generating multiple output files
Basically, the Hans Passant workaround for disabling precompiled headers did not work for me. I still see the error. Anyone have any ideas on this?
My VS-generated command: -fpic -std=c++1y -fstack-protector -x c++ "Debug\" -Wall -fno-strict-aliasing -ffunction-sections -I "c:\SDKs\VST3 SDK" -I "c:\SDKs\vstsdk2.4" -I "....\JuceLibraryCode" -I "......\JUCE\modules" -g2 -gdwarf-2 -O0 -x c++-header -D "_CRT_SECURE_NO_WARNINGS" -D "WIN32" -D "_WINDOWS" -D "DEBUG" -D "_DEBUG" -D "JUCER_VS2010_78A501D=1" -D "JUCE_APP_VERSION=1.0.0" -D "JUCE_APP_VERSION_HEX=0x10000" -D "_WINDLL" -frtti -fomit-frame-pointer -fdata-sections -fno-ms-compatibility -std=c11 -fexceptions -o "Debug\" -fms-extensions -fno-short-enums
I am trying to create a C ++ JUCE audio plugin on Windows with Clang, because I ended up using a good amount of C ++ 14 features when developing it on a Mac and did not realize that other compilers are slightly behind in standard C ++ support. JUCE applications provide cross-platform support for a VS / Xcode or Makefile project file generated from an Introjucer / Projucer application. If I create a new project using the Cross-Platform C ++ VS2015 DLL with the Clang 3.7 project template, everything compiles fine. But using the VS project file created by JUCE, and then switching project preferences to using the Clang 3.7 project tools, I run this error.
source share