Did anyone manage to compile the PhysX Demos with C::B? I run from error into error, from compiler errors to linker errors...
Now I get some linker errors:
Debug\NxBoxes.o: In function `Z16KeyboardCallbackhii':
C:/Progging/Projects/yeahman/NxBoxes.cpp:161: undefined reference to `PerfRenderer::toggleEnable()'
Debug\NxBoxes.o: In function `Z14RenderCallbackv':
C:/Progging/Projects/yeahman/NxBoxes.cpp:280: undefined reference to `PerfRenderer::render(NxProfileData const*, int, int)'
Debug\NxBoxes.o: In function `Z41__static_initialization_and_destruction_0ii':
C:/Progging/Projects/yeahman/NxBoxes.cpp:26: undefined reference to `PerfRenderer::PerfRenderer()'
collect2: ld returned 1 exit status
I don't know which lib I forgot to include...
There's a "cheat" I use in this situation: Use the windows search function and put a significant part of the undefined reference as token to search for inside files. Seach the directory that contains the libs.
(On linux you can use grep for the same effect)
I don't really understand what you mean :D In which files should I search? I've included all possible libs of PhysX without success. Also, I'm on Vista and I can't find the possibility to seach inside files as it was on XP.
Ok, that's a pity. Look in the include headers for PhysX, maybe there are #ifdef's around these functions and PhysX was compiled with different preprocessor variables defined.