[Bf-committers] Build Errors on Windows with MSVC2013

Joshua Leung aligorith at gmail.com
Wed May 18 07:24:51 CEST 2016


Hi,

It looks like one of the recent code cleanups in the CMake files may have
broken compiling on Windows with MSVC2013.  I'm getting heaps of random
failures with stuff like:

C:\Program Files
(x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(341,5):
error MSB6001: Invalid comma
nd line switch for "CL.exe". The value [BUILD_LINKFLAGS="/MACHINE:X64
/OPT:NOREF /SUBSYSTEM:CONSOLE] contains an odd nu
mber of double-quote characters. Only even numbers of literal double-quote
characters are acceptable to command line to
ols. [C:\blenderdev\master2\build\source\creator\buildinfoobj.vcxproj]


I managed to get it compiling again by doing getting everything on one line
again on line 1331 of blender/CMakeLists.txt

Obviously that isn't really that nice, so if any cmake gurus have any ideas
on how else we can fix this, that would be great :)

Cheers,
Joshua


More information about the Bf-committers mailing list