Another compiler error...

Ceb

24-05-2009 20:22:33

Hey,
I played around with NxOgre 0.9 and 1.0 a while ago. Since I have a bit of free time I downloaded 1.5.4 but couldn't build it... I searched around the forums and the internet but didn't find anything specific. I'm sure it's something stupid... I've been trying to find a solution but no luck yet. If someone have an idea it would be nice.

Here's what I get at first:

c:\bloodymess\build\source\nxogrejoint.cpp(122) : error C2039: 'setSolverExtrapolationFactor' : is not a member of 'NxJoint'
1> c:\program files\ageia technologies\sdk\v2.7.3\sdks\physics\include\nxjoint.h(53) : see declaration of 'NxJoint'
1>c:\bloodymess\build\source\nxogrejoint.cpp(127) : error C2039: 'getSolverExtrapolationFactor' : is not a member of 'NxJoint'
1> c:\program files\ageia technologies\sdk\v2.7.3\sdks\physics\include\nxjoint.h(53) : see declaration of 'NxJoint'
1>c:\bloodymess\build\source\nxogrejoint.cpp(132) : error C2039: 'setUseAccelerationSpring' : is not a member of 'NxJoint'
1> c:\program files\ageia technologies\sdk\v2.7.3\sdks\physics\include\nxjoint.h(53) : see declaration of 'NxJoint'
1>c:\bloodymess\build\source\nxogrejoint.cpp(132) : warning C4800: 'NxOgre::Enums::JointSpringType' : forcing value to bool 'true' or 'false' (performance warning)
1>c:\bloodymess\build\source\nxogrejoint.cpp(137) : error C2039: 'getUseAccelerationSpring' : is not a member of 'NxJoint'
1> c:\program files\ageia technologies\sdk\v2.7.3\sdks\physics\include\nxjoint.h(53) : see declaration of 'NxJoint'
1>c:\bloodymess\build\source\nxogrejoint.cpp(137) : error C2514: 'NxOgre::Enums::JointSpringType' : class has no constructors
1> c:\bloodymess\build\source\nxogrecommon.h(615) : see declaration of 'NxOgre::Enums::JointSpringType'


and I get other errors like this:

1>c:\bloodymess\build\source\nxogreprototypefunctions.cpp(114) : error C2039: 'backgroundThreadPriority' : is not a member of 'NxSceneDesc'
1> c:\program files\ageia technologies\sdk\v2.7.3\sdks\physics\include\nxscenedesc.h(321) : see declaration of 'NxSceneDesc'
1>c:\bloodymess\build\source\nxogreprototypefunctions.cpp(116) : error C2039: 'bpType' : is not a member of 'NxSceneDesc'
1> c:\program files\ageia technologies\sdk\v2.7.3\sdks\physics\include\nxscenedesc.h(321) : see declaration of 'NxSceneDesc'
1>c:\bloodymess\build\source\nxogreprototypefunctions.cpp(116) : error C3861: 'NxBroadPhaseType': identifier not found
1>c:\bloodymess\build\source\nxogreprototypefunctions.cpp(118) : error C2039: 'dynamicTreeRebuildRateHint' : is not a member of 'NxSceneDesc'
1> c:\program files\ageia technologies\sdk\v2.7.3\sdks\physics\include\nxscenedesc.h(321) : see declaration of 'NxSceneDesc'
...


I'm using VC9 with bloody mess 1.5.4 as stated. PhysX 2.8.1.
Thanks for any clue and sorry for making my first post a help request.

betajaen

24-05-2009 20:41:05

It really looks like your not using PhysX 2.8.1 there; it looks like your using 2.7.3.

Ceb

24-05-2009 21:05:53

You're right... The SDK is 2.8.1 but my VC is still linking to PhysX 2.7.3.
Should have looked further... thanks betajaen.