[Bf-committers] r42085: cmake build on windows WITH_CYCLES enabled fails (for me)

Gaia Clary gaia.clary at machinimatrix.org
Wed Nov 23 16:17:32 CET 2011


Hi.

when i try to build using cmake on windows, then i get 2 errors:

cl : Command line error D8016 : '/Ox' and '/RTC1' command-line options 
are incompatible
109>LINK : fatal error LNK1104: cannot open file 
'..\..\lib\Debug\cycles_kernel.lib'

I can build just fine when i disable WITH_CYCLES

========================================================================
Here is my setup:

- Windows-7 64 bit.
- visual c++ 2008 Express Edition

========================
Test 1: Build without cycles:
========================

Cmake shows these changes:

Commandline options:

-DCMAKE_INSTALL_PREFIX:PATH="C:/Program Files (x86)/Blender" 
-DCMAKE_CONFIGURATION_TYPES:STRING="Debug;Release;MinSizeRel;RelWithDebInfo" 
-DWITH_CYCLES:BOOL="0"


Cache file:

CMAKE_INSTALL_PREFIX:PATH=C:/Program Files (x86)/Blender

CMAKE_CONFIGURATION_TYPES:STRING=Debug;Release;MinSizeRel;RelWithDebInfo

WITH_CYCLES:BOOL=0


I build -> build INSTALL

and get a working blender executable


========================
Test 2: Build with cycles:
========================


Cmake shows these changes:

Commandline options:

-DCMAKE_INSTALL_PREFIX:PATH="C:/Program Files (x86)/Blender" 
-DCMAKE_CONFIGURATION_TYPES:STRING="Debug;Release;MinSizeRel;RelWithDebInfo" 
-DWITH_CYCLES:BOOL="1"


Cache file:

CMAKE_INSTALL_PREFIX:PATH=C:/Program Files (x86)/Blender

CMAKE_CONFIGURATION_TYPES:STRING=Debug;Release;MinSizeRel;RelWithDebInfo

WITH_CYCLES:BOOL=1


I build -> build INSTALL

and get 2 errors:

cl : Command line error D8016 : '/Ox' and '/RTC1' command-line options 
are incompatible
109>LINK : fatal error LNK1104: cannot open file 
'..\..\lib\Debug\cycles_kernel.lib'




More information about the Bf-committers mailing list