Build 2.3.0 with python debug

Giancarlo Rivas <[email protected]> Sat, 23 Feb 2019 20:46:55 -0500
Newsgroups gmane.comp.video.openexr.devel
Message-ID <CABQJ3qz59QT-3j2B9q18Zxqx5tPLbvUuqk=ZEm9bVnBM-TbFWA@mail.gmail.com>
--===============9095632955426469431==
Content-Type: multipart/alternative; boundary="0000000000007bfce805829a005c"

--0000000000007bfce805829a005c
Content-Type: text/plain; charset="UTF-8"

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

--0000000000007bfce805829a005c
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div di=
r=3D"ltr"><div>Hello, I&#39;m trying to build OpenEXR on debug on windows, =
installed python 3.5, built boost 1..65.1 and used cmake to configure and m=
ake, however if I set the python library to python35.lib the build complain=
 I&#39;m missing python35_d.lib, if I set the library to python35_d.lib it =
complains I&#39;m missing python35.lib... Any pointers? Im a bit lost.<br><=
/div><div><br></div><div>boost building:</div><div>user-config.jam:</div><d=
iv>using python<br>=C2=A0 : 3.5<br>=C2=A0 : C:/Python35/python.exe<br>=C2=
=A0 : C:/Python35/include<br>=C2=A0 : C:/Python35/libs<br>=C2=A0 : &lt;pyth=
on-debugging&gt;off<br>=C2=A0 ;<br>using python<br>=C2=A0 : 3.5<br>=C2=A0 :=
 C:/Python35/python.exe<br>=C2=A0 : C:/Python35/include<br>=C2=A0 : C:/Pyth=
on35/libs<br>=C2=A0 : &lt;python-debugging&gt;on<br>=C2=A0 ;</div>
<div><br></div><div>I&#39;ve used two command lines for boost, neither work=
s towards getting OpenEXR to build:<br></div><div>b2=20
--build-dir=3DS:/projects/boost/builds/master/buildv2 toolset=3Dmsvc=20
--build-type=3Dcomplete=20
--stagedir=3DS:/projects/boost/builds/master/output/Debug=20
--prefix=3DS:/projects/boost/builds/master/output/Debug=20
--user-config=3D../../builds/master/user-config.jam --with-regex=20
--with-date_time --with-atomic --with-thread --with-filesystem=20
--with-python python-debugging=3Doff threading=3Dmulti variant=3Ddebug=20
link=3Dshared address-model=3D64 install</div>

</div><div dir=3D"ltr"><br></div><div dir=3D"ltr">
<div></div><div>b2 --build-dir=3DS:/projects/boost/builds/master/buildv2 to=
olset=3Dmsvc --build-type=3Dcomplete --stagedir=3DS:/projects/boost/builds/=
master/output/Debug --prefix=3DS:/projects/boost/builds/master/output/Debug=
 --user-config=3D../../builds/master/user-config.jam --with-regex --with-da=
te_time --with-atomic --with-thread --with-filesystem --with-python python-=
debugging=3Don define=3DBOOST_PYTHON_DEBUG threading=3Dmulti variant=3Ddebu=
g link=3Dshared address-model=3D64 install</div><div><br></div><div>I&#39;m=
 then using this for OpenEXR, if I dont add boost/python then I can build, =
but then I don&#39;t have boost/python. If I have python35.lib I fail missi=
ng python35_d.lib, and viceversa:</div><div>cmake --check-system-vars -DCMA=
KE_SYSTEM_VERSION=3D10.0.17763.0 -DOPENEXR_BUILD_STATIC=3DON -DBUILD_SHARED=
_LIBS=3DON -DWIN32=3DON -DZLIB_INCLUDE_DIR=3D&quot;S:/projects/zlib/builds/=
master/output/Debug/include&quot; -DZLIB_LIBRARY=3D&quot;S:/projects/zlib/b=
uilds/master/output/Debug/lib/zlibd.lib&quot; -DOPENEXR_BUILD_PYTHON_LIBS=
=3DON -DOPENEXR_PYTHON_MAJOR=3D3 -DOPENEXR_PYTHON_MINOR=3D -DPYTHON_LIBRARY=
=3D&quot;C:/Python35/libs/python35_d.lib&quot; -DPYTHON_INCLUDE_DIR=3D&quot=
;C:/Python35/include&quot; -DPYTHON_EXECUTABLE=3D&quot;C:/Python35/python.e=
xe&quot; -DBOOST_DEBUG_PYTHON=3DON -DBoost_NO_BOOST_CMAKE=3DON -DBOOST_INCL=
UDEDIR=3D&quot;S:/projects/boost/builds/master/output/Debug/include&quot; -=
DBOOST_LIBRARYDIR=3D&quot;S:/projects/boost/builds/master/output/Debug/lib&=
quot; -DCMAKE_INSTALL_PREFIX=3D&quot;S:/projects/openexr/builds/master/outp=
ut/Debug&quot; -G &quot;Visual Studio 15 2017 Win64&quot; -T v141 ../../wor=
ktrees/master<br></div>

</div></div></div></div></div>

--0000000000007bfce805829a005c--


--===============9095632955426469431==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Openexr-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/openexr-devel

--===============9095632955426469431==--