how to build OgreOde

zydgyy

26-08-2011 10:04:54

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 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 dSINGLE or dDOUBLE. To do this open up the configuration for ALL_BUILD, and under the build events->prebuild->commandline 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.
----------------------
This is excerpted from wiki,but i download the source, i can't find any scripts of CMake?what is worng?!!!

zydgyy

26-08-2011 13:25:15

no one knows?

dermont

27-08-2011 11:37:52

This is excerpted from wiki,but i download the source, i can't find any scripts of CMake?what is worng?!!!

Where did you download the source from?
svn co https://ogreaddons.svn.sourceforge.net/ ... nk/ogreode

CMakeLists.txt should be in in the topmost "ogreode" directory as per the wiki instructions.
http://ogreaddons.svn.sourceforge.net/v ... iew=markup