Yati
05-12-2011 15:39:32
Hi everybody,
I'm just getting started with NxOgre and I got a little stuck
Critter gives me a build error when I compile in Debug but not when I build in Release.
The error is:
Since release mode worked I tried going on and building NxOgreTutorials in release (I was excited to see some boxes topple! ). It built with out any errors but when I ran the Sample.exe it said that all the Nx samples were either missing, corrupt or invalid. All the .dlls are there. I did notice that all the default Ogre samples have a "Program debug database" file with the same name. The Nx dlls came with no such files.
I'm using Ogre 1.7.2.
Thanks!
[UPDATE]
I managed to get Critter to compile in debug. It was because NxOgre's target name and linker output file name were different. And also I disabled optimization from Critter
to get rid of '/O2'.
But now when I try to run the sample browser debug build I can see the Nx samples in the menu but when I run the Nx sample it crashes .
Help?
[UPDATE 2]
I got the debug sample browser working! I copied these dlls from the PHYX_DIR/bin/win32 to my ogre debug bin directory:
I'm just getting started with NxOgre and I got a little stuck
Critter gives me a build error when I compile in Debug but not when I build in Release.
The error is:
error D8016: '/ZI' and '/O2' command-line options are incompatible C:\OgreSDK\critter\betajaen-critter-51f9edf\build\vc9\cl
Since release mode worked I tried going on and building NxOgreTutorials in release (I was excited to see some boxes topple! ). It built with out any errors but when I ran the Sample.exe it said that all the Nx samples were either missing, corrupt or invalid. All the .dlls are there. I did notice that all the default Ogre samples have a "Program debug database" file with the same name. The Nx dlls came with no such files.
I'm using Ogre 1.7.2.
Thanks!
[UPDATE]
I managed to get Critter to compile in debug. It was because NxOgre's target name and linker output file name were different. And also I disabled optimization from Critter
to get rid of '/O2'.
But now when I try to run the sample browser debug build I can see the Nx samples in the menu but when I run the Nx sample it crashes .
Help?
[UPDATE 2]
I got the debug sample browser working! I copied these dlls from the PHYX_DIR/bin/win32 to my ogre debug bin directory:
- cudart32_30_9.dll
NxCharactor.dll
PhysXCooking.dll
PhysXCore.dll
PhysXDevice.dll
PhysXLoader.dll[/list:u]
I tried the same thing with the release build of the sample brower and it seemed to fix the warning the sample browser gave saying that the Nx samples were missing, corrupt or invalid. But now when I run the sample the brower crashes
I think I'm missing a dll, though I'm not sure about it.