NVIDIAGameWorks / PhysX-3.4

NVIDIA PhysX SDK 3.4
https://www.nvidia.com/
2.35k stars 274 forks source link

CRT error with physxExtensions #42

Open seeme00 opened 6 years ago

seeme00 commented 6 years ago

Hi, I try to use the physx sdk in my project. I built it with VS2015 community without issues.

When I try to link the PhysxExtensions.lib to the physics dll of my project, I get some link errors (basically the same as this post: https://devtalk.nvidia.com/default/topic/527000/physx-and-physics-modeling/physx-sdk-3-2-2-windows-libraries-are-badly-compiled/post/3747125/#3747125 ).

I checked my dll. It's build with the /MD switch. I selected all the project in the Physx solution and set their flag to /MD.

No matter what I do, I cannot get it to link.

It seems that some specific files are using the MT CRT, but I cannot find why (their property states /MD).

Thanks JNQ