You are not logged in.

#1 2006-03-26 21:26:20

BeardedYeti
Member
Registered: 2006-03-26
Posts: 11

sdmkun compile problem

http://shinh.skr.jp/sdmkun/

This is a manic shooter practice simulator.

the source (and windows binary) is here: http://shinh.skr.jp/sdmkun/sdmkun-1.5.7.zip

at some point in the compile process, it spits out this:

make[2]: Entering directory `/home/BeardedYeti/Desktop/sdmkun/src/util'
g++ -c -DNDEBUG -O2 -W -Wall -ffast-math -I/usr/include/SDL -D_REENTRANT -I.. -I../util loadconf.cc
g++ -c -DNDEBUG -O2 -W -Wall -ffast-math -I/usr/include/SDL -D_REENTRANT -I.. -I../util profile.cc
g++ -c -DNDEBUG -O2 -W -Wall -ffast-math -I/usr/include/SDL -D_REENTRANT -I.. -I../util strutil.cc
g++ -c -DNDEBUG -O2 -W -Wall -ffast-math -I/usr/include/SDL -D_REENTRANT -I.. -I../util util.cc
util.h: In constructor 'Coord<T_, GetDoublePolicy_>::Coord(const PolarCoord&)':
util.h:58: error: invalid use of undefined type 'const struct PolarCoord'
util.h:35: error: forward declaration of 'const struct PolarCoord'
util.h:58: error: invalid use of undefined type 'const struct PolarCoord'
util.h:35: error: forward declaration of 'const struct PolarCoord'
util.h:58: error: invalid use of undefined type 'const struct PolarCoord'
util.h:35: error: forward declaration of 'const struct PolarCoord'
util.h:58: error: invalid use of undefined type 'const struct PolarCoord'
util.h:35: error: forward declaration of 'const struct PolarCoord'
make[2]: *** [util.o] Error 1
make[2]: Leaving directory `/home/BeardedYeti/Desktop/sdmkun/src/util'
make[1]: *** [subdir] Error 2
make[1]: Leaving directory `/home/BeardedYeti/Desktop/sdmkun/src'
make: *** [all] Error 2

does anyone know what's going on? if you need more info from me to solve this, just let me know.

Last edited by BeardedYeti (2007-04-20 16:45:52)

Offline

Board footer

Powered by FluxBB