Topic: Debugging Widelands on Windows
se5a |
Posted at:
2013-01-22, 13:38 UTC+1.0
I set that to the boost root directory, as there is no include directory anywhere in the boost directory tree. setting it to the root it is able to find version.hpp so I figured this must be correct. heres a good example what my boost directory tree looks like: http://www.boost.org/doc/libs/1_50_0/more/getting_started/windows.html#the-boost-distribution
Edited:
2013-01-22, 13:40 UTC+1.0
![]() ![]() |
abtools Topic Opener |
Posted at:
2013-01-22, 14:01 UTC+1.0
Hello se5a, yes, that's correct. Just set it to the boost root dir. With "include dir" it is only meant the directory where the boost installation is located (= it's root dir). Best regards Andreas ![]() ![]() |
se5a |
Posted at:
2013-01-22, 16:15 UTC+1.0
so yes that is correct. that's how I had set it. but it cannot find the libs. ![]() ![]() |
abtools Topic Opener |
Posted at:
2013-01-22, 16:26 UTC+1.0
Hello se5a, sorry, but then I cannot help anymore: I just installed boost (in the installer you need to select additionally "Boost Signals" and, if you want to run unit tests, also "Boost Test (unit test framework)") and set the "Boost_INCLUDE_DIR" to C:/Program Files (x86)/boost" and the "Boost_LIBRARY_DIRS" to "C:/Program Files (x86)/boost/lib" (the last one should be set automatically). After that CMake "Configure" works correctly for me. Maybe you can try deleting your "build" directory to do a clean "Configure" again. At least I have no other idea what the problem may be otherwise. Best regards Andreas ![]() ![]() |
se5a |
Posted at:
2013-01-22, 19:44 UTC+1.0
wait what? I don't have a "Boost_LIBRAY_DIRS" entry. ![]() ![]() |
se5a |
Posted at:
2013-01-23, 01:03 UTC+1.0
ok found something funky... I'm using cmake 2.8.10.2 which is what the building widelands page links too. mxsscott pointed me to this when I was quering how cmake decided whether somethign was found or not: http://cmake.org/gitweb?p=cmake.git;a=blob;f=Modules/FindBoost.cmake;h=8d8b10c0f1d703c708df973084643f286e6bc974;hb=HEAD which is compleatly different from the module I found in my cmake... renamed the one I had and stuck the above one in there. aaand though I still have to specificaly point at the libs they do stick.
Edited:
2013-01-23, 03:23 UTC+1.0
![]() ![]() |
se5a |
Posted at:
2013-01-23, 03:11 UTC+1.0
ok got over the cmake obstacle now the 173 errors that VS throws when attemppting to build. I am trying vs2012 so I should maybe attempt 2010 first... ![]() ![]() |
se5a |
Posted at:
2013-01-23, 06:50 UTC+1.0
and so much for that idea. I'm getting the whole incompatibilty between cmake, win7 and VS10 (see here: http://public.kitware.com/Bug/view.php?id=13343#bugnotes ) I don't see any work around for this either. its said to be inconsistent, but I cant get past this problem at all. ![]() ![]() |
se5a |
Posted at:
2013-01-24, 03:18 UTC+1.0
ok so fixed THAT problem. ended up being that I needed VS C++ SP1 (thought VS was all up to date, apparently not) get 108 errors many of which are error MSB6006: "cmd.exe" exited with code 9009. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets 151 and error MSB6006: "cmd.exe" exited with code 1. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets 151 VS2012 gave the same errors here. something made me think these were language related, forget what gave me that idea, but it also made me think maybe gettext was the problem. but I do have that folder set in the project property executable directorys.
Edited:
2013-01-24, 21:57 UTC+1.0
![]() ![]() |
se5a |
Posted at:
2013-01-28, 06:31 UTC+1.0
anyone? anyone at all? I'm pretty clueless with C++... ![]() ![]() |