Not logged inOpenClonk Forum
Up Topic General / Help and Questions / Compiler Error, Linux
- - By tinu [ch] Date 2009-08-16 11:16 Edited 2009-08-17 13:55
When i try to do autoreconf -i && ./configure 'CXX=g++-4.1' && make i get

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)
Parent - By MrBeast [de] Date 2009-08-16 11:36
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.
Reply
Parent - By Isilkor Date 2009-08-16 12:19 Edited 2009-08-17 13:56
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:

>btw: how can i use the [code]-BBcode?


[tt][/tt]
Reply
Parent - By Günther [de] Date 2009-08-17 12:37
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.
Reply
Parent - - By tinu [ch] Date 2009-08-17 14:14
Thanks for your help, looks a bit better now, but i get now errors (while compiling) like:

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)
Parent - - By tinu [ch] Date 2009-08-17 14:43
Now i downloaded the actual source and now it works. thank you for your help, to all of you 3.
Parent - - By tinu [ch] Date 2009-08-17 15:15
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.)
Parent - - By Zapper [de] Date 2009-08-17 16:39
Do you use the planet/ subdirectory as the path for your executable?
Parent - By tinu [ch] Date 2009-08-17 16:42
yes, shouldnt i?
Parent - By Isilkor Date 2009-08-17 16:52

> - 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).
Reply
Parent - By Knoni [ca] Date 2009-08-18 07:41
I have the same problems. When I want to jump, I'll diving down to the ground. Build on Debian
Up Topic General / Help and Questions / Compiler Error, Linux

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill