[Bf-committers] CMAKE - 2 bugs on win32

Nathan Letwory jesterking at letwory.net
Tue Jun 5 07:23:14 CEST 2007


-----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-----


More information about the Bf-committers mailing list