Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changes between Version 9 and Version 10 of dev/WindowsMinGW/troubleshooting


Ignore:
Timestamp:
Sep 25, 2013, 9:26:53 PM (11 years ago)
Author:
landauf
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • dev/WindowsMinGW/troubleshooting

    v9 v10  
    6969In this case you didn't put the dependency package into the right directory. Please refer to [wiki:WindowsMinGW/current#Dependencies the guide] for more information about the dependency package and where to place it. Also make sure that you don't use two nested dependency directories (i.e. {{{/home/username/dependencies/dependencies}}}) but just one.
    7070
     71=== Q: CMake complains about missing boost libraries ===
     72
     73A: You probably get an error like this:
     74{{{
     75$ cm
     76[...]
     77-- *** Build type is Debug ***
     78CMake Error at [...]/FindBoost.cmake:xxxx (message):
     79  Unable to find the requested Boost libraries.
     80[...]
     81  The following Boost libraries could not be found:
     82
     83          boost_thread
     84          boost_filesystem
     85          boost_system
     86          boost_date_time
     87[...]
     88}}}
     89In this case the boost libraries were probably built for a different version of MinGW and thus have a different name (e.g. {{{boost_thread-mgw45-mt-1_46_1}}} instead of {{{boost_thread-mgw47-mt-1_46_1}}}). Enable debugging of the Find-Boost-Script and look for the expected library name:
     90{{{
     91$ cm -DBoost_DEBUG=true
     92[...]
     93-- [ [...]/FindBoost.cmake:xxxx ] Searching for THREAD_LIBRARY_RELEASE: boost_thread-mgw47-mt-1_46_1;[...]
     94[...]
     95}}}
     96Go to the dependencies directory and rename the boost libraries accordingly (or build new dependencies using the correct version of MinGW).
     97
    7198=== Q: CMake complains about a missing data directory ===
    7299