for me `./configure' went just fine, but compile breaks whith this messages:
Code: Select all
$ make -j2
Making all in .
make[1]: Entering directory `/cygdrive/c/work/cegui_mk2'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/cygdrive/c/work/cegui_mk2'
Making all in src
make[1]: Entering directory `/cygdrive/c/work/cegui_mk2/src'
Making all in .
make[2]: Entering directory `/cygdrive/c/work/cegui_mk2/src'
if /bin/bash ../libtool --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I.
./include -I../include -I/usr/include/freetype2 -g -O2 -MT CEGUIFactoryModu
le.lo -MD -MP -MF ".deps/CEGUIFactoryModule.Tpo" -c -o CEGUIFactoryModule.lo CEG
UIFactoryModule.cpp; \
then mv -f ".deps/CEGUIFactoryModule.Tpo" ".deps/CEGUIFactoryModule.Plo"; else r
m -f ".deps/CEGUIFactoryModule.Tpo"; exit 1; fi
if /bin/bash ../libtool --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I.
./include -I../include -I/usr/include/freetype2 -g -O2 -MT CEGUIFont_xmlHan
dler.lo -MD -MP -MF ".deps/CEGUIFont_xmlHandler.Tpo" -c -o CEGUIFont_xmlHandler.
lo CEGUIFont_xmlHandler.cpp; \
then mv -f ".deps/CEGUIFont_xmlHandler.Tpo" ".deps/CEGUIFont_xmlHandler.Plo"; el
se rm -f ".deps/CEGUIFont_xmlHandler.Tpo"; exit 1; fi
g++ -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I/usr/include/freetype2
-g -O2 -MT CEGUIFactoryModule.lo -MD -MP -MF .deps/CEGUIFactoryModule.Tpo -c CEG
UIFactoryModule.cpp -DPIC -o .libs/CEGUIFactoryModule.o
g++ -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I/usr/include/freetype2
-g -O2 -MT CEGUIFont_xmlHandler.lo -MD -MP -MF .deps/CEGUIFont_xmlHandler.Tpo -c
CEGUIFont_xmlHandler.cpp -DPIC -o .libs/CEGUIFont_xmlHandler.o
In file included from CEGUIFactoryModule.cpp:29:
../include/CEGUIFactoryModule.h:117: error: 'DYNLIB_HANDLE' is used as a type,
but is not defined as a type.
CEGUIFactoryModule.cpp: In constructor `
CEGUI::FactoryModule::FactoryModule(const CEGUI::String&)':
CEGUIFactoryModule.cpp:88: error: `d_handle' undeclared (first use this
function)
CEGUIFactoryModule.cpp:88: error: (Each undeclared identifier is reported only
once for each function it appears in.)
CEGUIFactoryModule.cpp:88: error: `DYNLIB_LOAD' undeclared (first use this
function)
CEGUIFactoryModule.cpp:96: error: `DYNLIB_GETSYM' undeclared (first use this
function)
CEGUIFactoryModule.cpp:101: error: `DYNLIB_UNLOAD' undeclared (first use this
function)
CEGUIFactoryModule.cpp: In destructor `virtual
CEGUI::FactoryModule::~FactoryModule()':
CEGUIFactoryModule.cpp:114: error: `DYNLIB_UNLOAD' undeclared (first use this
function)
make[2]: *** [CEGUIFactoryModule.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
g++ -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I/usr/include/freetype2
-g -O2 -MT CEGUIFont_xmlHandler.lo -MD -MP -MF .deps/CEGUIFont_xmlHandler.Tpo -c
CEGUIFont_xmlHandler.cpp -o CEGUIFont_xmlHandler.o >/dev/null 2>&1
make[2]: Leaving directory `/cygdrive/c/work/cegui_mk2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/cygdrive/c/work/cegui_mk2/src'
make: *** [all-recursive] Error 1
as far, as i understand, g++ doesn't set __WIN32__, _WIN32.
what to put in CEGUIFactoryModule.h?