gistenjunge
08-12-2005 22:22:59
Hi,
now I am trying to compile PLSM on another machine and I get the following compile error:
I am using gcc 3.4.4 on an Athlon64. OGRE itself compiled cleanly.
Any ideas?
Thanks.
now I am trying to compile PLSM on another machine and I get the following compile error:
g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../PlugIns/PagingLandScape2/include -I/usr/local/include/OGRE -g -O2 -MT OgrePagingLandScapeOptions.lo -MD -MP -MF .deps/OgrePagingLandScapeOptions.Tpo -c OgrePagingLandScapeOptions.cpp -fPIC -DPIC -o .libs/OgrePagingLandScapeOptions.o
OgrePagingLandScapeOptions.cpp:199:8: warning: extra tokens at end of #endif directive
OgrePagingLandScapeOptions.cpp: In member function `void Ogre::PagingLandScapeOptions::loadMapOptions(const Ogre::String&)':
OgrePagingLandScapeOptions.cpp:574: warning: converting to `Ogre::uint' from `Ogre::Real'
OgrePagingLandScapeOptions.cpp:576: warning: converting to `Ogre::uint' from `Ogre::Real'
OgrePagingLandScapeOptions.cpp:666: warning: converting to `Ogre::uint' from `float'
OgrePagingLandScapeOptions.cpp:705: error: no matching function for call to `Ogre::PagingLandScapeOptions::setUint(size_t&, const char[14])'
OgrePagingLandScapeOptions.cpp:412: note: candidates are: void Ogre::PagingLandScapeOptions::setUint(Ogre::uint&, const Ogre::String&)
make[4]: *** [OgrePagingLandScapeOptions.lo] Error 1
make[4]: Leaving directory `/home/hoelz/ogre/ogreaddons/paginglandscape/PlugIns/PagingLandScape2/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/hoelz/ogre/ogreaddons/paginglandscape/PlugIns/PagingLandScape2'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/hoelz/ogre/ogreaddons/paginglandscape/PlugIns'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/hoelz/ogre/ogreaddons/paginglandscape'
make: *** [all] Error 2
I am using gcc 3.4.4 on an Athlon64. OGRE itself compiled cleanly.
Any ideas?
Thanks.