dermont
21-07-2006 20:55:54
Compiling PLSM CVS (just download) against Ogre1.2.1 on linux ( gcc 4.0.3 , libtool 2.1a , autoconf 2.59, automake / aclocal 1.9) and Ogre1.2.1 I encounter the following error:
Changing line 87, everything compiles OK, but not too sure if this will cause further problems:
OgrePagingLandScapeTextureManager.cpp: In member function 'void Ogre::PagingLandScapeTextureManager::registerTextureFormats()':
OgrePagingLandScapeTextureManager.cpp:87: error: invalid initialization of non-const reference of type 'Ogre::String&' from a temporary of type 'Ogre::String'
Changing line 87, everything compiles OK, but not too sure if this will cause further problems:
//String &textureFormat = (*iTexFormatCurr)->getName ();
const String &textureFormat = (*iTexFormatCurr)->getName ();