Hello, I'm trying to build OpenEXR on debug on windows, installed python
3.5, built boost 1..65.1 and used cmake to configure and make, however if I
set the python library to python35.lib the build complain I'm missing
python35_d.lib, if I set the library to python35_d.lib it complains I'm
missing python35.lib... Any pointers? Im a bit lost.

boost building:
user-config.jam:
using python
  : 3.5
  : C:/Python35/python.exe
  : C:/Python35/include
  : C:/Python35/libs
  : <python-debugging>off
  ;
using python
  : 3.5
  : C:/Python35/python.exe
  : C:/Python35/include
  : C:/Python35/libs
  : <python-debugging>on
  ;

I've used two command lines for boost, neither works towards getting
OpenEXR to build:
b2 --build-dir=S:/projects/boost/builds/master/buildv2 toolset=msvc
--build-type=complete
--stagedir=S:/projects/boost/builds/master/output/Debug
--prefix=S:/projects/boost/builds/master/output/Debug
--user-config=../../builds/master/user-config.jam --with-regex
--with-date_time --with-atomic --with-thread --with-filesystem
--with-python python-debugging=off threading=multi variant=debug
link=shared address-model=64 install

b2 --build-dir=S:/projects/boost/builds/master/buildv2 toolset=msvc
--build-type=complete
--stagedir=S:/projects/boost/builds/master/output/Debug
--prefix=S:/projects/boost/builds/master/output/Debug
--user-config=../../builds/master/user-config.jam --with-regex
--with-date_time --with-atomic --with-thread --with-filesystem
--with-python python-debugging=on define=BOOST_PYTHON_DEBUG threading=multi
variant=debug link=shared address-model=64 install

I'm then using this for OpenEXR, if I dont add boost/python then I can
build, but then I don't have boost/python. If I have python35.lib I fail
missing python35_d.lib, and viceversa:
cmake --check-system-vars -DCMAKE_SYSTEM_VERSION=10.0.17763.0
-DOPENEXR_BUILD_STATIC=ON -DBUILD_SHARED_LIBS=ON -DWIN32=ON
-DZLIB_INCLUDE_DIR="S:/projects/zlib/builds/master/output/Debug/include"
-DZLIB_LIBRARY="S:/projects/zlib/builds/master/output/Debug/lib/zlibd.lib"
-DOPENEXR_BUILD_PYTHON_LIBS=ON -DOPENEXR_PYTHON_MAJOR=3
-DOPENEXR_PYTHON_MINOR= -DPYTHON_LIBRARY="C:/Python35/libs/python35_d.lib"
-DPYTHON_INCLUDE_DIR="C:/Python35/include"
-DPYTHON_EXECUTABLE="C:/Python35/python.exe" -DBOOST_DEBUG_PYTHON=ON
-DBoost_NO_BOOST_CMAKE=ON
-DBOOST_INCLUDEDIR="S:/projects/boost/builds/master/output/Debug/include"
-DBOOST_LIBRARYDIR="S:/projects/boost/builds/master/output/Debug/lib"
-DCMAKE_INSTALL_PREFIX="S:/projects/openexr/builds/master/output/Debug" -G
"Visual Studio 15 2017 Win64" -T v141 ../../worktrees/master
_______________________________________________
Openexr-devel mailing list
Openexr-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/openexr-devel

Reply via email to