Library Mismatch on Windows #137
-
Hi there, I've linked the .lib files to my project using cmakelists, however I git this error: I don't know if this is normal, but the following libraries have _static in the name, the others do not: I think that is the problem. I tried setting these to False in the build preset, but there seemed to be no difference: I am using a custom preset, but it's just a copy-paste of vc16win64.xml just to change it to use vc17 so that I could build the project with Visual Studio 2022. I've seen older issues where people had the same version, but I was unable to solve the issue with the suggested solutions in those threads. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Yes, this sounds like a CRT config mismatch between PhysX and your project. We cannot help much with build issues, but please also see here in our docs at the end: https://nvidia-omniverse.github.io/PhysX/physx/5.1.3/docs/BuildingWithPhysX.html |
Beta Was this translation helpful? Give feedback.
-
Resolved with: |
Beta Was this translation helpful? Give feedback.
Resolved with:
target_compile_options(myproj PRIVATE "/MT")