Skip to content

Clearer steps on how to compile PhysX library for x86 #245

@xKamuna

Description

@xKamuna

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...

  1. 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.
  2. OptimizedDebug does not exist. I changed Release to use Debug configuration, which gave errors with allocation.
  3. The Debug DLLs are dependent on the Release or OptimizedDebug build, as those DLLs are searched for for whatever reason.
  4. 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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: enhancement [MINOR]Feature that doesn't take more than a few days to implement

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions