[Mess] My effort to port it to Linux/GCC

Mononofu

06-07-2009 20:49:27

I've done about 69% of the conversions (according to the build progress of make), but now I stumbled upon a bigger problem: NxOgre seems to target another version of PhysX then the current one:

/home/mononofu/temp/NxOgre/build/source/NxOgreSharedStringStream.h:58: warning: inline function ‘NxOgre::SharedStringStream& NxOgre::operator<<(NxOgre::SharedStringStream&, const char*)’ used but never defined
/home/mononofu/temp/NxOgre/build/source/NxOgreSharedStringStream.h:66: warning: inline function ‘NxOgre::SharedStringStream& NxOgre::operator<<(NxOgre::SharedStringStream&, const NxOgre::SharedStringStream&)’ used but never defined
/home/mononofu/temp/NxOgre/build/source/NxOgreSimple.h:42: warning: inline function ‘void NxOgre::Functions::SimpleShapeToActorDescription(NxActorDesc&, NxOgre::SimpleShape*)’ used but never defined
/home/mononofu/temp/NxOgre/build/source/NxOgreRigidBodyFunctions.h:76: warning: inline function ‘bool NxOgre::Functions::RigidBodyFunctions::isDynamic(NxActor*)’ used but never defined
/home/mononofu/temp/NxOgre/build/source/NxOgreRigidBodyDynamicFunctions.cpp: In member function ‘void NxOgre::RigidBodyDynamicFunctions::resetPairFiltering()’:
/home/mononofu/temp/NxOgre/build/source/NxOgreRigidBodyDynamicFunctions.cpp:61: error: ‘class NxActor’ has no member named ‘resetPairFiltering’
/home/mononofu/temp/NxOgre/build/source/NxOgreRigidBodyDynamicFunctions.cpp: In member function ‘void NxOgre::RigidBodyDynamicFunctions::setGlobalPose(const NxOgre::Matrix44&)’:
/home/mononofu/temp/NxOgre/build/source/NxOgreRigidBodyDynamicFunctions.cpp:111: error: no matching function for call to ‘NxActor::setGlobalPose(const bml::Matrix44T<float>&)’
/usr/include/PhysX/v2.8.1/SDKs/Physics/include/NxActor.h:193: note: candidates are: virtual void NxActor::setGlobalPose(const NxMat34&)
/home/mononofu/temp/NxOgre/build/source/NxOgreRigidBodyDynamicFunctions.cpp: In member function ‘void NxOgre::RigidBodyDynamicFunctions::setGlobalPosition(const NxOgre::Real3&)’:
/home/mononofu/temp/NxOgre/build/source/NxOgreRigidBodyDynamicFunctions.cpp:116: error: no matching function for call to ‘NxActor::setGlobalPosition(const bml::Vector3<float>&)’
/usr/include/PhysX/v2.8.1/SDKs/Physics/include/NxActor.h:212: note: candidates are: virtual void NxActor::setGlobalPosition(const NxVec3&)
/home/mononofu/temp/NxOgre/build/source/NxOgreRigidBodyDynamicFunctions.cpp: In member function ‘void NxOgre::RigidBodyDynamicFunctions::setGlobalOrientation(const NxOgre::Matrix33&)’:
/home/mononofu/temp/NxOgre/build/source/NxOgreRigidBodyDynamicFunctions.cpp:121: error: no matching function for call to ‘NxActor::setGlobalOrientation(const bml::Matrix33T<float>&)’
/usr/include/PhysX/v2.8.1/SDKs/Physics/include/NxActor.h:231: note: candidates are: virtual void NxActor::setGlobalOrientation(const NxMat33&)
/home/mononofu/temp/NxOgre/build/source/NxOgreRigidBodyDynamicFunctions.cpp: In member function ‘void NxOgre::RigidBodyDynamicFunctions::setGlobalOrientationQuat(const NxOgre::Real4&)’:
/home/mononofu/temp/NxOgre/build/source/NxOgreRigidBodyDynamicFunctions.cpp:126: error: no matching function for call to ‘NxActor::setGlobalOrientationQuat(const bml::Vector4<float>&)’
/usr/include/PhysX/v2.8.1/SDKs/Physics/include/NxActor.h:250: note: candidates are: virtual void NxActor::setGlobalOrientationQuat(const NxQuat&)
/home/mononofu/temp/NxOgre/build/source/NxOgreRigidBodyDynamicFunctions.cpp: In member function ‘NxOgre::Matrix44 NxOgre::RigidBodyDynamicFunctions::getGlobalPose() const’:
/home/mononofu/temp/NxOgre/build/source/NxOgreRigidBodyDynamicFunctions.cpp:131: error: conversion from ‘NxMat34’ to non-scalar type ‘NxOgre::Matrix44’ requested
/home/mononofu/temp/NxOgre/build/source/NxOgreRigidBodyDynamicFunctions.cpp: In member function ‘NxOgre::Matrix33 NxOgre::RigidBodyDynamicFunctions::getGlobalOrientation() const’:
/home/mononofu/temp/NxOgre/build/source/NxOgreRigidBodyDynamicFunctions.cpp:141: error: conversion from ‘NxMat33’ to non-scalar type ‘NxOgre::Matrix33’ requested
/home/mononofu/temp/NxOgre/build/source/NxOgreRigidBodyDynamicFunctions.cpp: In member function ‘NxOgre::Real4 NxOgre::RigidBodyDynamicFunctions::getGlobalOrientationQuat() const’:
/home/mononofu/temp/NxOgre/build/source/NxOgreRigidBodyDynamicFunctions.cpp:146: error: conversion from ‘NxQuat’ to non-scalar type ‘NxOgre::Real4’ requested
/home/mononofu/temp/NxOgre/build/source/NxOgreRigidBodyDynamicFunctions.cpp: In member function ‘void NxOgre::RigidBodyDynamicFunctions::setCMassOffsetLocalPose(const NxOgre::Matrix44&)’:
/home/mononofu/temp/NxOgre/build/source/NxOgreRigidBodyDynamicFunctions.cpp:156: error: no matching function for call to ‘NxActor::setCMassOffsetLocalPose(const bml::Matrix44T<float>&)’
/usr/include/PhysX/v2.8.1/SDKs/Physics/include/NxActor.h:730: note: candidates are: virtual void NxActor::setCMassOffsetLocalPose(const NxMat34&)
/home/mononofu/temp/NxOgre/build/source/NxOgreRigidBodyDynamicFunctions.cpp: In member function ‘void NxOgre::RigidBodyDynamicFunctions::setCMassOffsetLocalPosition(const NxOgre::Real3&)’:
/home/mononofu/temp/NxOgre/build/source/NxOgreRigidBodyDynamicFunctions.cpp:161: error: no matching function for call to ‘NxActor::setCMassOffsetLocalPosition(const bml::Vector3<float>&)’
/usr/include/PhysX/v2.8.1/SDKs/Physics/include/NxActor.h:755: note: candidates are: virtual void NxActor::setCMassOffsetLocalPosition(const NxVec3&)
/home/mononofu/temp/NxOgre/build/source/NxOgreRigidBodyDynamicFunctions.cpp: In member function ‘void NxOgre::RigidBodyDynamicFunctions::setCMassOffsetLocalOrientation(const NxOgre::Matrix33&)’:
/home/mononofu/temp/NxOgre/build/source/NxOgreRigidBodyDynamicFunctions.cpp:166: error: no matching function for call to ‘NxActor::setCMassOffsetLocalOrientation(const bml::Matrix33T<float>&)’
/usr/include/PhysX/v2.8.1/SDKs/Physics/include/NxActor.h:777: note: candidates are: virtual void NxActor::setCMassOffsetLocalOrientation(const NxMat33&)
/home/mononofu/temp/NxOgre/build/source/NxOgreRigidBodyDynamicFunctions.cpp: In member function ‘void NxOgre::RigidBodyDynamicFunctions::setCMassOffsetGlobalPose(const NxOgre::Matrix44&)’:
/home/mononofu/temp/NxOgre/build/source/NxOgreRigidBodyDynamicFunctions.cpp:171: error: no matching function for call to ‘NxActor::setCMassOffsetGlobalPose(const bml::Matrix44T<float>&)’
/usr/include/PhysX/v2.8.1/SDKs/Physics/include/NxActor.h:803: note: candidates are: virtual void NxActor::setCMassOffsetGlobalPose(const NxMat34&)
/home/mononofu/temp/NxOgre/build/source/NxOgreRigidBodyDynamicFunctions.cpp: In member function ‘void NxOgre::RigidBodyDynamicFunctions::setCMassOffsetGlobalPosition(const NxOgre::Real3&)’:
/home/mononofu/temp/NxOgre/build/source/NxOgreRigidBodyDynamicFunctions.cpp:176: error: no matching function for call to ‘NxActor::setCMassOffsetGlobalPosition(const bml::Vector3<float>&)’
/usr/include/PhysX/v2.8.1/SDKs/Physics/include/NxActor.h:828: note: candidates are: virtual void NxActor::setCMassOffsetGlobalPosition(const NxVec3&)
/home/mononofu/temp/NxOgre/build/source/NxOgreRigidBodyDynamicFunctions.cpp: In member function ‘void NxOgre::RigidBodyDynamicFunctions::setCMassOffsetGlobalOrientation(const NxOgre::Matrix33&)’:
/home/mononofu/temp/NxOgre/build/source/NxOgreRigidBodyDynamicFunctions.cpp:181: error: no matching function for call to ‘NxActor::setCMassOffsetGlobalOrientation(const bml::Matrix33T<float>&)’
/usr/include/PhysX/v2.8.1/SDKs/Physics/include/NxActor.h:850: note: candidates are: virtual void NxActor::setCMassOffsetGlobalOrientation(const NxMat33&)
/home/mononofu/temp/NxOgre/build/source/NxOgreRigidBodyDynamicFunctions.cpp: In member function ‘void NxOgre::RigidBodyDynamicFunctions::setCMassGlobalPose(const NxOgre::Matrix44&)’:
/home/mononofu/temp/NxOgre/build/source/NxOgreRigidBodyDynamicFunctions.cpp:186: error: no matching function for call to ‘NxActor::setCMassGlobalPose(const bml::Matrix44T<float>&)’
/usr/include/PhysX/v2.8.1/SDKs/Physics/include/NxActor.h:873: note: candidates are: virtual void NxActor::setCMassGlobalPose(const NxMat34&)
/home/mononofu/temp/NxOgre/build/source/NxOgreRigidBodyDynamicFunctions.cpp: In member function ‘void NxOgre::RigidBodyDynamicFunctions::setCMassGlobalPosition(const NxOgre::Real3&)’:
/home/mononofu/temp/NxOgre/build/source/NxOgreRigidBodyDynamicFunctions.cpp:191: error: no matching function for call to ‘NxActor::setCMassGlobalPosition(const bml::Vector3<float>&)’
/usr/include/PhysX/v2.8.1/SDKs/Physics/include/NxActor.h:895: note: candidates are: virtual void NxActor::setCMassGlobalPosition(const NxVec3&)
/home/mononofu/temp/NxOgre/build/source/NxOgreRigidBodyDynamicFunctions.cpp: In member function ‘void NxOgre::RigidBodyDynamicFunctions::setCMassGlobalOrientation(const NxOgre::Matrix33&)’:
/home/mononofu/temp/NxOgre/build/source/NxOgreRigidBodyDynamicFunctions.cpp:196: error: no matching function for call to ‘NxActor::setCMassGlobalOrientation(const bml::Matrix33T<float>&)’
/usr/include/PhysX/v2.8.1/SDKs/Physics/include/NxActor.h:917: note: candidates are: virtual void NxActor::setCMassGlobalOrientation(const NxMat33&)
/home/mononofu/temp/NxOgre/build/source/NxOgreRigidBodyDynamicFunctions.cpp: In member function ‘NxOgre::Matrix44 NxOgre::RigidBodyDynamicFunctions::getCMassLocalPose() const’:
/home/mononofu/temp/NxOgre/build/source/NxOgreRigidBodyDynamicFunctions.cpp:201: error: conversion from ‘NxMat34’ to non-scalar type ‘NxOgre::Matrix44’ requested
/home/mononofu/temp/NxOgre/build/source/NxOgreRigidBodyDynamicFunctions.cpp: In member function ‘NxOgre::Matrix33 NxOgre::RigidBodyDynamicFunctions::getCMassLocalOrientation() const’:
/home/mononofu/temp/NxOgre/build/source/NxOgreRigidBodyDynamicFunctions.cpp:211: error: conversion from ‘NxMat33’ to non-scalar type ‘NxOgre::Matrix33’ requested
/home/mononofu/temp/NxOgre/build/source/NxOgreRigidBodyDynamicFunctions.cpp: In member function ‘NxOgre::Matrix44 NxOgre::RigidBodyDynamicFunctions::getCMassGlobalPose() const’:
/home/mononofu/temp/NxOgre/build/source/NxOgreRigidBodyDynamicFunctions.cpp:216: error: conversion from ‘NxMat34’ to non-scalar type ‘NxOgre::Matrix44’ requested
/home/mononofu/temp/NxOgre/build/source/NxOgreRigidBodyDynamicFunctions.cpp: In member function ‘NxOgre::Matrix33 NxOgre::RigidBodyDynamicFunctions::getCMassGlobalOrientation() const’:
/home/mononofu/temp/NxOgre/build/source/NxOgreRigidBodyDynamicFunctions.cpp:226: error: conversion from ‘NxMat33’ to non-scalar type ‘NxOgre::Matrix33’ requested
/home/mononofu/temp/NxOgre/build/source/NxOgreRigidBodyDynamicFunctions.cpp: In member function ‘void NxOgre::RigidBodyDynamicFunctions::setMassSpaceInertiaTensor(const NxOgre::Real3&)’:
/home/mononofu/temp/NxOgre/build/source/NxOgreRigidBodyDynamicFunctions.cpp:241: error: no matching function for call to ‘NxActor::setMassSpaceInertiaTensor(const bml::Vector3<float>&)’
/usr/include/PhysX/v2.8.1/SDKs/Physics/include/NxActor.h:1088: note: candidates are: virtual void NxActor::setMassSpaceInertiaTensor(const NxVec3&)
/home/mononofu/temp/NxOgre/build/source/NxOgreRigidBodyDynamicFunctions.cpp: In member function ‘NxOgre::Matrix33 NxOgre::RigidBodyDynamicFunctions::getGlobalInertiaTensor() const’:
/home/mononofu/temp/NxOgre/build/source/NxOgreRigidBodyDynamicFunctions.cpp:251: error: conversion from ‘NxMat33’ to non-scalar type ‘NxOgre::Matrix33’ requested
/home/mononofu/temp/NxOgre/build/source/NxOgreRigidBodyDynamicFunctions.cpp: In member function ‘NxOgre::Matrix33 NxOgre::RigidBodyDynamicFunctions::getGlobalInertiaTensorInverse() const’:
/home/mononofu/temp/NxOgre/build/source/NxOgreRigidBodyDynamicFunctions.cpp:256: error: conversion from ‘NxMat33’ to non-scalar type ‘NxOgre::Matrix33’ requested
/home/mononofu/temp/NxOgre/build/source/NxOgreRigidBodyDynamicFunctions.cpp: In member function ‘void NxOgre::RigidBodyDynamicFunctions::setLinearVelocity(const NxOgre::Real3&)’:
/home/mononofu/temp/NxOgre/build/source/NxOgreRigidBodyDynamicFunctions.cpp:286: error: no matching function for call to ‘NxActor::setLinearVelocity(const bml::Vector3<float>&)’
/usr/include/PhysX/v2.8.1/SDKs/Physics/include/NxActor.h:1295: note: candidates are: virtual void NxActor::setLinearVelocity(const NxVec3&)
/home/mononofu/temp/NxOgre/build/source/NxOgreRigidBodyDynamicFunctions.cpp: In member function ‘void NxOgre::RigidBodyDynamicFunctions::setAngularVelocity(const NxOgre::Real3&)’:
/home/mononofu/temp/NxOgre/build/source/NxOgreRigidBodyDynamicFunctions.cpp:291: error: no matching function for call to ‘NxActor::setAngularVelocity(const bml::Vector3<float>&)’
/usr/include/PhysX/v2.8.1/SDKs/Physics/include/NxActor.h:1317: note: candidates are: virtual void NxActor::setAngularVelocity(const NxVec3&)
/home/mononofu/temp/NxOgre/build/source/NxOgreRigidBodyDynamicFunctions.cpp: In member function ‘void NxOgre::RigidBodyDynamicFunctions::setLinearMomentum(const NxOgre::Real3&)’:
/home/mononofu/temp/NxOgre/build/source/NxOgreRigidBodyDynamicFunctions.cpp:326: error: no matching function for call to ‘NxActor::setLinearMomentum(const bml::Vector3<float>&)’
/usr/include/PhysX/v2.8.1/SDKs/Physics/include/NxActor.h:1479: note: candidates are: virtual void NxActor::setLinearMomentum(const NxVec3&)
/home/mononofu/temp/NxOgre/build/source/NxOgreRigidBodyDynamicFunctions.cpp: In member function ‘void NxOgre::RigidBodyDynamicFunctions::setAngularMomentum(const NxOgre::Real3&)’:
/home/mononofu/temp/NxOgre/build/source/NxOgreRigidBodyDynamicFunctions.cpp:331: error: no matching function for call to ‘NxActor::setAngularMomentum(const bml::Vector3<float>&)’
/usr/include/PhysX/v2.8.1/SDKs/Physics/include/NxActor.h:1502: note: candidates are: virtual void NxActor::setAngularMomentum(const NxVec3&)
/home/mononofu/temp/NxOgre/build/source/NxOgreRigidBodyDynamicFunctions.cpp: In member function ‘void NxOgre::RigidBodyDynamicFunctions::addForceAtPos(const NxOgre::Real3&, const NxOgre::Real3&, NxOgre::Enums::ForceMode, bool)’:
/home/mononofu/temp/NxOgre/build/source/NxOgreRigidBodyDynamicFunctions.cpp:346: error: no matching function for call to ‘NxActor::addForceAtPos(const bml::Vector3<float>&, const bml::Vector3<float>&, NxOgre::Enums::ForceMode&, bool&)’
/usr/include/PhysX/v2.8.1/SDKs/Physics/include/NxActor.h:1578: note: candidates are: virtual void NxActor::addForceAtPos(const NxVec3&, const NxVec3&, NxForceMode, bool)
/home/mononofu/temp/NxOgre/build/source/NxOgreRigidBodyDynamicFunctions.cpp: In member function ‘void NxOgre::RigidBodyDynamicFunctions::addForceAtLocalPos(const NxOgre::Real3&, const NxOgre::Real3&, NxOgre::Enums::ForceMode, bool)’:
/home/mononofu/temp/NxOgre/build/source/NxOgreRigidBodyDynamicFunctions.cpp:351: error: no matching function for call to ‘NxActor::addForceAtLocalPos(const bml::Vector3<float>&, const bml::Vector3<float>&, NxOgre::Enums::ForceMode&, bool&)’
/usr/include/PhysX/v2.8.1/SDKs/Physics/include/NxActor.h:1608: note: candidates are: virtual void NxActor::addForceAtLocalPos(const NxVec3&, const NxVec3&, NxForceMode, bool)
/home/mononofu/temp/NxOgre/build/source/NxOgreRigidBodyDynamicFunctions.cpp: In member function ‘void NxOgre::RigidBodyDynamicFunctions::addLocalForceAtPos(const NxOgre::Real3&, const NxOgre::Real3&, NxOgre::Enums::ForceMode, bool)’:
/home/mononofu/temp/NxOgre/build/source/NxOgreRigidBodyDynamicFunctions.cpp:356: error: no matching function for call to ‘NxActor::addLocalForceAtPos(const bml::Vector3<float>&, const bml::Vector3<float>&, NxOgre::Enums::ForceMode&, bool&)’
/usr/include/PhysX/v2.8.1/SDKs/Physics/include/NxActor.h:1638: note: candidates are: virtual void NxActor::addLocalForceAtPos(const NxVec3&, const NxVec3&, NxForceMode, bool)
/home/mononofu/temp/NxOgre/build/source/NxOgreRigidBodyDynamicFunctions.cpp: In member function ‘void NxOgre::RigidBodyDynamicFunctions::addLocalForceAtLocalPos(const NxOgre::Real3&, const NxOgre::Real3&, NxOgre::Enums::ForceMode, bool)’:
/home/mononofu/temp/NxOgre/build/source/NxOgreRigidBodyDynamicFunctions.cpp:361: error: no matching function for call to ‘NxActor::addLocalForceAtLocalPos(const bml::Vector3<float>&, const bml::Vector3<float>&, NxOgre::Enums::ForceMode&, bool&)’
/usr/include/PhysX/v2.8.1/SDKs/Physics/include/NxActor.h:1668: note: candidates are: virtual void NxActor::addLocalForceAtLocalPos(const NxVec3&, const NxVec3&, NxForceMode, bool)
/home/mononofu/temp/NxOgre/build/source/NxOgreRigidBodyDynamicFunctions.cpp: In member function ‘void NxOgre::RigidBodyDynamicFunctions::addForce(const NxOgre::Real3&, NxOgre::Enums::ForceMode, bool)’:
/home/mononofu/temp/NxOgre/build/source/NxOgreRigidBodyDynamicFunctions.cpp:366: error: no matching function for call to ‘NxActor::addForce(const bml::Vector3<float>&, NxOgre::Enums::ForceMode&, bool&)’
/usr/include/PhysX/v2.8.1/SDKs/Physics/include/NxActor.h:1694: note: candidates are: virtual void NxActor::addForce(const NxVec3&, NxForceMode, bool)
/home/mononofu/temp/NxOgre/build/source/NxOgreRigidBodyDynamicFunctions.cpp: In member function ‘void NxOgre::RigidBodyDynamicFunctions::addLocalForce(const NxOgre::Real3&, NxOgre::Enums::ForceMode, bool)’:
/home/mononofu/temp/NxOgre/build/source/NxOgreRigidBodyDynamicFunctions.cpp:371: error: no matching function for call to ‘NxActor::addLocalForce(const bml::Vector3<float>&, NxOgre::Enums::ForceMode&, bool&)’
/usr/include/PhysX/v2.8.1/SDKs/Physics/include/NxActor.h:1720: note: candidates are: virtual void NxActor::addLocalForce(const NxVec3&, NxForceMode, bool)
/home/mononofu/temp/NxOgre/build/source/NxOgreRigidBodyDynamicFunctions.cpp: In member function ‘void NxOgre::RigidBodyDynamicFunctions::addTorque(const NxOgre::Real3&, NxOgre::Enums::ForceMode, bool)’:
/home/mononofu/temp/NxOgre/build/source/NxOgreRigidBodyDynamicFunctions.cpp:376: error: no matching function for call to ‘NxActor::addTorque(const bml::Vector3<float>&, NxOgre::Enums::ForceMode&, bool&)’
/usr/include/PhysX/v2.8.1/SDKs/Physics/include/NxActor.h:1743: note: candidates are: virtual void NxActor::addTorque(const NxVec3&, NxForceMode, bool)
/home/mononofu/temp/NxOgre/build/source/NxOgreRigidBodyDynamicFunctions.cpp: In member function ‘void NxOgre::RigidBodyDynamicFunctions::addLocalTorque(const NxOgre::Real3&, NxOgre::Enums::ForceMode, bool)’:
/home/mononofu/temp/NxOgre/build/source/NxOgreRigidBodyDynamicFunctions.cpp:381: error: no matching function for call to ‘NxActor::addLocalTorque(const bml::Vector3<float>&, NxOgre::Enums::ForceMode&, bool&)’
/usr/include/PhysX/v2.8.1/SDKs/Physics/include/NxActor.h:1766: note: candidates are: virtual void NxActor::addLocalTorque(const NxVec3&, NxForceMode, bool)
/home/mononofu/temp/NxOgre/build/source/NxOgreRigidBodyDynamicFunctions.cpp: In member function ‘NxOgre::Real3 NxOgre::RigidBodyDynamicFunctions::getPointVelocity(const NxOgre::Real3&) const’:
/home/mononofu/temp/NxOgre/build/source/NxOgreRigidBodyDynamicFunctions.cpp:386: error: no matching function for call to ‘NxActor::getPointVelocity(const bml::Vector3<float>&)’
/usr/include/PhysX/v2.8.1/SDKs/Physics/include/NxActor.h:1809: note: candidates are: virtual NxVec3 NxActor::getPointVelocity(const NxVec3&) const
/home/mononofu/temp/NxOgre/build/source/NxOgreRigidBodyDynamicFunctions.cpp: In member function ‘NxOgre::Real3 NxOgre::RigidBodyDynamicFunctions::getLocalPointVelocity(const NxOgre::Real3&) const’:
/home/mononofu/temp/NxOgre/build/source/NxOgreRigidBodyDynamicFunctions.cpp:391: error: no matching function for call to ‘NxActor::getLocalPointVelocity(const bml::Vector3<float>&)’
/usr/include/PhysX/v2.8.1/SDKs/Physics/include/NxActor.h:1828: note: candidates are: virtual NxVec3 NxActor::getLocalPointVelocity(const NxVec3&) const
make[2]: *** [CMakeFiles/NxOgre.dir/NxOgreRigidBodyDynamicFunctions.cpp.o] Error 1


Could you tell me which version of PhysX I should use?

btw: If you have some spare time, try compiling your code with gcc - Visual Studio seemingly tolerates quite a bit of incorrect code :-/

betajaen

06-07-2009 20:58:47

Weird, I'm using 2.8.1 too but I heard gcc likes to criticise my code.

Mononofu

09-07-2009 10:08:11

Whoops, sorry, this was supposed to go in the thread about building NxOgre on linux :oops: :
viewtopic.php?f=6&t=10539

Could you move my post?

About the errors: the ones from gcc were easy to fix, mostly style differences between msvc and gcc - I don't really know which of the two adheres to an official standard, if any of the does.

My main problem is with the posted errors: for example it complains about converting between NxMat34 and NxOgre::Matrix44 - these are fundamental different matrices, and I couldn't find a Matrix34 in your could - how do you compile this?

betajaen

09-07-2009 10:49:57

(Split the topic)

Weird, Any chance you can post the offending lines and the reasons why GCC doesn't like it?