I'm trying to upgrade from 0.4.1 to 0.5.0 on my linux box, but I seem to be getting some compiler errors. First I had some difficulties finding out which dependencies I needed for the 0.5.0, this information isn't anywhere in the wiki or the forums?
Then I just downloaded the source from svn, and read the README which states that the only dependencies needed is freetype2 and PCRE, both of which I have installed on my system, along with all the dependencies for the 0.4.1 version, including devil.
The error I'm seeing is:
Code: Select all
g++ -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I.. -I/usr/local/include/freetype2 -I/usr/local/include -g -O2 -MT CEGUIFreeTypeFont.lo -MD -MP -MF .deps/CEGUIFreeTypeFont.Tpo -c CEGUIFreeTypeFont.cpp -fPIC -DPIC -o CEGUIFreeTypeFont.lo
CEGUIFreeTypeFont.cpp: In member function `virtual void
CEGUI::FreeTypeFont::rasterize(unsigned int, unsigned int)':
CEGUIFreeTypeFont.cpp:281: error: parse error before `+' token
CEGUIFreeTypeFont.cpp:288: error: no matching function for call to `
CEGUI::Imageset::defineImage(CEGUI::String&, CEGUI::Rect (&)(...),
CEGUI::Point&)'
../include/CEGUIImageset.h:341: error: candidates are: void
CEGUI::Imageset::defineImage(const CEGUI::String&, const CEGUI::Point&,
const CEGUI::Size&, const CEGUI::Point&)
../include/CEGUIImageset.h:364: error: void
CEGUI::Imageset::defineImage(const CEGUI::String&, const CEGUI::Rect&, const
CEGUI::Point&)
Does anybody have a clue what is going on here?
Kind regards
Martin