Problems compiling 83.0

Problems compiling 83.0

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

Post Reply
User avatar
very_bad_soldier
Posts: 1397
Joined: 20 Feb 2007, 01:10

Problems compiling 83.0

Post by very_bad_soldier »

When I try to compile spring 83.0 on Debian Lenny (32bit) I get the following error:
http://pastebin.com/mnVMX2yL

I did not set special configure options (I pointed to the include path for freetype manually though).

This file mentioned in the error is there:

Code: Select all

/root/spring_83.0/rts/build/cmake/UtilVersion.cmake
Any ideas what could be wrong?

BTW:
The Ubuntu packages do not work for me cause of different boost versions.
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: Problems compiling 83.0

Post by hoijui »

i guess this has to do with your version of CMake... at least that is the only thing i could imagine. can you please give the output of "cmake --version"?

as a temporary fix, just remove the extra parenthesis, like in this commit:
https://github.com/spring/spring/commit ... 55296fa6ff
i don't know why i put them there, and why they only fail for you.
User avatar
very_bad_soldier
Posts: 1397
Joined: 20 Feb 2007, 01:10

Re: Problems compiling 83.0

Post by very_bad_soldier »

Thanks hoi. I tried that but I have now another error:
http://pastebin.com/DQEagRkt

I bet its easy too fix. Too bad I have no experience with cmake (besides using it when it works fine) so I cant fix it myself, sorry :/

Thats my cmake version:

Code: Select all

luke:~/spring_83.0# cmake --version
cmake version 2.6-patch 0
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: Problems compiling 83.0

Post by hoijui »

hmm...
FindGit.cmake should come with CMake, but it does not with 2.6, as it seems. i would strongly recommend to use at least CMake 2.6.3, for other reasons too. i guess we make that a hard requirement again for next release.
User avatar
very_bad_soldier
Posts: 1397
Joined: 20 Feb 2007, 01:10

Re: Problems compiling 83.0

Post by very_bad_soldier »

Again thanks hoi. Works fine now :-)

Code: Select all

[100%] Built target spring-dedicated
I just used latest cmake and it works fine now. I downloaded the binary package from cmake.org and used it (even without installing it into my system).
Post Reply

Return to “Help & Bugs”