I'm trying to build VegaStrike CVS (today) on FreeBSD 5.4, python 2.4.1 but get error. Compiler is autoselected by configure g++.
# g++ -v
Using built-in specs.
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 3.4.2 [FreeBSD] 20040728
Error log:
if g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -DHAVE_SDL=1 -DSDL_WINDOWING=1 -I/usr/X11R6/include -I/usr/local
/include -I/usr/local/include -I/usr/local/include/python2.4 -DHAVE_PYTHON=1 -DUSE_BOOST_131=1 -I../../../
src/boost129 -I../../../src -pipe -O2 -ffast-math -falign-loops=2 -falign-jumps=2 -falign-functions=2 -I/u
sr/local/include/SDL11 -I/usr/local/include -D_REENTRANT -pthread -pipe -MT hard_coded_scripts.o -MD -MP -MF "
.deps/hard_coded_scripts.Tpo" -c -o hard_coded_scripts.o hard_coded_scripts.cpp; then mv -f ".deps/hard_coded
_scripts.Tpo" ".deps/hard_coded_scripts.Po"; else rm -f ".deps/hard_coded_scripts.Tpo"; exit 1; fi
In file included from ../../../src/boost129/boost/python/to_python_indirect.hpp:13,
from ../../../src/boost129/boost/python/converter/arg_to_python.hpp:11,
from ../../../src/boost129/boost/python/call.hpp:16,
from ../../../src/boost129/boost/python/object_core.hpp:13,
from ../../../src/boost129/boost/python/object.hpp:10,
from ../../../src/python/python_class.h:16,
from hard_coded_scripts.cpp:9:
../../../src/boost129/boost/python/object/instance.hpp:45: error: a casts to a type other than an integral or
enumeration type cannot appear in a constant-expression
../../../src/boost129/boost/python/object/instance.hpp:45: error: '->' cannot appear in a constant-expression
../../../src/boost129/boost/python/object/instance.hpp:45: error: `&' cannot appear in a constant-expression
In file included from ../../../src/boost129/boost/python/converter/registry.hpp:10,
from ../../../src/boost129/boost/python/converter/registered.hpp:9,
from ../../../src/boost129/boost/python/to_python_indirect.hpp:14,
from ../../../src/boost129/boost/python/converter/arg_to_python.hpp:11,
from ../../../src/boost129/boost/python/call.hpp:16,
from ../../../src/boost129/boost/python/object_core.hpp:13,
from ../../../src/boost129/boost/python/object.hpp:10,
from ../../../src/python/python_class.h:16,
from hard_coded_scripts.cpp:9:
../../../src/boost129/boost/python/converter/rvalue_from_python_data.hpp error: '->' cannot appear in a c
onstant-expression
../../../src/boost129/boost/python/converter/rvalue_from_python_data.hpp error: `&' cannot appear in a co
nstant-expression
../../../src/boost129/boost/python/converter/rvalue_from_python_data.hpp error: template argument 1 is in
valid
../../../src/boost129/boost/python/converter/rvalue_from_python_data.hpp error: ISO C++ forbids declarati
on of `type name' with no type
*** Error code 1
Stop in /usr/home/mishin/cvs/vegastrike_cvs_head/vegastrike/src/cmd/ai.
*** Error code 1
Stop in /usr/home/mishin/cvs/vegastrike_cvs_head/vegastrike/src/cmd.
*** Error code 1
Stop in /usr/home/mishin/cvs/vegastrike_cvs_head/vegastrike/src.
*** Error code 1
Stop in /usr/home/mishin/cvs/vegastrike_cvs_head/vegastrike.
*** Error code 1
Stop in /usr/home/mishin/cvs/vegastrike_cvs_head/vegastrike.
Error running 'make'
Error compiling CVS on FreeBSD
-
- Atmospheric Pilot
- Posts: 1
- Joined: Thu Apr 14, 2005 7:35 am
-
- Developer
- Posts: 3980
- Joined: Fri Jan 03, 2003 4:53 am
- Location: Stanford, CA
- Contact:
I have gcc-3.4.3 and it seems to work fine--
wonder what's different
wonder what's different
Vega Strike Lead Developer
http://vegastrike.sourceforge.net/
http://vegastrike.sourceforge.net/
-
- Star Pilot
- Posts: 4
- Joined: Sat Oct 08, 2005 8:26 pm
Long time ago after creating this post, but, if it's now actually - look in my thread in forum, I think - I fixing this problem.
http://vegastrike.sourceforge.net/forum ... php?t=5547
http://vegastrike.sourceforge.net/forum ... php?t=5547