NxOgre.org

Index

Download and Compile (Shortguide)

shortguide

Subversion URL for TortoiseSVN
http://svn.nxogre.org/branches/1.0/

SVN Checkout for the SVN command line utility
svn co http://svn.nxogre.org/branches/1.0/

The source code of NxOgre 1.0 can be obtained from the NxOgre.org subversion server, to grab it you will need a subversion client such as TortoiseSVN for Windows or SVN for Linux or Cygwin. Once the “Head” copy of NxOgre 1.0 has been downloaded, move the directory near or in your development or Ogre folder; c:/dev/ for example.




The PhysX Environmental Variable.
  1. Click the Start button
  2. Right Click on the “My Computer” text
  3. Click on the Properties menu item
  4. Click on the top tab (XP) or link (Vista) named “Advanced”.
  5. Click on the “Environmental Variables” button
  6. Press New in the User Variables for Username
  7. Enter PHYSX_DIR for the Name
  8. Enter the full path C:/Dev/PhysX for your PhysX directory the value
  9. Press Okay, and press okay again on the previous window.

You’ll need to restart Visual Studio, if it’s running for the changes to make an effect.

The PhysX SDK can be downloaded from the NVidia/Ageia’s PhysX SDK download page ,download the latest PhysX SDK and the SystemSoftware.

Install the SystemSoftware first, then the PhysX SDK. It is usually preferable to install the SDK to the same parent directoy as NxOgre. Once the installation is completed; create a Environmental variable called PHYSX_DIR pointing to the PhysX SDK directory.

Normally the Ogre SDK installer creates an OGRE_HOME, pointing to ogremain inside the ogrenew directory. However with the source code or CVS versions this isn’t done, so if you’re using the source you’ll have to do the same. The instructions that created the PhysX environmental variable will help you.

Finally you should have the Debug and Release of the Ogre library compiled.

Once you are satisfied that the all of installation steps are completed and the environmental variables are working; load up the NxOgre Visual Studio Solution and compile the project in Release and in Debug. Obviously for any errors such as missing files; double check that the environmental variables are correct, any other errors syntax should be reported or checked upon on the NxOgre Forum, or the NxOgre 0.9 release thread.