Changes between Initial Version and Version 1 of MussaglBuildWindows


Ignore:
Timestamp:
12/11/2006 04:01:11 PM (17 years ago)
Author:
king
Comment:

Windows build information

Legend:

Unmodified
Added
Removed
Modified
  • MussaglBuildWindows

    v1 v1  
     1== Buidling Mussa on Windows ==
     2
     3Building Mussa on Windows takes a bit of effort, which is why we provide pre-built binary installers. This section contains additional Windows specific information about building Mussa in windows.
     4
     5== Boost Libraries ==
     6
     7For some reason (haven't bothered to look into the details yet), boost builds some of the libraries with .lib, but mingw looks for .a, so, it's required to copy/rename a few libraries to have the .a extension. Below is a list of command prompt commands to make copies of the files needed by Mussa.
     8
     9{{{
     10copy C:\Boost\lib\libboost_filesystem-mgw-s.lib C:\Boost\lib\libboost_filesystem-mgw-s.a
     11copy C:\Boost\lib\libboost_program_options-mgw-s.lib C:\Boost\lib\libboost_program_options-mgw-s.a
     12copy C:\Boost\lib\libboost_serialization-mgw.lib C:\Boost\lib\libboost_serialization-mgw.a
     13copy C:\Boost\lib\libboost_unit_test_framework-mgw-s.lib C:\Boost\lib\libboost_unit_test_framework-mgw-s.a
     14}}}
     15
     16== Python Libraries ==
     17
     18Because boost python bindings haven't been updated to Python 2.5 yet, the Python features of Mussa still require Python 2.3 or Python 2.4. If you get an error such as:
     19
     20{{{
     21Linking CXX executable mussagl.exe
     22CMakeFiles/mussagl.dir/qui/mussagl.obj(.text+0xa56): In function `main':
     23C:/proj/mussa/qui/mussagl.cpp:102: undefined reference to `_imp__PyErr_Print'
     24CMakeFiles/mussagl.dir/qui/mussagl.obj(.text$_ZN5boost6python3api6objectC2Ev[boo
     25st::python::api::object::object()]+0x7): In function `ZN5boost6python6detail11up
     26cast_implI7_objectS3_EEPT0_PT_S5_':
     27C:/Boost/include/boost-1_33_1/boost/python/cast.hpp: undefined reference to `_im
     28p___Py_NoneStruct'
     29}}}
     30
     31It probably means you are trying to link against Python 2.5. Download Python 2.4 and tell cmake to use Python 2.4.