I'm compiling UFO2000-0.7.1062 in openSUSE 11. After getting some problems that I solved installing the HawkNL and DUMB libraries from the sources, I get the following error that I cannot get rid of.
[codebox]g++ -MMD -funsigned-char -Wall -Wno-deprecated-declarations -I src/lua -I src/luasqlite3 -DDEBUGMODE -DUFO_SVNVERSION=\"exportado\" -O2 -pipe -I/usr/include/freetype2 -DHAVE_FREETYPE -DGLYPH_TARGET=GLYPH_TARGET_ALLEGRO -DGK_NO_LEGACY -DHAVE_DUMBOGG -DHAVE_PNG -DLINUX -I/usr/include -c src/bullet.cpp -o obj/bullet.o
In file included from src/stdafx.h:99,
from src/bullet.cpp:22:
src/LuaPlus/LuaPlusCD.h: In function ?void LPCD::Push(lua_State*, T*)?:
src/LuaPlus/LuaPlusCD.h:57: error: must #include <typeinfo> before using typeid
make: *** [obj/bullet.o] Error 1[/codebox]
I have no idea about what can be failing. Can you help me?
Soros
Edited by Soros, 03 September 2008 - 05:40 AM.