I started using ogre today and i am totally exited about it,
but i am stuck setting up a new Application
I am using Ubuntu 14.04 64bit and code blocks
I downloaded Ogre 1.9 RC from Sourceforge and was able to build it from source
with cmake as shown in the description
i tried libogre-dev from ubuntu, but for some reason it did not work with cmake (issues with freetype.. i don`t know..)
so i gave building it a try and i got a "seems to be working better" ogre installation
http://www.ogre3d.org/tikiwiki/tiki-ind ... With+CMake
I tried the convienient all in one package wich gave me this output
Code: Select all
The C compiler identification is GNU 4.8.2
The CXX compiler identification is GNU 4.8.2
Check for working C compiler: /usr/bin/cc
Check for working C compiler: /usr/bin/cc -- works
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Check for working CXX compiler: /usr/bin/c++
Check for working CXX compiler: /usr/bin/c++ -- works
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
CMake Warning (dev) in CMakeLists.txt:
A logical block opening on the line
/home/thomas/Dokumente/Ogre/clean_ogre_cmake_project/CMakeLists.txt:29 (if)
closes on the line
/home/thomas/Dokumente/Ogre/clean_ogre_cmake_project/CMakeLists.txt:41 (endif)
with mis-matching arguments.
This warning is for project developers. Use -Wno-dev to suppress it.
The C compiler identification is GNU 4.8.2
The CXX compiler identification is GNU 4.8.2
Check for working C compiler: /usr/bin/cc
Check for working C compiler: /usr/bin/cc -- works
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Check for working CXX compiler: /usr/bin/c++
Check for working CXX compiler: /usr/bin/c++ -- works
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
CMake Warning (dev) in CMakeLists.txt:
A logical block opening on the line
/home/thomas/Dokumente/Ogre/clean_ogre_cmake_project/CMakeLists.txt:29 (if)
closes on the line
/home/thomas/Dokumente/Ogre/clean_ogre_cmake_project/CMakeLists.txt:41 (endif)
with mis-matching arguments.
This warning is for project developers. Use -Wno-dev to suppress it.
Looking for OGRE...
OGRE_PREFIX_WATCH changed.
Found PkgConfig: /usr/bin/pkg-config (found version "0.26")
checking for module 'OGRE'
found OGRE, version 1.9.0unstable
Found Ogre Ghadamon (1.9.0)
Found OGRE: optimized;/usr/local/lib/libOgreMain.so;debug;/usr/local/lib/libOgreMain.so
Looking for OGRE_Paging...
Found OGRE_Paging: optimized;/usr/local/lib/libOgrePaging.so;debug;/usr/local/lib/libOgrePaging.so
Looking for OGRE_Terrain...
Found OGRE_Terrain: optimized;/usr/local/lib/libOgreTerrain.so;debug;/usr/local/lib/libOgreTerrain.so
Looking for OGRE_Property...
Found OGRE_Property: optimized;/usr/local/lib/libOgreProperty.so;debug;/usr/local/lib/libOgreProperty.so
Looking for OGRE_RTShaderSystem...
Found OGRE_RTShaderSystem: optimized;/usr/local/lib/libOgreRTShaderSystem.so;debug;/usr/local/lib/libOgreRTShaderSystem.so
Looking for OGRE_Volume...
Found OGRE_Volume: optimized;/usr/local/lib/libOgreVolume.so;debug;/usr/local/lib/libOgreVolume.so
Looking for OGRE_Overlay...
Found OGRE_Overlay: optimized;/usr/lib/x86_64-linux-gnu/libOgreOverlay.so;debug;/usr/lib/x86_64-linux-gnu/libOgreOverlay.so
Looking for OIS...
OIS_PREFIX_PATH changed.
checking for module 'OIS'
found OIS, version 1.3.0
Found OIS: optimized;/usr/lib/x86_64-linux-gnu/libOIS.so;debug;/usr/lib/x86_64-linux-gnu/libOIS.so
Configuring done
then i tried the source and header files for linux from
http://www.ogre3d.org/tikiwiki/tiki-ind ... +Framework
where cmake could actually make me a code blocks program
I opened it and tried compiling it...
but i got some compiler errors from OgreFontManager.h and OgreResourceManager.h
Code: Select all
||=== Build: all in OgreApp (compiler: GNU GCC Compiler) ===|
/usr/include/OGRE/Overlay/OgreFontManager.h|53|error: invalid covariant return type for ‘virtual Ogre::FontPtr Ogre::FontManager::create(const String&, const String&, bool, Ogre::ManualResourceLoader*, const NameValuePairList*)’|
/usr/local/include/OGRE/OgreResourceManager.h|100|error: overriding ‘virtual Ogre::ResourcePtr Ogre::ResourceManager::create(const String&, const String&, bool, Ogre::ManualResourceLoader*, const NameValuePairList*)’|
/usr/include/OGRE/Overlay/OgreFontManager.h|59|error: invalid covariant return type for ‘virtual Ogre::FontPtr Ogre::FontManager::getByName(const String&, const String&)’|
/usr/local/include/OGRE/OgreResourceManager.h|303|error: overriding ‘virtual Ogre::ResourcePtr Ogre::ResourceManager::getByName(const String&, const String&)’|
||=== Build failed: 4 error(s), 0 warning(s) (0 minute(s), 3 second(s)) ===|
but from the Scenemanager.h file??
thanks in advance for your help,