Gonsor
03-10-2008 16:21:08
Hi,
I can't get MyGUI's svn version to compile on Ubuntu 8.10. Here's the g++ error:
And I can't figure out, why. Did anyone encounter a similar problem? If you need additional info, please tell me.
Please help me, MyGUI is so awesome.
Gonsor
I can't get MyGUI's svn version to compile on Ubuntu 8.10. Here's the g++ error:
libtool: compile: g++ -DPACKAGE_NAME=\"MYGUI\" -DPACKAGE_TARNAME=\"mygui\" "-DPACKAGE_VERSION=\"2.2.0 \"" "-DPACKAGE_STRING=\"MYGUI 2.2.0 \"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"MYGUI\" -DVERSION=\"2.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I/usr/include/freetype2 -DOGRE_GUI_gtk -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -I/usr/local/include/OIS -I/usr/local/include -I../../MyGUIEngine/include -MT MyGUI_ActionController.lo -MD -MP -MF .deps/MyGUI_ActionController.Tpo -c MyGUI_ActionController.cpp -fPIC -DPIC -o .libs/MyGUI_ActionController.o
In file included from /usr/include/c++/4.3/ext/hash_map:64,
from /usr/local/include/OGRE/OgreStdHeaders.h:38,
from /usr/local/include/OGRE/OgreMemoryManager.h:46,
from /usr/local/include/OGRE/OgrePrerequisites.h:87,
from /usr/local/include/OGRE/Ogre.h:32,
from ../../MyGUIEngine/include/MyGUI_Types.h:12,
from ../../MyGUIEngine/include/MyGUI_Common.h:14,
from ../../MyGUIEngine/include/MyGUI_ICroppedRectangle.h:11,
from ../../MyGUIEngine/include/MyGUI_Widget.h:12,
from MyGUI_ActionController.cpp:9:
/usr/include/c++/4.3/backward/backward_warning.h:33:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated.
In file included from ../../MyGUIEngine/include/MyGUI_ISubWidgetRect.h:11,
from ../../MyGUIEngine/include/MyGUI_Widget.h:13,
from MyGUI_ActionController.cpp:9:
../../MyGUIEngine/include/MyGUI_ISubWidget.h:33: error: expected ‘,’ or ‘...’ before ‘&’ token
../../MyGUIEngine/include/MyGUI_ISubWidget.h:33: error: ISO C++ forbids declaration of ‘type_info’ with no type
../../MyGUIEngine/include/MyGUI_ISubWidget.h: In member function ‘bool MyGUI::ISubWidget::isType() const’:
../../MyGUIEngine/include/MyGUI_ISubWidget.h:33: error: no matching function for call to ‘MyGUI::ISubWidget::isType(const std::type_info&) const’
../../MyGUIEngine/include/MyGUI_ISubWidget.h:33: note: candidates are: virtual bool MyGUI::ISubWidget::isType(int) const
In file included from ../../MyGUIEngine/include/MyGUI_Widget.h:13,
from MyGUI_ActionController.cpp:9:
../../MyGUIEngine/include/MyGUI_ISubWidgetRect.h: At global scope:
../../MyGUIEngine/include/MyGUI_ISubWidgetRect.h:18: error: expected ‘,’ or ‘...’ before ‘&’ token
../../MyGUIEngine/include/MyGUI_ISubWidgetRect.h:18: error: ISO C++ forbids declaration of ‘type_info’ with no type
In file included from ../../MyGUIEngine/include/MyGUI_Widget.h:14,
from MyGUI_ActionController.cpp:9:
../../MyGUIEngine/include/MyGUI_ISubWidgetText.h:18: error: expected ‘,’ or ‘...’ before ‘&’ token
../../MyGUIEngine/include/MyGUI_ISubWidgetText.h:18: error: ISO C++ forbids declaration of ‘type_info’ with no type
In file included from MyGUI_ActionController.cpp:9:
../../MyGUIEngine/include/MyGUI_Widget.h:31: error: expected ‘,’ or ‘...’ before ‘&’ token
../../MyGUIEngine/include/MyGUI_Widget.h:31: error: ISO C++ forbids declaration of ‘type_info’ with no type
../../MyGUIEngine/include/MyGUI_Widget.h: In member function ‘bool MyGUI::Widget::isType() const’:
../../MyGUIEngine/include/MyGUI_Widget.h:31: error: no matching function for call to ‘MyGUI::Widget::isType(const std::type_info&) const’
../../MyGUIEngine/include/MyGUI_Widget.h:31: note: candidates are: virtual bool MyGUI::Widget::isType(int) const
And I can't figure out, why. Did anyone encounter a similar problem? If you need additional info, please tell me.
Please help me, MyGUI is so awesome.

Gonsor