Setting the environmental variable for PhysX
By setting up an environmental variable for PhysX it allows you to compile NxOgre without changing the paths in the linker and include settings. If you’ve installed Ogre from scratch you may of created an environmental variable for Ogre already.
- Click the Start button
- Right Click on the “My Computer” text
- Click on the Properties menu item
- Click on the top tab (XP) or link (Vista) named “Advanced”.
- Click on the “Environmental Variables” button
- Press New in the User Variables for Username
- Enter
PHYSX_DIR for the Name
- Enter the full path (minus the appending slash) of your PhysX SDK folder, i.e.
C:/Dev/PhysX
- Press Okay, and press okay again on the previous window.