When i try to do autoreconf -i && ./configure 'CXX=g++-4.1' && make i get
when i google for this problem, i often find the answer "you're missing pack XY", but it seams as i have all those packs. what could cause this problem? thanks for help
btw: how can i use the [code]-BBcode?
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for C++ compiler default output file name...
configure: error: in `/home/martin/openclonk':
configure: error: C++ compiler cannot create executables
See `config.log' for more details.
when i google for this problem, i often find the answer "you're missing pack XY", but it seams as i have all those packs. what could cause this problem? thanks for help
btw: how can i use the [code]-BBcode?
Attachment: config.log (7k)
Allready tried to configure with CMake? Automake is actually just kept in the repo for the Anjuta IDE which requires it and is not supported by CMake yet.
As MC said, CMake is currently the preferred build system; also you can now build OpenClonk with g++ 4.3, so if that's your default compiler, you don't need to set the CXX var anymore.
Edit:
[tt][/tt]
Edit:
>btw: how can i use the [code]-BBcode?
[tt][/tt]
You need either g++-4.1 or use the alternative, namely 'CXX=g++ -std=gnu++0x'. It also should work without the CXX parameter, I'll update the README.
Thanks for your help, looks a bit better now, but i get now errors (while compiling) like:
Any ideas?
Edit: I used
src/game/script/C4Script.cpp:5564: Fehler: keine passende Funktion für Aufruf von »C4ValueConv<Nillable<C4ID> >::ToC4V(Nillable<C4ID>)«
Any ideas?
Edit: I used
autoreconf -i && ./configure 'CXX=g++ -sdt=gnu++0x' && make
Attachment: config.log (39k)
Now i downloaded the actual source and now it works. thank you for your help, to all of you 3.
Is this due to a compiler error or is the actual version very buggy? for example:
- i get stuck all the time
- the clonk wants to climb, when there's no reason for climbing
- i "drown" often in the ground (the clonk gets pulled to the lower right corner, althoungt hes IN the ground).
- when i want to leave a round, i leave the whole game, independent of leaving-method (giving up or via esc.)
- i get stuck all the time
- the clonk wants to climb, when there's no reason for climbing
- i "drown" often in the ground (the clonk gets pulled to the lower right corner, althoungt hes IN the ground).
- when i want to leave a round, i leave the whole game, independent of leaving-method (giving up or via esc.)
Do you use the planet/ subdirectory as the path for your executable?
> - when i want to leave a round, i leave the whole game, independent of leaving-method (giving up or via esc.)
This is a known bug, but shouldn't happen outside of debug builds (assertion failure).
Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill