What is the easiest version of Ogre to get running?

Anything and everything that's related to OGRE or the wider graphics field that doesn't fit into the other forums.
Post Reply
Bob2000
Gnoblar
Posts: 1
Joined: Tue Jan 17, 2023 5:41 pm

What is the easiest version of Ogre to get running?

Post by Bob2000 »

Hello, I am looking to use Ogre graphics for an application, but I have had some trouble getting a few different versions up and running. I have tried v13.5.3 but had to deal with some weird class reference issues. I have also tried 1.10 because it was recommended on another forum, but its documentation is probably a little out of date by now. I am self-taught, and not extremely savvy in c++, so what's the best version or setup in 2023 for getting everything up and running?

PS - Using a NuGet package manager is not off the table for me.

rpgplayerrobin
Orc
Posts: 448
Joined: Wed Mar 18, 2009 3:03 am
x 244

Re: What is the easiest version of Ogre to get running?

Post by rpgplayerrobin »

Here are my notes on how to build Ogre:

If anything goes wrong (it shouldn't), check for new information here: https://ogrecave.github.io/ogre/api/lat ... -ogre.html

Go to https://github.com/OGRECave/ogre/releases and download the latest source release.
If you want an older release, go to: https://github.com/OGRECave/ogre/releases and download it instead.

Extract it to C:\OgreSDK\ogre.

Open CMake and use these settings:
Where is the source code: C:/OgreSDK/ogre
Where to build the binaries: C:/OgreSDK/ogre/build
Press Configure and choose Visual Studio 2017 with x64.

Check the log and look for this to see if everything is correct:
-- The following external packages were located on your system.
-- This installation will have the extra features provided by these packages.

  • freetype
  • OpenGL
  • OpenGL ES 2.x
  • DirectX9
  • DirectX11
  • pugixml
  • zlib
  • Assimp
  • SDL2

Press Generate and close CMake.

Open the Ogre sln file.

Compile the ALL_BUILD project in debug.
Some unimportant projects might fail.

Compile the ALL_BUILD project in release.
No projects should fail.

Compile the INSTALL project in release only (and only once, never again).

User avatar
Zonder
Ogre Magi
Posts: 1164
Joined: Mon Aug 04, 2008 7:51 pm
Location: Manchester - England
x 70

Re: What is the easiest version of Ogre to get running?

Post by Zonder »

You mention NuGet are you using .NET then?

There are 10 types of people in the world: Those who understand binary, and those who don't...
Post Reply