Editing User talk:Genuinelucifer
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 172: | Line 172: | ||
:# Run ''./bootstrap.sh'' then b2.exe and bjam.exe will be built | :# Run ''./bootstrap.sh'' then b2.exe and bjam.exe will be built | ||
:# Compile source files and link object files to generate (shared) libraries. | :# Compile source files and link object files to generate (shared) libraries. | ||
:: ''./b2 install link=static,shared --with-python cflags='IC:/Python27_32/include' \'' | |||
:: ''cxxflags='-IC:/Python27_32/include' linkflags='-LC:/Python27_32/libs' \'' | |||
:: ''--prefix=/d/usr/Tatsu/program/Pytave/PytaveBuild/boost/mingw32/boost_1_16_inst \'' | |||
:: ''2>&1 | tee make.log'' | |||
:: cflags, cxxflags and linkflags are not required if youinstall python2.7 (32bit) to the default directory (C:\Python27). | |||
:: ''link=static,shared'' gives static and shared libraries | |||
:: ''--with-python'' builds only libboost_python. ''--prefix'' specifies install directory. | |||
:: ''2>&1 | tee make.log'' is added to memorize build process. | |||
:# copy (install dir )/lib/libboost_python-mgw49-mt-1_61.dll.a and rename it as libboost_python.dll.a | :# copy (install dir )/lib/libboost_python-mgw49-mt-1_61.dll.a and rename it as libboost_python.dll.a | ||
* Build PyTave | * Build PyTave | ||
Line 194: | Line 194: | ||
::: ''--with-boost='D:/usr/Tatsu/program/Pytave\/PytaveBuild/boost/mingw32/boost_1_16_inst''' | ::: ''--with-boost='D:/usr/Tatsu/program/Pytave\/PytaveBuild/boost/mingw32/boost_1_16_inst''' | ||
::: The build and host --build=i686-w64-mingw32 --host=i686-w64-mingw32 are set because many configure scripts mis-detect them when msys2 is 64bit. | ::: The build and host --build=i686-w64-mingw32 --host=i686-w64-mingw32 are set because many configure scripts mis-detect them when msys2 is 64bit. | ||
:# Execute ''make''. Build fails with | :# Execute ''make''. Build fails with ''warning: undefined symbols not allowed in i686-w64-mingw32 shared libraries; building static only'' and ''error: object name conflicts in archive: .libs/_pytave.lax/libpytave.a//d/usr/Tatsu/program/Pytave/PytaveBuild/Pytave/build32/./.libs/libpytave.a'' | ||
=== Conclusion === | === Conclusion === |