[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

The 0.4.1 compile problem



Hi,

I want to compile the latest version (0.4.1) of crimson-fields,
but I have got a little problem.

The error message is as following, I have SDL_ttf installed,
and have ldconfiged as root, but after ./configure ; make
these error message appeared:
===========================================================================
/usr/include/asm/byteorder.h:6:2: warning: #warning using private kernel
header; include <endian.h> instead!
In file included from ../../src/common/widget.h:29,
                 from ../../src/common/textbox.h:29,
                 from ../../src/common/lang.h:32,
                 from ../../src/common/lset.h:33,
                 from unit.h:30,
                 from map.h:28,
                 from mission.h:26,
                 from ai.h:26,
                 from ai.cpp:38:
../../src/common/font.h:28:21: SDL_ttf.h: No such file or directory
In file included from ../../src/common/widget.h:29,
                 from ../../src/common/textbox.h:29,
                 from ../../src/common/lang.h:32,
                 from ../../src/common/lset.h:33,
                 from unit.h:30,
                 from map.h:28,
                 from mission.h:26,
                 from ai.h:26,
                 from ai.cpp:38:
../../src/common/font.h:55: error: syntax error before `*' token
../../src/common/font.h: In constructor `Font::Font()':
../../src/common/font.h:33: error: `f' undeclared (first use this
function)
../../src/common/font.h:33: error: (Each undeclared identifier is
reported only
   once for each function it appears in.)
make[2]: *** [ai.o] Error 1
make[2]: Leaving directory `/home/datastone/Dump/crimson-0.4.1/src/cf'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/datastone/Dump/crimson-0.4.1/src'
make: *** [all-recursive] Error 1
========================================================================

Any idea?

This happens both on Fedora Core 1 and Red Hat 9.0

Brain @ TW



==========================================================
 數位學習時代來臨,薪水讓你多的領不完
 http://edm-prg.epaper.com.tw/click.php?ad_code=89586
==========================================================
 PChome交友~~幸福天天有 \*^o^*//
 http://love.pchome.com.tw/
==========================================================