Re: Build 2.3.0 with python debug
Nick Porcino <[email protected]> Thu, 28 Feb 2019 06:58:37 +0000
| Newsgroups | gmane.comp.video.openexr.devel |
|---|---|
| Message-ID | <DM5PR16MB1594D1E66B8467063E26912FA4750@DM5PR16MB1594.namprd16.prod.outlook.com> |
--===============3132513375899865987== Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_DM5PR16MB1594D1E66B8467063E26912FA4750DM5PR16MB1594namp_" --_000_DM5PR16MB1594D1E66B8467063E26912FA4750DM5PR16MB1594namp_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable -DOPENEXR_PYTHON_MINOR should be 5 in your case, not blank. When you built = boost, did you get both booth_python-vc141-mt-1_65_1.lib, and the -mt-gd- v= ariants? You shouldn=92t need to specifiy Zlib and boost manually, it shoul= d be sufficient to have S:/projects/zlib/.../Debug and s:/projects/boost/bu= ilds/master/output/Debug in your -DCMAKE_PREFIX_PATH variable, and allow th= e Find scripts to discover them. You shouldn=92t have to set any of the -DB= OOST variables. After you generate, building using the cmake build command = with the Debug target should be sufficient. Hope this helps a bit, maybe check some of these things and report back? Get Outlook for iOS<https://aka.ms/o0ukef> ________________________________ From: Openexr-devel <[email protected]= > on behalf of Giancarlo Rivas <[email protected]> Sent: Monday, February 25, 2019 11:45 AM To: [email protected] Subject: [Openexr-devel] Build 2.3.0 with python debug 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 s= et the python library to python35.lib the build complain I'm missing python= 35_d.lib, if I set the library to python35_d.lib it complains I'm missing p= ython35.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 OpenEX= R to build: b2 --build-dir=3DS:/projects/boost/builds/master/buildv2 toolset=3Dmsvc --b= uild-type=3Dcomplete --stagedir=3DS:/projects/boost/builds/master/output/De= bug --prefix=3DS:/projects/boost/builds/master/output/Debug --user-config= =3D../../builds/master/user-config.jam --with-regex --with-date_time --with= -atomic --with-thread --with-filesystem --with-python python-debugging=3Dof= f threading=3Dmulti variant=3Ddebug link=3Dshared address-model=3D64 instal= l b2 --build-dir=3DS:/projects/boost/builds/master/buildv2 toolset=3Dmsvc --b= uild-type=3Dcomplete --stagedir=3DS:/projects/boost/builds/master/output/De= bug --prefix=3DS:/projects/boost/builds/master/output/Debug --user-config= =3D../../builds/master/user-config.jam --with-regex --with-date_time --with= -atomic --with-thread --with-filesystem --with-python python-debugging=3Don= define=3DBOOST_PYTHON_DEBUG threading=3Dmulti variant=3Ddebug link=3Dshare= d address-model=3D64 install I'm then using this for OpenEXR, if I dont add boost/python then I can buil= d, but then I don't have boost/python. If I have python35.lib I fail missin= g python35_d.lib, and viceversa: cmake --check-system-vars -DCMAKE_SYSTEM_VERSION=3D10.0.17763.0 -DOPENEXR_B= UILD_STATIC=3DON -DBUILD_SHARED_LIBS=3DON -DWIN32=3DON -DZLIB_INCLUDE_DIR= =3D"S:/projects/zlib/builds/master/output/Debug/include" -DZLIB_LIBRARY=3D"= S:/projects/zlib/builds/master/output/Debug/lib/zlibd.lib" -DOPENEXR_BUILD_= PYTHON_LIBS=3DON -DOPENEXR_PYTHON_MAJOR=3D3 -DOPENEXR_PYTHON_MINOR=3D -DPYT= HON_LIBRARY=3D"C:/Python35/libs/python35_d.lib" -DPYTHON_INCLUDE_DIR=3D"C:/= Python35/include" -DPYTHON_EXECUTABLE=3D"C:/Python35/python.exe" -DBOOST_DE= BUG_PYTHON=3DON -DBoost_NO_BOOST_CMAKE=3DON -DBOOST_INCLUDEDIR=3D"S:/projec= ts/boost/builds/master/output/Debug/include" -DBOOST_LIBRARYDIR=3D"S:/proje= cts/boost/builds/master/output/Debug/lib" -DCMAKE_INSTALL_PREFIX=3D"S:/proj= ects/openexr/builds/master/output/Debug" -G "Visual Studio 15 2017 Win64" -= T v141 ../../worktrees/master --_000_DM5PR16MB1594D1E66B8467063E26912FA4750DM5PR16MB1594namp_ Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable <html> <head> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DWindows-1= 252"> </head> <body> <div> <div> <div> <div style=3D"direction: ltr;">-DOPENEXR_PYTHON_MINOR should be 5 in your c= ase, not blank. When you built boost, did you get both booth_python-vc141-m= t-1_65_1.lib, and the -mt-gd- variants? You shouldn=92t need to specifiy Zl= ib and boost manually, it should be sufficient to have S:/projects/zlib/.../Debug and s:/projects/boost/builds= /master/output/Debug in your -DCMAKE_PREFIX_PATH variable, and allow the Fi= nd scripts to discover them. You shouldn=92t have to set any of the -DBOOST= variables. After you generate, building using the cmake build command with the Debug target should be sufficient.<= /div> <div><br> </div> <div style=3D"direction: ltr;">Hope this helps a bit, maybe check some of t= hese things and report back?</div> </div> <div><br> </div> <div class=3D"ms-outlook-ios-signature">Get <a href=3D"https://aka.ms/o0uke= f">Outlook for iOS</a></div> </div> <div> </div> <hr style=3D"display:inline-block;width:98%" tabindex=3D"-1"> <div id=3D"divRplyFwdMsg" dir=3D"dir=3D"ltr""><font face=3D"Calib= ri, sans-serif" style=3D"font-size:11pt" color=3D"#000000"><b>From:</b> Ope= nexr-devel <openexr-devel-bounces+[email protected]&g= t; on behalf of Giancarlo Rivas <[email protected]><br> <b>Sent:</b> Monday, February 25, 2019 11:45 AM<br> <b>To:</b> [email protected]<br> <b>Subject:</b> [Openexr-devel] Build 2.3.0 with python debug <div> </div> </font></div> <meta content=3D"text/html; charset=3Dutf-8"> <div dir=3D"ltr"> <div dir=3D"ltr"> <div dir=3D"ltr"> <div dir=3D"ltr"> <div dir=3D"ltr"> <div>Hello, I'm trying to build OpenEXR on debug on windows, installed pyth= on 3.5, built boost 1..65.1 and used cmake to configure and make, however i= f I set the python library to python35.lib the build complain I'm missing p= ython35_d.lib, if I set the library to python35_d.lib it complains I'm missing python35.lib... Any pointers? I= m a bit lost.<br> </div> <div><br> </div> <div>boost building:</div> <div>user-config.jam:</div> <div>using python<br> : 3.5<br> : C:/Python35/python.exe<br> : C:/Python35/include<br> : C:/Python35/libs<br> : <python-debugging>off<br> ;<br> using python<br> : 3.5<br> : C:/Python35/python.exe<br> : C:/Python35/include<br> : C:/Python35/libs<br> : <python-debugging>on<br> ;</div> <div><br> </div> <div>I've used two command lines for boost, neither works towards getting O= penEXR to build:<br> </div> <div>b2 --build-dir=3DS:/projects/boost/builds/master/buildv2 toolset=3Dmsv= c --build-type=3Dcomplete --stagedir=3DS:/projects/boost/builds/master/outp= ut/Debug --prefix=3DS:/projects/boost/builds/master/output/Debug --user-con= fig=3D../../builds/master/user-config.jam --with-regex --with-date_time --with-atomic --with-thread --with-filesystem --with-pyth= on python-debugging=3Doff threading=3Dmulti variant=3Ddebug link=3Dshared a= ddress-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 toolset=3Dmsv= c --build-type=3Dcomplete --stagedir=3DS:/projects/boost/builds/master/outp= ut/Debug --prefix=3DS:/projects/boost/builds/master/output/Debug --user-con= fig=3D../../builds/master/user-config.jam --with-regex --with-date_time --with-atomic --with-thread --with-filesystem --with-pyth= on python-debugging=3Don define=3DBOOST_PYTHON_DEBUG threading=3Dmulti vari= ant=3Ddebug link=3Dshared address-model=3D64 install</div> <div><br> </div> <div>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 m= issing python35_d.lib, and viceversa:</div> <div>cmake --check-system-vars -DCMAKE_SYSTEM_VERSION=3D10.0.17763.0 -DOPEN= EXR_BUILD_STATIC=3DON -DBUILD_SHARED_LIBS=3DON -DWIN32=3DON -DZLIB_INCLUDE_= DIR=3D"S:/projects/zlib/builds/master/output/Debug/include" -DZLI= B_LIBRARY=3D"S:/projects/zlib/builds/master/output/Debug/lib/zlibd.lib= " -DOPENEXR_BUILD_PYTHON_LIBS=3DON -DOPENEXR_PYTHON_MAJOR=3D3 -DOPENEXR_PYTH= ON_MINOR=3D -DPYTHON_LIBRARY=3D"C:/Python35/libs/python35_d.lib" = -DPYTHON_INCLUDE_DIR=3D"C:/Python35/include" -DPYTHON_EXECUTABLE= =3D"C:/Python35/python.exe" -DBOOST_DEBUG_PYTHON=3DON -DBoost_NO_= BOOST_CMAKE=3DON -DBOOST_INCLUDEDIR=3D"S:/projects/boost/builds/master/output/Debug/in= clude" -DBOOST_LIBRARYDIR=3D"S:/projects/boost/builds/master/outp= ut/Debug/lib" -DCMAKE_INSTALL_PREFIX=3D"S:/projects/openexr/build= s/master/output/Debug" -G "Visual Studio 15 2017 Win64" -T v= 141 ../../worktrees/master<br> </div> </div> </div> </div> </div> </div> </div> </body> </html> --_000_DM5PR16MB1594D1E66B8467063E26912FA4750DM5PR16MB1594namp_-- --===============3132513375899865987== 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 --===============3132513375899865987==--