Driving game using PhysX and OpenGL
To link with visual studio follow these steps (if already linked, skip to step 5):
- Open the project porperties panel.
- Click on "VC++" Directories a. Edit "Include Directories", add the following string:
b. Edit "Library Directories", add the following string:
-
Expand the "C/C++" tab, click on Code Generation
a. Under "Runtime Library", ensure "Multi-threaded Debug DLL (/MDd)" is selected.
-
Expand the Linker tab, and click on input. Under Additional Dependencies, add the following libs:
glew32.lib opengl32.lib glfw3.lib LowLevelAABBDEBUG.lib LowLevelAABB.lib LowLevelClothDEBUG.lib LowLevelCloth.lib LowLevelDEBUG.lib LowLevelDynamicsDEBUG.lib LowLevelDynamics.lib LowLevel.lib LowLevelParticlesDEBUG.lib LowLevelParticles.lib PhysX3CharacterKinematicDEBUG_x86.lib PhysX3CommonDEBUG_x86.lib PhysX3Common_x86.lib PhysX3CookingDEBUG_x86.lib PhysX3DEBUG_x86.lib PhysX3ExtensionsDEBUG.lib PhysX3VehicleDEBUG.lib PhysX3_x86.lib SceneQueryDEBUG.lib SceneQuery.lib SimulationControllerDEBUG.lib SimulationController.lib PxFoundationDEBUG_x86.lib PxPvdSDKDEBUG_x86.lib PxTaskDEBUG_x86.lib
Now make sure you click apply in the bottom right corner before clicking OK to save your settings. Now it should build and link properly.
- Copy all of the .dll files in the deps/dll folder into the folder with the .exe in it (Named DEBUG if you built a Debug build). This folder is only present after building. (Hotkey F5)