I’m writing my first PhysX application and when I try to launch it I get the error:
"The program can’t start because PhysX3CommonCHECKED_x86.dll is missing from your computer. Try reinstalling the program to fix this problem.
I have referenced the proper include and library directories and I have linked to:
PhysX3DEBUG_x86.lib
PhysX3CommonDEBUG_x86.lib
PhysX3ExtensionsDEBUG.lib
I read a forum post or two that talked about putting a few of the PhysX .dlls into your application’s bin folder, which would make sense if I was using C# I guess. but I’m using C++.
Thank you for your help!
Copied all of the physX .dlls into my output directory and it fixed the problem.
The crazy thing is, I swear I did that before to no avail. But this time it worked. I’m probably just going crazy.
Hi,
as the error message said, you should copy the dlls inside your bin folder.
All you did is linked against the libs which need the dlls to run your application.
I guess in older PhysX Versions (like 2.8x or something else…) this could be possible,
but I´m not sure about it. ( When I remember corretly, the PhysX Software contails all dlls
for running these applications, so when you installed it, they are using the dlls from that.)
But your sentence about using the libs in C#: Funny, I lol´d :D
No, sorry, you are not right here :D
The Physx Guide also tells you that you need to redistribute some dlls.
Maybe you saw it in the samples too, the PhysX3Common_.dll and PhysX3_.dll - will always be needed.
Other dlls are needed when you are using them and linked against them.
But everybody had sometimes a bad day :D