Scramblejams
12-11-2006 01:16:17
Hi all, I'm new at this. I installed CEGUI 0.4.1 from Debian's unstable binary respository, then I compiled and installed Ogre 1.2.3, and then tried to build PyOgre 1.2.0 dev, and it stopped here:
[steve@lothar:~/dev/sim/pyogre/dev-1.2.0]$ python setup.py build
running build
running build_ext
building 'pyogre._cegui' extension
skipping pyogre/cegui/cegui.i
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/local/include/OGRE -I/usr/local/include -I/usr/include/CEGUI -I/usr/include/python2.4 -c pyogre/cegui/cegui_wrap.cxx -o build/temp.linux-i686-2.4/pyogre/cegui/cegui_wrap.o -DEXT_HASH
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
pyogre/cegui/cegui_wrap.cxx: In function 'int Real_To_Tuple(const Ogre::Real*, PyObject*, int)':
pyogre/cegui/cegui_wrap.cxx:3265: warning: unused variable 'toReturn'
pyogre/cegui/cegui_wrap.cxx: At global scope:
pyogre/cegui/cegui_wrap.cxx:3651: error: extra qualification 'EventCallback::' on member 'operator='
pyogre/cegui/cegui_wrap.cxx: In constructor 'EventCallback::EventCallback(PyObject*)':
pyogre/cegui/cegui_wrap.cxx:3726: warning: 'EventCallback::mSubscriber' will be initialized after
pyogre/cegui/cegui_wrap.cxx:3725: warning: 'swig_type_info* EventCallback::mType'
pyogre/cegui/cegui_wrap.cxx:3636: warning: when initialized here
pyogre/cegui/cegui_wrap.cxx: In copy constructor 'EventCallback::EventCallback(const EventCallback&)':
pyogre/cegui/cegui_wrap.cxx:3726: warning: 'EventCallback::mSubscriber' will be initialized after
pyogre/cegui/cegui_wrap.cxx:3725: warning: 'swig_type_info* EventCallback::mType'
pyogre/cegui/cegui_wrap.cxx:3645: warning: when initialized here
pyogre/cegui/cegui_wrap.cxx: In function 'const CEGUI::String& CEGUI_Window_tooltipType_get(CEGUI::Window*)':
pyogre/cegui/cegui_wrap.cxx:4088: warning: returning reference to temporary
pyogre/cegui/cegui_wrap.cxx: In function 'const CEGUI::UVector2& CEGUI_Window_windowSize_get(CEGUI::Window*)':
pyogre/cegui/cegui_wrap.cxx:4098: warning: returning reference to temporary
pyogre/cegui/cegui_wrap.cxx: At global scope:
pyogre/cegui/cegui_wrap.cxx:3263: warning: 'int Real_To_Tuple(const Ogre::Real*, PyObject*, int)' defined but not used
pyogre/cegui/cegui_wrap.cxx:3276: warning: 'int Tuple_To_Real(Ogre::Real*, PyObject*, int)' defined but not used
error: command 'gcc' failed with exit status 1
Could it be I need to compile and install CEGUI 0.5.0 instead? Getting Dagon compiled took the better part of the afternoon, so I'd like to have someone tell me that before I go off in that potentially difficult direction. Also, I saw some notes about having to compile parts of PyOgre individually on Linux but couldn't find any specifics. Any help would be appreciated. Thanks!
Steve
[steve@lothar:~/dev/sim/pyogre/dev-1.2.0]$ python setup.py build
running build
running build_ext
building 'pyogre._cegui' extension
skipping pyogre/cegui/cegui.i
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/local/include/OGRE -I/usr/local/include -I/usr/include/CEGUI -I/usr/include/python2.4 -c pyogre/cegui/cegui_wrap.cxx -o build/temp.linux-i686-2.4/pyogre/cegui/cegui_wrap.o -DEXT_HASH
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
pyogre/cegui/cegui_wrap.cxx: In function 'int Real_To_Tuple(const Ogre::Real*, PyObject*, int)':
pyogre/cegui/cegui_wrap.cxx:3265: warning: unused variable 'toReturn'
pyogre/cegui/cegui_wrap.cxx: At global scope:
pyogre/cegui/cegui_wrap.cxx:3651: error: extra qualification 'EventCallback::' on member 'operator='
pyogre/cegui/cegui_wrap.cxx: In constructor 'EventCallback::EventCallback(PyObject*)':
pyogre/cegui/cegui_wrap.cxx:3726: warning: 'EventCallback::mSubscriber' will be initialized after
pyogre/cegui/cegui_wrap.cxx:3725: warning: 'swig_type_info* EventCallback::mType'
pyogre/cegui/cegui_wrap.cxx:3636: warning: when initialized here
pyogre/cegui/cegui_wrap.cxx: In copy constructor 'EventCallback::EventCallback(const EventCallback&)':
pyogre/cegui/cegui_wrap.cxx:3726: warning: 'EventCallback::mSubscriber' will be initialized after
pyogre/cegui/cegui_wrap.cxx:3725: warning: 'swig_type_info* EventCallback::mType'
pyogre/cegui/cegui_wrap.cxx:3645: warning: when initialized here
pyogre/cegui/cegui_wrap.cxx: In function 'const CEGUI::String& CEGUI_Window_tooltipType_get(CEGUI::Window*)':
pyogre/cegui/cegui_wrap.cxx:4088: warning: returning reference to temporary
pyogre/cegui/cegui_wrap.cxx: In function 'const CEGUI::UVector2& CEGUI_Window_windowSize_get(CEGUI::Window*)':
pyogre/cegui/cegui_wrap.cxx:4098: warning: returning reference to temporary
pyogre/cegui/cegui_wrap.cxx: At global scope:
pyogre/cegui/cegui_wrap.cxx:3263: warning: 'int Real_To_Tuple(const Ogre::Real*, PyObject*, int)' defined but not used
pyogre/cegui/cegui_wrap.cxx:3276: warning: 'int Tuple_To_Real(Ogre::Real*, PyObject*, int)' defined but not used
error: command 'gcc' failed with exit status 1
Could it be I need to compile and install CEGUI 0.5.0 instead? Getting Dagon compiled took the better part of the afternoon, so I'd like to have someone tell me that before I go off in that potentially difficult direction. Also, I saw some notes about having to compile parts of PyOgre individually on Linux but couldn't find any specifics. Any help would be appreciated. Thanks!
Steve