Trouble Building

CaseyB

06-11-2007 06:15:24

I have been out of the loop for a while so I am getting caught back up! Anyway, here's that I did.

1. Install PhysX System Software 7.09.13
2. Install PhysX 2.7.2 SDK Core
3. Check out NxOgre from http://latest.nxogre.org/nxogre3
4. Set PHYSX_DIR environment variable to C:\Program Files\AGEIA Technologies\SDK\v2.7.2, which is the default install dir for the SDK.
5. Verify that the Ogre include and link directories are valid.
6 Build.

I got a bunch of errors like this one:c:\development\nxogre\nxogre\source\nxogreshapeblueprintprimitives.cpp(20) : fatal error C1033: cannot open program database 'c:\development\nxogre\nxogre\compiler\windows\debug\vc80.pdb'Any idea why that may be?

betajaen

06-11-2007 09:40:07

PCB are compiled headers aren't they?

Try cleaning the solution and recompile, and see if that works, else peer into the NxOgre directory and kill any PCB files.

CaseyB

06-11-2007 23:26:20

Ok, that worked, I thought I had done a clean, but whatever. Now I am just playing with eatures and my app crashed while trying to bake ogrehead.mesh.It seems there are some meshes that it works for and others that it doens't. Is there a rule about that?

betajaen

07-11-2007 09:32:06

Yeah. Duplicate vertices are usually a no-no. What was you trying to bake the Ogre head into; a Convex or a Triangle Mesh shape?

AnTeevY

07-11-2007 14:21:31

I think this fits in this thread too:

>c:\progging\nxogre\source\nxogreuserallocator.cpp(44) : error C2146: syntax error : missing ';' before identifier 'm_Mutex'
>c:\progging\nxogre\source\nxogreuserallocator.cpp(44) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
>c:\progging\nxogre\source\nxogreuserallocator.cpp(44) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
>c:\progging\nxogre\source\nxogreuserallocator.cpp(53) : error C2065: 'm_Mutex' : undeclared identifier
>c:\progging\nxogre\source\nxogreuserallocator.cpp(53) : error C3861: 'InitializeCriticalSection': identifier not found
>c:\progging\nxogre\source\nxogreuserallocator.cpp(62) : error C3861: 'DeleteCriticalSection': identifier not found
>c:\progging\nxogre\source\nxogreuserallocator.cpp(72) : error C3861: 'EnterCriticalSection': identifier not found
>c:\progging\nxogre\source\nxogreuserallocator.cpp(82) : error C3861: 'LeaveCriticalSection': identifier not found

All other files build successfully. I did the 3 steps from http://nxogre.org/ and now I'm trying to compile it with Visual Studio 2005. (I would prefer Code Blocks, but that doesn't work too)

CaseyB

07-11-2007 20:07:57

I was trying to bake it into a convex shape, but triangle mesh shape seems to work.

betajaen

07-11-2007 21:20:20

Probably due to the amount of vertices then. Convex meshes better with as little as possible (but still retaining the detail), and I think there is a hard limit anyway.