Changes

Jump to navigation Jump to search
12 bytes added ,  08:46, 1 August 2016
:# Run ''./bootstrap.sh'' then b2.exe and bjam.exe will be built
:# 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
* Build PyTave
::: ''--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.
:# 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 ===

Navigation menu