PhysX Linker Error #106
-
Hello! I am incorporating PhysX libraries into my own graphics engine using DX11. I unfortunately seem to be running into some linking errors and can't seem to get it working. With lack of similar issues and solutions available, I figured I could ask here for help. The errors seem to be signifying that there is no definition of the PxDefaultErrorCallback. I have attached a picture for reference. I am trying to initialize the physics and have been following some of the "hello world" snippets available. I hope someone can help, let me know if any more information is necessary. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Hello @ZaffyPuck, Did you link against PhysXExtensions? If yes, did you include PxConfig.h header that will contain PhysX configuration defines like PX_PHYSX_STATIC_LIB? Cheers, |
Beta Was this translation helpful? Give feedback.
-
Hello again, |
Beta Was this translation helpful? Give feedback.
Hello @ZaffyPuck,
Did you link against PhysXExtensions? If yes, did you include PxConfig.h header that will contain PhysX configuration defines like PX_PHYSX_STATIC_LIB?
Alternatively, You can also directly add #define PX_PHYSX_STATIC_LIB as a first thing or add PX_PHYSX_STATIC_LIB to your preprocessor defines in any other way.
Cheers,
Ayoub