Latest Posts

Topic: Debugging Widelands on Windows

se5a

Joined: 2011-11-26, 10:04
Posts: 28
Ranking
Pry about Widelands
Posted at: 2013-01-22, 12:38

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, 12:40

Top Quote
abtools

Topic Opener
Joined: 2010-01-08, 15:31
Posts: 31
Ranking
Pry about Widelands
Location: Munich
Posted at: 2013-01-22, 13:01

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


Top Quote
se5a

Joined: 2011-11-26, 10:04
Posts: 28
Ranking
Pry about Widelands
Posted at: 2013-01-22, 15:15

so yes that is correct. that's how I had set it. but it cannot find the libs.


Top Quote
abtools

Topic Opener
Joined: 2010-01-08, 15:31
Posts: 31
Ranking
Pry about Widelands
Location: Munich
Posted at: 2013-01-22, 15:26

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


Top Quote
se5a

Joined: 2011-11-26, 10:04
Posts: 28
Ranking
Pry about Widelands
Posted at: 2013-01-22, 18:44

wait what? I don't have a "Boost_LIBRAY_DIRS" entry.


Top Quote
se5a

Joined: 2011-11-26, 10:04
Posts: 28
Ranking
Pry about Widelands
Posted at: 2013-01-23, 00:03

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, 02:23

Top Quote
se5a

Joined: 2011-11-26, 10:04
Posts: 28
Ranking
Pry about Widelands
Posted at: 2013-01-23, 02:11

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...


Top Quote
se5a

Joined: 2011-11-26, 10:04
Posts: 28
Ranking
Pry about Widelands
Posted at: 2013-01-23, 05:50

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.


Top Quote
se5a

Joined: 2011-11-26, 10:04
Posts: 28
Ranking
Pry about Widelands
Posted at: 2013-01-24, 02:18

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, 20:57

Top Quote
se5a

Joined: 2011-11-26, 10:04
Posts: 28
Ranking
Pry about Widelands
Posted at: 2013-01-28, 05:31

anyone? anyone at all?

I'm pretty clueless with C++...


Top Quote