OGRE Wiki
Support and community documentation for Ogre3D
Ogre Forums
ogre3d.org
Log in
Username:
Password:
CapsLock is on.
Remember me (for 1 year)
Log in
Home
Tutorials
Tutorials Home
Basic Tutorials
Intermediate Tutorials
Mad Marx Tutorials
In Depth Tutorials
Older Tutorials
External Tutorials
Cookbook
Cookbook Home
CodeBank
Snippets
Experiences
Ogre Articles
Libraries
Libraries Home
Alternative Languages
Assembling A Toolset
Development Tools
OGRE Libraries
List of Libraries
Tools
Tools Home
DCC Tools
DCC Tutorials
DCC Articles
DCC Resources
Assembling a production pipeline
Development
Development Home
Roadmap
Building Ogre
Installing the Ogre SDK
Setting Up An Application
Ogre Wiki Tutorial Framework
Frequently Asked Questions
Google Summer Of Code
Help Requested
Ogre Core Articles
Community
Community Home
Projects Using Ogre
Recommended Reading
Contractors
Wiki
Immediate Wiki Tasklist
Wiki Ideas
Wiki Guidelines
Article Writing Guidelines
Wiki Styles
Wiki Page Tracker
Ogre Wiki Help
Ogre Wiki Help Overview
Help - Basic Syntax
Help - Images
Help - Pages and Structures
Help - Wiki Plugins
Toolbox
Freetags
Categories
List Pages
Structures
Trackers
Statistics
Rankings
List Galleries
Ogre Lexicon
Comments
History: Compile OgreOde
View page
Source of version: 4
(current)
{img src="img/wiki_up/ODE_logo2.png" alt="" align="right"} !!Introduction On this page you will find information for compiling OgreODE on windows from the most recent SVN(at revision 2847 at the time this article was created),Ogre 1.6.5, and the most recent SVN version of ODE. !!Preparation First grab the latest [http://sourceforge.net/scm/?type=svn&group_id=24884|ODE SVN] and compile. To compile ODE using Visual Studios 2009 you must first create the project files with premake. To do this use windows commandline, and type the following. {MONO()} $cd ODE'sHOME-DIRECTORY-HERE\build $premake4 vs2008 {MONO} The project files will then appear in this file. Open them up and hit build. !!Compiling OgreODE Now grab the latest OgreODE SVN, and copy your entire ode folder into the ogreode directly. Windows will prompt you if you would like to replace the existing "ode" folder, press yes. Now if you have not already, download and install [http://www.cmake.org/|cmake]. Run cmake-gui(the installation will most likely have put a shortcut in your start menu). Set the "Where is the source code: " to point to your "ogreode" directory, and the build to "ogreode\build". Now hit configure, then press generate. The appropriate Visual Studios files should now be present in "ogreode/build", open them up. Next you need to define in your compiler whether to use the {MONO()}dSINGLE{MONO} or {MONO()}dDOUBLE{MONO}. To do this open up the configuration for ALL_BUILD, and under the {MONO()}build events->prebuild->commandline{MONO} add "dSINGLE" or "dDOUBLE". The majority of you should use "dSINGLE". You should now be able to compile the "ALL_BUILD" project. Some of the projects will build perfectly, and for the others you will need to add "dSINGLE" to the preprocessor definitions. !!Running the demos Assuming everything was compiled succesfully, the demos should appear in "ogreode\build\bin\Debug" or "\release" accordingly. You may be able to find a more effective method for doing this, but I copied the .exe and the .dll files in this folder into my Ogre Samples folder. "OgreSDK\bin\debug" if you are using the Ogre SDK. I then copied the media within "ogreode\demos\Media" directly into "D:\OgreSDK\media". The demos should run flawlessly now from your Ogre Samples directory. Enjoy playing GranTurismOgre! !!Conclusion Congratulations, you have now a fresh version of OgreOde. Way to go! You're ready to implement it into your own applications. See ((Setting up an OgreODE application)) For more information on using OgreODE please see ((First steps with OgreODE)) or have a look at the ((OgreODE)) home.
Search by Tags
Search Wiki by Freetags
Latest Changes
One Function Ogre
IDE Eclipse
FMOD SoundManager
HDRlib
Building Ogre V2 with CMake
Ogre 2.1 FAQ
Minimal Ogre Collision
Artifex Terra
OpenMB
Advanced Mogre Framework
...more
Search
Find
Advanced
Search Help
Online Users
158 online users