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

Gaia Clary gaia.clary at machinimatrix.org
Wed Nov 23 18:49:33 CET 2011


It works now like a charm!
Thank you for the quick response and fix :)

-gaia-

Am 23.11.2011 17:31, schrieb Brecht Van Lommel:
> I've committed a possible fix for this, please test :)
>
> Thanks,
> Brecht.
>
> On Wed, Nov 23, 2011 at 4:17 PM, Gaia Clary
> <gaia.clary at machinimatrix.org>  wrote:
>> 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'
>>
>>
>> _______________________________________________
>> Bf-committers mailing list
>> Bf-committers at blender.org
>> http://lists.blender.org/mailman/listinfo/bf-committers
>>
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers



More information about the Bf-committers mailing list