Clearer steps on how to compile PhysX library for x86
I have successfully compiled most of the dependencies for x86. However, PhysX has given me a number of troubles (at least for Debug builds), as follows: 0. Compiling PhysX 3.3 in Visual Studio 2017 gives a few warnings/errors. If you turn off warnings as errors and fix the one error by changing a certain variable to const, then...
- CHECKED configuration acts as a release build, using the Release Runtime (/MT or /MD). Additionally, Extensions uses /MT or /MTd. DEBUG configuration uses the wrong naming convention, and attempting to change it to CHECKED has strange results.
- OptimizedDebug does not exist. I changed Release to use Debug configuration, which gave errors with allocation.
- The Debug DLLs are dependent on the Release or OptimizedDebug build, as those DLLs are searched for for whatever reason.
- After attempting to fix everything and getting it to build, I get a "Foundation: Invalid registration detected", probably something to do with somehow mixing Debug and Release.
Everything else seems to be working. I would appreciate if the PhysX instructions were updated with what should be changed from the default configuration. Thank you for all your hard work!
I'll update it if I get a moment to try compiling PhysX myself and see what the issues are.
Cool, thanks! In the meanwhile, is there any way to disable bsfPhysX? I don't need physics at the moment.
There is no way to disable it at the moment.