Code: Select all
CMake Error: Error in cmake code at
C:/Users/username/Documents/Visual Studio 2012/Lib/ogre/Samples/Browser/CMakeLists.txt:313:
Parse error. Function missing ending ")". Instead found bad character with text "[".
Code: Select all
CMake Error: Error in cmake code at
C:/Users/username/Documents/Visual Studio 2012/Lib/ogre/Samples/Browser/CMakeLists.txt:313:
Parse error. Function missing ending ")". Instead found bad character with text "[".
Code: Select all
foreach(FWK ${FRAMEWORKS})
add_custom_command(TARGET SampleBrowser POST_BUILD
COMMAND ARGS if [ -d ${OGRE_BINARY_DIR}/lib/${OGRE_OSX_BUILD_CONFIGURATION}/${FWK}.framework ]\; then ln -s -f ${OGRE_BINARY_DIR}/lib/${OGRE_OSX_BUILD_CONFIGURATION}/${FWK}.framework ${OGRE_SAMPLE_CONTENTS_PATH}/Frameworks/${FWK}.framework\; fi
)
endforeach(FWK)
Code: Select all
foreach(FWK ${FRAMEWORKS})
add_custom_command(TARGET SampleBrowser POST_BUILD
COMMAND ARGS if -d ${OGRE_BINARY_DIR}/lib/${OGRE_OSX_BUILD_CONFIGURATION}/${FWK}.framework\; then ln -s -f ${OGRE_BINARY_DIR}/lib/${OGRE_OSX_BUILD_CONFIGURATION}/${FWK}.framework ${OGRE_SAMPLE_CONTENTS_PATH}/Frameworks/${FWK}.framework\; fi
)
endforeach(FWK)
Code: Select all
Error 1 error C2039: 'WindowEventListener' : is not a member of 'Ogre' c:\users\username\documents\visual studio 2012\projects\ogretest\ogretest\baseapplication.h 37 1 ogretest
Error 2 error C2504: 'WindowEventListener' : base class undefined c:\users\username\documents\visual studio 2012\projects\ogretest\ogretest\baseapplication.h 37 1 ogretest
Error 3 error C2039: 'WindowEventListener' : is not a member of 'Ogre' c:\users\username\documents\visual studio 2012\projects\ogretest\ogretest\baseapplication.h 37 1 ogretest
Error 4 error C2504: 'WindowEventListener' : base class undefined c:\users\username\documents\visual studio 2012\projects\ogretest\ogretest\baseapplication.h 37 1 ogretest
Error 5 error C2039: 'BLANK' : is not a member of 'Ogre::StringUtil' c:\users\username\documents\visual studio 2012\projects\ogretest\ogretest\baseapplication.cpp 25 1 ogretest
Error 6 error C2065: 'BLANK' : undeclared identifier c:\users\username\documents\visual studio 2012\projects\ogretest\ogretest\baseapplication.cpp 25 1 ogretest
Error 7 error C2039: 'BLANK' : is not a member of 'Ogre::StringUtil' c:\users\username\documents\visual studio 2012\projects\ogretest\ogretest\baseapplication.cpp 26 1 ogretest
Error 8 error C2065: 'BLANK' : undeclared identifier c:\users\username\documents\visual studio 2012\projects\ogretest\ogretest\baseapplication.cpp 26 1 ogretest
Error 9 error C3083: 'WindowEventUtilities': the symbol to the left of a '::' must be a type c:\users\username\documents\visual studio 2012\projects\ogretest\ogretest\baseapplication.cpp 48 1 ogretest
Error 10 error C2039: 'removeWindowEventListener' : is not a member of 'Ogre' c:\users\username\documents\visual studio 2012\projects\ogretest\ogretest\baseapplication.cpp 48 1 ogretest
Error 11 error C3861: 'removeWindowEventListener': identifier not found c:\users\username\documents\visual studio 2012\projects\ogretest\ogretest\baseapplication.cpp 48 1 ogretest
Error 12 error C3083: 'WindowEventUtilities': the symbol to the left of a '::' must be a type c:\users\username\documents\visual studio 2012\projects\ogretest\ogretest\baseapplication.cpp 123 1 ogretest
Error 13 error C2039: 'addWindowEventListener' : is not a member of 'Ogre' c:\users\username\documents\visual studio 2012\projects\ogretest\ogretest\baseapplication.cpp 123 1 ogretest
Error 14 error C3861: 'addWindowEventListener': identifier not found c:\users\username\documents\visual studio 2012\projects\ogretest\ogretest\baseapplication.cpp 123 1 ogretest
Error 15 error C2027: use of undefined type 'Ogre::TextureManager' c:\users\username\documents\visual studio 2012\projects\ogretest\ogretest\baseapplication.cpp 250 1 ogretest
Error 16 error C2228: left of '.setDefaultNumMipmaps' must have class/struct/union c:\users\username\documents\visual studio 2012\projects\ogretest\ogretest\baseapplication.cpp 250 1 ogretest
Error 17 error C3861: 'getSingleton': identifier not found c:\users\username\documents\visual studio 2012\projects\ogretest\ogretest\baseapplication.cpp 250 1 ogretest
Error 18 error C2027: use of undefined type 'Ogre::MaterialManager' c:\users\username\documents\visual studio 2012\projects\ogretest\ogretest\baseapplication.cpp 349 1 ogretest
Error 19 error C2228: left of '.setDefaultTextureFiltering' must have class/struct/union c:\users\username\documents\visual studio 2012\projects\ogretest\ogretest\baseapplication.cpp 349 1 ogretest
Error 20 error C3861: 'getSingleton': identifier not found c:\users\username\documents\visual studio 2012\projects\ogretest\ogretest\baseapplication.cpp 349 1 ogretest
Error 21 error C2027: use of undefined type 'Ogre::MaterialManager' c:\users\username\documents\visual studio 2012\projects\ogretest\ogretest\baseapplication.cpp 350 1 ogretest
Error 22 error C2228: left of '.setDefaultAnisotropy' must have class/struct/union c:\users\username\documents\visual studio 2012\projects\ogretest\ogretest\baseapplication.cpp 350 1 ogretest
Error 23 error C3861: 'getSingleton': identifier not found c:\users\username\documents\visual studio 2012\projects\ogretest\ogretest\baseapplication.cpp 350 1 ogretest
Error 24 error C2027: use of undefined type 'Ogre::TextureManager' c:\users\username\documents\visual studio 2012\projects\ogretest\ogretest\baseapplication.cpp 378 1 ogretest
Error 25 error C2228: left of '.reloadAll' must have class/struct/union c:\users\username\documents\visual studio 2012\projects\ogretest\ogretest\baseapplication.cpp 378 1 ogretest
Error 26 error C3861: 'getSingleton': identifier not found c:\users\username\documents\visual studio 2012\projects\ogretest\ogretest\baseapplication.cpp 378 1 ogretest
Code: Select all
#include <OgreMaterialManager.h>
#include <OgreTextureManager.h>
#include <OgreWindowEventUtilities.h>