[Bf-committers] CMAKE - 2 bugs on win32

sfogoros sfogoros at att.net
Tue Jun 5 07:25:57 CEST 2007


Oh, I guess I should have said this is from the 2.44 release tree. It's 
not configured for python25 as far as I know.

Steve

Nathan Letwory wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> sfogoros wrote:
>   
>> Platform: windows 2003svr, vc2005ce, CMake (WIN32) config
>>
>> 1) Debug solution fails to load correct python library. Release and 
>> Debug solutions reference python24.dll but creator copies python24_D.dll 
>> on Debug solution. My temporary fix is SET(PYTHON_LIB python24_d) in 
>> blender\CMakeLists.txt and re-run CMake when Debug solution is needed.
>>
>> blender\CMakeLists.txt
>>    SET(PYTHON_LIB python24)
>>
>> blender\source\creator\CMakeLists.txt
>>     COMMAND if $\(ConfigurationName\)==Debug copy /Y 
>> \"${WIN_LIBDIR}\\python\\lib\\python24_D.dll\" \"$\(TargetDir\)\\\"
>>     COMMAND if NOT $\(ConfigurationName\)==Debug copy /Y 
>> \"${WIN_LIBDIR}\\python\\lib\\python24.dll\" \"$\(TargetDir\)\\\"
>>     
>
> Make sure you build against python 2.5
>
> /Nathan
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (MingW32)
>
> iD8DBQFGZPNCRnS9XhVfakkRAhKcAKCaSgSVqht99kDPv/us0E/G7GJDigCfWgBW
> vegwZlL9QC6w38S//FTRwmg=
> =QD+3
> -----END PGP SIGNATURE-----
> _______________________________________________
> 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