I've just get the svn HEAD of cegui, and when trying to compile, i get this error:
../include/elements/CEGUITree.h:69: error: a class-key must be used when declaring a friend
../include/elements/CEGUITree.h:69: error: friend declaration does not name a class or function
If i comment the "friend TreeItem;" line 69, cegui does build without other error, but ogre fails in Samples/Gui/src with:
/usr/local/lib/libCEGUIBase.so: undefined reference to `CEGUI::Tree::WidgetTypeName'
/usr/local/lib/libCEGUIBase.so: undefined reference to `CEGUI::Tree::Tree(CEGUI::String const&, CEGUI::String const&)'
I don't know if this is related, but i guess it is, since it is not on google. How can be fixed the friend line ? Thanks
svn head does not compile
Moderators: CEGUI MVP, CEGUI Team
Who is online
Users browsing this forum: No registered users and 13 guests