So sorry, you're right, I'd completely forgotten that.
[FIXED]
[EDIT]Fixed another inconsistency Joel pointed out.[/EDIT]
So sorry, you're right, I'd completely forgotten that.
[FIXED]
[EDIT]Fixed another inconsistency Joel pointed out.[/EDIT]
Last edited by CalderCoalson; February 4th, 2010 at 06:32 AM.
Thanks for the tutorial
I downloaded the most recent release of Ogre, 1.7.1, but the source directory doesn't contain ./bootstrap or ./configure (step 1.5). I'll probably use 1.6.5 for now, as I'm just getting started and I'm lazy, but perhaps the lack of these files / building method in 1.7 should be noted in the OP.
Edit: I followed the instructions exactly with 1.6.5, but when I try to run the ogre/Sample binaries or my own compilation of the tutorial it fails because of various ogre exceptions and compiler errors, some relating to Cg. Any ideas?
Cheers
Last edited by ebirah; May 4th, 2010 at 11:53 PM.
Sorry, I hadn't gotten around to updating these instructions for 1.7 yet. I think you can get by with replacing all the Ogre build instructions with
from the Ogre directory. Though you'll probably want Boost for threading support as well. You can download that here: http://sourceforge.net/projects/boos.../boost/1.42.0/ and runCode:cmake . make -j 4 sudo make install
More instructions on their website here: http://www.boost.org/doc/libs/1_42_0...-variants.htmlCode:./bootstrap.sh sudo ./bjam install
Thank you for the time you spent writing this very good step by step installation tutorial.
I managed to have Ogre 1.7.x compiled from source without too much pain.
Im now trying to run the very small exampleapplication with Code::Blocks. But I run into the issue where RenderSystem_GL.so is not found. Apparently several people had the same issue and managed to get it working but no chance for me. I've added /usr/local/lib/OGRE/RenderSystem_GL.so in the Build Options-->Linker Settings of my project and checked that the lib does exist. I also have the plugins.cfg file filled with this code:
The plugin.cfg file is in the same folder as my binary. I've also tried to change the Execution working dir to the absolute path of my binary and renaming the plugins file with a uppercase P since it appared to fix that problem for someone but I can't get rid of the error. How to make sure that this Plugins file is found?Code:PluginFolder=/usr/local/lib/OGRE Plugin=RenderSystem_GL.so Plugin=Plugin_OctreeSceneManager.so
Im using ubuntu 10.04 64bit, could it be the problem?
Thanks is advance for any help
Hmm... How are you initializing the Ogre Root object? Also, can you post your Ogre.log file as well as the console output?
I'm sorry I didn't reply quicker; my internet connection went down for quite a while.
I took out RenderSystem_GL.so from Options-->Linker Settings and it worked. The executable was not even starting with it. I don't know why the linker couldn't find the lib because it is definitely there. Anyway Code::Blocks doesn't seem to need it at all for linking. I now have the basic tutorial running but with a black screen without any of the entities i created in my scene. But this is another problem
Edit: Never mind my ambient light was set black...
Again thanks for your tutorial, i would never have gone this far without it.
Last edited by Liemarzac; August 21st, 2010 at 07:22 PM.
Great, glad you figured it out! And glad the tutorial helped someone!
I'm trying to run OGRE with Eclipse but I get a black screen with the basic tutorial 1 (from their tutorial page). I get FPS information and the OGRE Icon though.
Any thoughts?
Oh god, that's probably ****** graphics card drivers. I had that for a year on my old laptop before Ubuntu finally updated their drivers. I'm not sure there's much I can do for you there.
I am trying to install the latest Ogre from SVN
I was using the Ogre Build Wiki which calls CMake, but that is probably unimportant. My real problem is that apart from some problems with "Xaw widgets", everything went fine until I called "make install" it does all the makes, but fails with the final install
I must admit that I am not brilliant at installing from source and would be grateful if you could point out where I am going wrongCode:Install the project... /usr/bin/cmake -P cmake_install.cmake -- Install configuration: "" -- Up-to-date: /usr/local/lib/libOgreMainStatic.a -- Up-to-date: /usr/local/include/OGRE/asm_math.h -- Up-to-date: /usr/local/include/OGRE/Ogre.h -- Up-to-date: /usr/local/include/OGRE/OgreAlignedAllocator.h -- Up-to-date: /usr/local/include/OGRE/OgreAnimable.h -- Up-to-date: /usr/local/include/OGRE/OgreAnimation.h -- Up-to-date: /usr/local/include/OGRE/OgreAnimationState.h -- Up-to-date: /usr/local/include/OGRE/OgreAnimationTrack.h -- Up-to-date: /usr/local/include/OGRE/OgreAny.h -- Up-to-date: /usr/local/include/OGRE/OgreArchive.h -- Up-to-date: /usr/local/include/OGRE/OgreArchiveFactory.h -- Up-to-date: /usr/local/include/OGRE/OgreArchiveManager.h -- Up-to-date: /usr/local/include/OGRE/OgreAtomicWrappers.h -- Up-to-date: /usr/local/include/OGRE/OgreAutoParamDataSource.h -- Up-to-date: /usr/local/include/OGRE/OgreAxisAlignedBox.h -- Up-to-date: /usr/local/include/OGRE/OgreBillboard.h -- Up-to-date: /usr/local/include/OGRE/OgreBillboardChain.h -- Up-to-date: /usr/local/include/OGRE/OgreBillboardParticleRenderer.h -- Up-to-date: /usr/local/include/OGRE/OgreBillboardSet.h -- Up-to-date: /usr/local/include/OGRE/OgreBitwise.h -- Up-to-date: /usr/local/include/OGRE/OgreBlendMode.h -- Up-to-date: /usr/local/include/OGRE/OgreBone.h -- Up-to-date: /usr/local/include/OGRE/OgreBorderPanelOverlayElement.h CMake Error at Ogre-1.8/OgreMain/cmake_install.cmake:60 (FILE): file INSTALL cannot find "~/gamekit-SVN/Ogre-1.8/Settings/OgreBuildSettings.h". Call Stack (most recent call first): Ogre-1.8/cmake_install.cmake:37 (INCLUDE) cmake_install.cmake:39 (INCLUDE) make: *** [install] Error 1
.
Last edited by Irvine_himself; April 8th, 2011 at 07:22 PM.
Seven indispensable search utilities for Firefox:--
https://addons.mozilla.org/en-US/fir...2-418982aecd88
Bookmarks