nikki
05-08-2008 20:03:55
Hey!
I just decided to switch over to Linux (Ubuntu). I got Ogre from SVN, built it, and everything is perfect. I also got latest MyGUI. I did 'sh bootstrap' and './configure', but when I 'make', I get this output:-
This is what that function looks like:-
What's wrong?
I just decided to switch over to Linux (Ubuntu). I got Ogre from SVN, built it, and everything is perfect. I also got latest MyGUI. I did 'sh bootstrap' and './configure', but when I 'make', I get this output:-
nikki@nikki-laptop:~/Development/Libraries/ogre/my-gui$ make
Making all in MyGUIEngine
make[1]: Entering directory `/home/nikki/Development/Libraries/ogre/my-gui/MyGUIEngine'
Making all in src
make[2]: Entering directory `/home/nikki/Development/Libraries/ogre/my-gui/MyGUIEngine/src'
if /bin/bash ../../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"MYGUI\" -DPACKAGE_TARNAME=\"mygui\" -DPACKAGE_VERSION=\"2.1.0\ \" -DPACKAGE_STRING=\"MYGUI\ 2.1.0\ \" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"MYGUI\" -DVERSION=\"2.1.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 -I. -I. -I/usr/include/freetype2 -DOGRE_GUI_GLX -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -I/usr/include/OIS -I../../MyGUIEngine/include -MT MyGUI_ActionController.lo -MD -MP -MF ".deps/MyGUI_ActionController.Tpo" -c -o MyGUI_ActionController.lo MyGUI_ActionController.cpp; \
then mv -f ".deps/MyGUI_ActionController.Tpo" ".deps/MyGUI_ActionController.Plo"; else rm -f ".deps/MyGUI_ActionController.Tpo"; exit 1; fi
g++ -DPACKAGE_NAME=\"MYGUI\" -DPACKAGE_TARNAME=\"mygui\" "-DPACKAGE_VERSION=\"2.1.0 \"" "-DPACKAGE_STRING=\"MYGUI 2.1.0 \"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"MYGUI\" -DVERSION=\"2.1.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 -I. -I. -I/usr/include/freetype2 -DOGRE_GUI_GLX -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -I/usr/include/OIS -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 ../../MyGUIEngine/include/MyGUI_Types.h:15,
from ../../MyGUIEngine/include/MyGUI_Common.h:14,
from ../../MyGUIEngine/include/MyGUI_CroppedRectangleInterface.h:11,
from ../../MyGUIEngine/include/MyGUI_Widget.h:11,
from MyGUI_ActionController.cpp:9:
../../MyGUIEngine/include/TRect.h: In member function ‘bool types::TRect<T>::intersect(const types::TRect<T>&) const’:
../../MyGUIEngine/include/TRect.h:124: error: expected primary-expression before ‘>’ token
make[2]: *** [MyGUI_ActionController.lo] Error 1
make[2]: Leaving directory `/home/nikki/Development/Libraries/ogre/my-gui/MyGUIEngine/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/nikki/Development/Libraries/ogre/my-gui/MyGUIEngine'
make: *** [all-recursive] Error 1
nikki@nikki-laptop:~/Development/Libraries/ogre/my-gui$
This is what that function looks like:-
inline bool intersect(const TRect<T>& _value) const
{
return ( (_value.left <= right) && (_value.right => left) && (_value.top <= bottom) && (_value.bottom >= top) );
}
What's wrong?