build error

shanefarris

05-07-2010 01:08:23

I am building with PhysX 2.8.3, and can't get 2.8.1, they don't offer it. I am getting 33 errors when I try and build.


d:\projects\corefps\source\nxogre\nxogrerigidbodydynamicfunctions.cpp(61) : error C2039: 'resetPairFiltering' : is not a member of 'NxActor'
1> d:\projects\dependencies\include\physx\nxactor.h(73) : see declaration of 'NxActor'
1>d:\projects\corefps\source\nxogre\nxogrerigidbodydynamicfunctions.cpp(111) : error C2664: 'NxActor::setGlobalPose' : cannot convert parameter 1 from 'const NxOgre::Matrix44' to 'const NxMat34 &'
1> Reason: cannot convert from 'const NxOgre::Matrix44' to 'const NxMat34'
1> No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
1>d:\projects\corefps\source\nxogre\nxogrerigidbodydynamicfunctions.cpp(116) : error C2664: 'NxActor::setGlobalPosition' : cannot convert parameter 1 from 'const NxOgre::Real3' to 'const NxVec3 &'
1> Reason: cannot convert from 'const NxOgre::Real3' to 'const NxVec3'
1> No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
1>d:\projects\corefps\source\nxogre\nxogrerigidbodydynamicfunctions.cpp(121) : error C2664: 'NxActor::setGlobalOrientation' : cannot convert parameter 1 from 'const NxOgre::Matrix33' to 'const NxMat33 &'
1> Reason: cannot convert from 'const NxOgre::Matrix33' to 'const NxMat33'
1> No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
1>d:\projects\corefps\source\nxogre\nxogrerigidbodydynamicfunctions.cpp(126) : error C2664: 'NxActor::setGlobalOrientationQuat' : cannot convert parameter 1 from 'const NxOgre::Real4' to 'const NxQuat &'
1> Reason: cannot convert from 'const NxOgre::Real4' to 'const NxQuat'
1> No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
1>d:\projects\corefps\source\nxogre\nxogrerigidbodydynamicfunctions.cpp(131) : error C2668: 'bml::Matrix44T<T>::Matrix44T' : ambiguous call to overloaded function
1> with
1> [
1> T=float
1> ]
1> d:\projects\corefps\include\nxogre\bml\matrix.h(242): could be 'bml::Matrix44T<T>::Matrix44T(const bml::QuaternionT<Type> &)'
1> with
1> [
1> T=float,
1> Type=float
1> ]
1> d:\projects\corefps\include\nxogre\bml\matrix.h(236): or 'bml::Matrix44T<T>::Matrix44T(const bml::Vector3<Type> &)'
1> with
1> [
1> T=float,
1> Type=float
1> ]
1> while trying to match the argument list '(NxMat34)'
1>d:\projects\corefps\source\nxogre\nxogrerigidbodydynamicfunctions.cpp(146) : error C2664: 'bml::Vector4<Type>::Vector4(const bml::Vector4<Type> &)' : cannot convert parameter 1 from 'NxQuat' to 'const bml::Vector4<Type> &'
1> with
1> [
1> Type=float
1> ]
1> Reason: cannot convert from 'NxQuat' to 'const bml::Vector4<Type>'
1> with
1> [
1> Type=float
1> ]
1> No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
1>d:\projects\corefps\source\nxogre\nxogrerigidbodydynamicfunctions.cpp(156) : error C2664: 'NxActor::setCMassOffsetLocalPose' : cannot convert parameter 1 from 'const NxOgre::Matrix44' to 'const NxMat34 &'
1> Reason: cannot convert from 'const NxOgre::Matrix44' to 'const NxMat34'
1> No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
1>d:\projects\corefps\source\nxogre\nxogrerigidbodydynamicfunctions.cpp(161) : error C2664: 'NxActor::setCMassOffsetLocalPosition' : cannot convert parameter 1 from 'const NxOgre::Real3' to 'const NxVec3 &'
1> Reason: cannot convert from 'const NxOgre::Real3' to 'const NxVec3'
1> No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
1>d:\projects\corefps\source\nxogre\nxogrerigidbodydynamicfunctions.cpp(166) : error C2664: 'NxActor::setCMassOffsetLocalOrientation' : cannot convert parameter 1 from 'const NxOgre::Matrix33' to 'const NxMat33 &'
1> Reason: cannot convert from 'const NxOgre::Matrix33' to 'const NxMat33'
1> No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
1>d:\projects\corefps\source\nxogre\nxogrerigidbodydynamicfunctions.cpp(171) : error C2664: 'NxActor::setCMassOffsetGlobalPose' : cannot convert parameter 1 from 'const NxOgre::Matrix44' to 'const NxMat34 &'
1> Reason: cannot convert from 'const NxOgre::Matrix44' to 'const NxMat34'
1> No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
1>d:\projects\corefps\source\nxogre\nxogrerigidbodydynamicfunctions.cpp(176) : error C2664: 'NxActor::setCMassOffsetGlobalPosition' : cannot convert parameter 1 from 'const NxOgre::Real3' to 'const NxVec3 &'
1> Reason: cannot convert from 'const NxOgre::Real3' to 'const NxVec3'
1> No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
1>d:\projects\corefps\source\nxogre\nxogrerigidbodydynamicfunctions.cpp(181) : error C2664: 'NxActor::setCMassOffsetGlobalOrientation' : cannot convert parameter 1 from 'const NxOgre::Matrix33' to 'const NxMat33 &'
1> Reason: cannot convert from 'const NxOgre::Matrix33' to 'const NxMat33'
1> No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
1>d:\projects\corefps\source\nxogre\nxogrerigidbodydynamicfunctions.cpp(186) : error C2664: 'NxActor::setCMassGlobalPose' : cannot convert parameter 1 from 'const NxOgre::Matrix44' to 'const NxMat34 &'
1> Reason: cannot convert from 'const NxOgre::Matrix44' to 'const NxMat34'
1> No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
1>d:\projects\corefps\source\nxogre\nxogrerigidbodydynamicfunctions.cpp(191) : error C2664: 'NxActor::setCMassGlobalPosition' : cannot convert parameter 1 from 'const NxOgre::Real3' to 'const NxVec3 &'
1> Reason: cannot convert from 'const NxOgre::Real3' to 'const NxVec3'
1> No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
1>d:\projects\corefps\source\nxogre\nxogrerigidbodydynamicfunctions.cpp(196) : error C2664: 'NxActor::setCMassGlobalOrientation' : cannot convert parameter 1 from 'const NxOgre::Matrix33' to 'const NxMat33 &'
1> Reason: cannot convert from 'const NxOgre::Matrix33' to 'const NxMat33'
1> No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
1>d:\projects\corefps\source\nxogre\nxogrerigidbodydynamicfunctions.cpp(201) : error C2668: 'bml::Matrix44T<T>::Matrix44T' : ambiguous call to overloaded function
1> with
1> [
1> T=float
1> ]
1> d:\projects\corefps\include\nxogre\bml\matrix.h(242): could be 'bml::Matrix44T<T>::Matrix44T(const bml::QuaternionT<Type> &)'
1> with
1> [
1> T=float,
1> Type=float
1> ]
1> d:\projects\corefps\include\nxogre\bml\matrix.h(236): or 'bml::Matrix44T<T>::Matrix44T(const bml::Vector3<Type> &)'
1> with
1> [
1> T=float,
1> Type=float
1> ]
1> while trying to match the argument list '(NxMat34)'
1>d:\projects\corefps\source\nxogre\nxogrerigidbodydynamicfunctions.cpp(216) : error C2668: 'bml::Matrix44T<T>::Matrix44T' : ambiguous call to overloaded function
1> with
1> [
1> T=float
1> ]
1> d:\projects\corefps\include\nxogre\bml\matrix.h(242): could be 'bml::Matrix44T<T>::Matrix44T(const bml::QuaternionT<Type> &)'
1> with
1> [
1> T=float,
1> Type=float
1> ]
1> d:\projects\corefps\include\nxogre\bml\matrix.h(236): or 'bml::Matrix44T<T>::Matrix44T(const bml::Vector3<Type> &)'
1> with
1> [
1> T=float,
1> Type=float
1> ]
1> while trying to match the argument list '(NxMat34)'
1>d:\projects\corefps\source\nxogre\nxogrerigidbodydynamicfunctions.cpp(241) : error C2664: 'NxActor::setMassSpaceInertiaTensor' : cannot convert parameter 1 from 'const NxOgre::Real3' to 'const NxVec3 &'
1> Reason: cannot convert from 'const NxOgre::Real3' to 'const NxVec3'
1> No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
1>d:\projects\corefps\source\nxogre\nxogrerigidbodydynamicfunctions.cpp(286) : error C2664: 'NxActor::setLinearVelocity' : cannot convert parameter 1 from 'const NxOgre::Real3' to 'const NxVec3 &'
1> Reason: cannot convert from 'const NxOgre::Real3' to 'const NxVec3'
1> No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
1>d:\projects\corefps\source\nxogre\nxogrerigidbodydynamicfunctions.cpp(291) : error C2664: 'NxActor::setAngularVelocity' : cannot convert parameter 1 from 'const NxOgre::Real3' to 'const NxVec3 &'
1> Reason: cannot convert from 'const NxOgre::Real3' to 'const NxVec3'
1> No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
1>d:\projects\corefps\source\nxogre\nxogrerigidbodydynamicfunctions.cpp(326) : error C2664: 'NxActor::setLinearMomentum' : cannot convert parameter 1 from 'const NxOgre::Real3' to 'const NxVec3 &'
1> Reason: cannot convert from 'const NxOgre::Real3' to 'const NxVec3'
1> No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
1>d:\projects\corefps\source\nxogre\nxogrerigidbodydynamicfunctions.cpp(331) : error C2664: 'NxActor::setAngularMomentum' : cannot convert parameter 1 from 'const NxOgre::Real3' to 'const NxVec3 &'
1> Reason: cannot convert from 'const NxOgre::Real3' to 'const NxVec3'
1> No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
1>d:\projects\corefps\source\nxogre\nxogrerigidbodydynamicfunctions.cpp(346) : error C2664: 'NxActor::addForceAtPos' : cannot convert parameter 1 from 'const NxOgre::Real3' to 'const NxVec3 &'
1> Reason: cannot convert from 'const NxOgre::Real3' to 'const NxVec3'
1> No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
1>d:\projects\corefps\source\nxogre\nxogrerigidbodydynamicfunctions.cpp(351) : error C2664: 'NxActor::addForceAtLocalPos' : cannot convert parameter 1 from 'const NxOgre::Real3' to 'const NxVec3 &'
1> Reason: cannot convert from 'const NxOgre::Real3' to 'const NxVec3'
1> No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
1>d:\projects\corefps\source\nxogre\nxogrerigidbodydynamicfunctions.cpp(356) : error C2664: 'NxActor::addLocalForceAtPos' : cannot convert parameter 1 from 'const NxOgre::Real3' to 'const NxVec3 &'
1> Reason: cannot convert from 'const NxOgre::Real3' to 'const NxVec3'
1> No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
1>d:\projects\corefps\source\nxogre\nxogrerigidbodydynamicfunctions.cpp(361) : error C2664: 'NxActor::addLocalForceAtLocalPos' : cannot convert parameter 1 from 'const NxOgre::Real3' to 'const NxVec3 &'
1> Reason: cannot convert from 'const NxOgre::Real3' to 'const NxVec3'
1> No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
1>d:\projects\corefps\source\nxogre\nxogrerigidbodydynamicfunctions.cpp(366) : error C2664: 'NxActor::addForce' : cannot convert parameter 1 from 'const NxOgre::Real3' to 'const NxVec3 &'
1> Reason: cannot convert from 'const NxOgre::Real3' to 'const NxVec3'
1> No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
1>d:\projects\corefps\source\nxogre\nxogrerigidbodydynamicfunctions.cpp(371) : error C2664: 'NxActor::addLocalForce' : cannot convert parameter 1 from 'const NxOgre::Real3' to 'const NxVec3 &'
1> Reason: cannot convert from 'const NxOgre::Real3' to 'const NxVec3'
1> No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
1>d:\projects\corefps\source\nxogre\nxogrerigidbodydynamicfunctions.cpp(376) : error C2664: 'NxActor::addTorque' : cannot convert parameter 1 from 'const NxOgre::Real3' to 'const NxVec3 &'
1> Reason: cannot convert from 'const NxOgre::Real3' to 'const NxVec3'
1> No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
1>d:\projects\corefps\source\nxogre\nxogrerigidbodydynamicfunctions.cpp(381) : error C2664: 'NxActor::addLocalTorque' : cannot convert parameter 1 from 'const NxOgre::Real3' to 'const NxVec3 &'
1> Reason: cannot convert from 'const NxOgre::Real3' to 'const NxVec3'
1> No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
1>d:\projects\corefps\source\nxogre\nxogrerigidbodydynamicfunctions.cpp(386) : error C2664: 'NxActor::getPointVelocity' : cannot convert parameter 1 from 'const NxOgre::Real3' to 'const NxVec3 &'
1> Reason: cannot convert from 'const NxOgre::Real3' to 'const NxVec3'
1> No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
1>d:\projects\corefps\source\nxogre\nxogrerigidbodydynamicfunctions.cpp(391) : error C2664: 'NxActor::getLocalPointVelocity' : cannot convert parameter 1 from 'const NxOgre::Real3' to 'const NxVec3 &'
1> Reason: cannot convert from 'const NxOgre::Real3' to 'const NxVec3'
1> No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called




Its all in the RigidBodyDynamicFunctions.cpp file and it looks like when it is using the NxActor class. I think this is because there has been some changes to PhysX, but I could be wrong. Any ideas?

Thanks.

shanefarris

05-07-2010 01:25:31

If this should be deleted then I can do that, but I figured I would just post this. I tried the 1.5.5 download, and it doesn't build with 2.8.3 physx. I tried the latest from git, and it works fine.

betajaen

05-07-2010 11:20:56

The first one you tried was pre-1.5.5? Bleeding perhaps? I'm surprised Bloody mess doesn't work with 2.8.3, but Detritus is fine with 2.8.3 because that is what I use.