battlepope
04-02-2010 20:20:12
I get the following error when attempting to compile MyGUI 3.0, downloaded from SourceForge. Our OGRE source directories are a bit weird, but we think we've gotten them right. It'd be really useful to know what the default values are for these fields:
OGRE_DIR:
OGRE_INCLUDE_DIR
OGRE_LIBRARIES
OGRE_LIB_DIR
We're also using Ogre 1.8, could that be a problem?
Thanks,
Alissa
OGRE_DIR:
OGRE_INCLUDE_DIR
OGRE_LIBRARIES
OGRE_LIB_DIR
We're also using Ogre 1.8, could that be a problem?
Thanks,
Alissa
[ 46%] Building CXX object Plugins/Plugin_StrangeButton/CMakeFiles/Plugin_StrangeButton.dir/StrangeButton.cpp.o
/home/user-pool/users/jw7082/tmp/my-gui/MyGUI3.0/Plugins/Plugin_StrangeButton/StrangeButton.cpp:149:22: warning: no newline at end of file
/home/user-pool/users/jw7082/tmp/my-gui/MyGUI3.0/Platforms/Ogre/OgrePlatform/include/MyGUI_OgreDataStream.h:24: error: ‘Ogre’ has not been declared
/home/user-pool/users/jw7082/tmp/my-gui/MyGUI3.0/Platforms/Ogre/OgrePlatform/include/MyGUI_OgreDataStream.h:24: error: expected `)' before ‘_stream’
/home/user-pool/users/jw7082/tmp/my-gui/MyGUI3.0/Platforms/Ogre/OgrePlatform/include/MyGUI_OgreDataStream.h:33: error: ‘Ogre’ has not been declared
/home/user-pool/users/jw7082/tmp/my-gui/MyGUI3.0/Platforms/Ogre/OgrePlatform/include/MyGUI_OgreDataStream.h:33: error: ISO C++ forbids declaration of ‘DataStreamPtr’ with no type
/home/user-pool/users/jw7082/tmp/my-gui/MyGUI3.0/Platforms/Ogre/OgrePlatform/include/MyGUI_OgreDataStream.h:33: error: expected ‘;’ before ‘mStream’
/home/user-pool/users/jw7082/tmp/my-gui/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreDataManager.cpp: In member function ‘virtual MyGUI::IDataStream* MyGUI::OgreDataManager::getData(const std::string&)’:
/home/user-pool/users/jw7082/tmp/my-gui/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreDataManager.cpp:67: error: ‘Ogre’ has not been declared
/home/user-pool/users/jw7082/tmp/my-gui/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreDataManager.cpp:67: error: expected `;' before ‘stream’
/home/user-pool/users/jw7082/tmp/my-gui/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreDataManager.cpp:68: error: ‘stream’ was not declared in this scope
/home/user-pool/users/jw7082/tmp/my-gui/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreDataManager.cpp:72: error: expected type-specifier before ‘Ogre’
/home/user-pool/users/jw7082/tmp/my-gui/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreDataManager.cpp:72: error: expected `)' before ‘::’ token
/home/user-pool/users/jw7082/tmp/my-gui/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreDataManager.cpp:72: error: expected `{' before ‘::’ token
/home/user-pool/users/jw7082/tmp/my-gui/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreDataManager.cpp:72: error: ‘::FileNotFoundException’ has not been declared
/home/user-pool/users/jw7082/tmp/my-gui/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreDataManager.cpp:72: error: expected `;' before ‘)’ token
/home/user-pool/users/jw7082/tmp/my-gui/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreDataManager.cpp: In member function ‘const MyGUI::VectorString& MyGUI::OgreDataManager::getDataListNames(const std::string&, bool)’:
/home/user-pool/users/jw7082/tmp/my-gui/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreDataManager.cpp:95: error: ‘Ogre’ has not been declared
/home/user-pool/users/jw7082/tmp/my-gui/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreDataManager.cpp:95: error: expected `;' before ‘pFileInfo’
/home/user-pool/users/jw7082/tmp/my-gui/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreDataManager.cpp:97: error: ‘pFileInfo’ was not declared in this scope
/home/user-pool/users/jw7082/tmp/my-gui/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreDataManager.cpp:99: error: ‘Ogre’ has not been declared
/home/user-pool/users/jw7082/tmp/my-gui/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreDataManager.cpp:99: error: expected `;' before ‘fi’
/home/user-pool/users/jw7082/tmp/my-gui/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreDataManager.cpp:99: error: ‘fi’ was not declared in this scope
make[2]: *** [Platforms/Ogre/OgrePlatform/CMakeFiles/MyGUI.OgrePlatform.dir/src/MyGUI_OgreDataManager.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/home/user-pool/users/jw7082/tmp/my-gui/MyGUI3.0/Platforms/Ogre/OgrePlatform/include/MyGUI_OgreDataStream.h:24: error: ‘Ogre’ has not been declared
/home/user-pool/users/jw7082/tmp/my-gui/MyGUI3.0/Platforms/Ogre/OgrePlatform/include/MyGUI_OgreDataStream.h:24: error: expected `)' before ‘_stream’
/home/user-pool/users/jw7082/tmp/my-gui/MyGUI3.0/Platforms/Ogre/OgrePlatform/include/MyGUI_OgreDataStream.h:33: error: ‘Ogre’ has not been declared
/home/user-pool/users/jw7082/tmp/my-gui/MyGUI3.0/Platforms/Ogre/OgrePlatform/include/MyGUI_OgreDataStream.h:33: error: ISO C++ forbids declaration of ‘DataStreamPtr’ with no type
/home/user-pool/users/jw7082/tmp/my-gui/MyGUI3.0/Platforms/Ogre/OgrePlatform/include/MyGUI_OgreDataStream.h:33: error: expected ‘;’ before ‘mStream’
/home/user-pool/users/jw7082/tmp/my-gui/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreDataStream.cpp:14: error: ‘Ogre’ has not been declared
/home/user-pool/users/jw7082/tmp/my-gui/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreDataStream.cpp:14: error: expected `)' before ‘_stream’
/home/user-pool/users/jw7082/tmp/my-gui/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreDataStream.cpp: In destructor ‘MyGUI::OgreDataStream::~OgreDataStream()’:
/home/user-pool/users/jw7082/tmp/my-gui/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreDataStream.cpp:21: error: ‘mStream’ was not declared in this scope
/home/user-pool/users/jw7082/tmp/my-gui/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreDataStream.cpp: In member function ‘virtual bool MyGUI::OgreDataStream::eof()’:
/home/user-pool/users/jw7082/tmp/my-gui/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreDataStream.cpp:26: error: ‘mStream’ was not declared in this scope
/home/user-pool/users/jw7082/tmp/my-gui/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreDataStream.cpp: In member function ‘virtual size_t MyGUI::OgreDataStream::size()’:
/home/user-pool/users/jw7082/tmp/my-gui/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreDataStream.cpp:31: error: ‘mStream’ was not declared in this scope
/home/user-pool/users/jw7082/tmp/my-gui/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreDataStream.cpp: In member function ‘virtual void MyGUI::OgreDataStream::readline(std::string&, MyGUI::Char)’:
/home/user-pool/users/jw7082/tmp/my-gui/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreDataStream.cpp:36: error: ‘mStream’ was not declared in this scope
/home/user-pool/users/jw7082/tmp/my-gui/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreDataStream.cpp:41: error: ‘mStream’ was not declared in this scope
/home/user-pool/users/jw7082/tmp/my-gui/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreDataStream.cpp: In member function ‘virtual size_t MyGUI::OgreDataStream::read(void*, size_t)’:
/home/user-pool/users/jw7082/tmp/my-gui/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreDataStream.cpp:46: error: ‘mStream’ was not declared in this scope
/home/user-pool/users/jw7082/tmp/my-gui/MyGUI3.0/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreDataStream.cpp:47: error: ‘mStream’ was not declared in this scope
make[2]: *** [Platforms/Ogre/OgrePlatform/CMakeFiles/MyGUI.OgrePlatform.dir/src/MyGUI_OgreDataStream.cpp.o] Error 1
make[1]: *** [Platforms/Ogre/OgrePlatform/CMakeFiles/MyGUI.OgrePlatform.dir/all] Error 2