Using PhysicX with Irrlicht
Posted: Thu Feb 22, 2007 4:29 pm
can somebody tell me how to use phsysix by ageia together with irrlicht?
this turial from the irrlicht homepage doesn't work any more!
i got those errors when compiling:
sorry i'm german and so my visual studio is german, too.
can somebody tell me ho to change the code form the tutorial to get the latest physicX with the latest irrlicht?
this turial from the irrlicht homepage doesn't work any more!
i got those errors when compiling:
Code: Select all
1>------ Erstellen gestartet: Projekt: irrlicht_physx, Konfiguration: Release Win32 ------
1>Kompilieren...
1>Stream.cpp
1>main.cpp
1>E:\Programme\Microsoft Visual Studio 8\VC\include\Stream.h(26) : error C2143: Syntaxfehler: Es fehlt ';' vor '*'
1>E:\Programme\Microsoft Visual Studio 8\VC\include\Stream.h(26) : error C4430: Fehlender Typspezifizierer - int wird angenommen. Hinweis: "default-int" wird von C++ nicht unterstützt.
1>E:\Programme\Microsoft Visual Studio 8\VC\include\Stream.h(26) : error C4430: Fehlender Typspezifizierer - int wird angenommen. Hinweis: "default-int" wird von C++ nicht unterstützt.
1>g:\dokumente und einstellungen\sebi\desktop\irrlicht_physx\irrlicht_physx\main.h(107) : warning C4244: '=': Konvertierung von 'double' in 'NxReal', möglicher Datenverlust
1>g:\dokumente und einstellungen\sebi\desktop\irrlicht_physx\irrlicht_physx\scenenodes.h(645) : error C2259: 'CPhysXAnimatedMeshSceneNode': Instanz von abstrakter Klasse kann nicht erstellt werden
1> aufgrund folgender Member:
1> "irr::scene::ISceneNode *irr::scene::IAnimatedMeshSceneNode::getB3DJointNode(const irr::c8 *)": ist abstrakt
1> e:\programme\microsoft visual studio 8\vc\include\IAnimatedMeshSceneNode.h(141): Siehe Deklaration von 'irr::scene::IAnimatedMeshSceneNode::getB3DJointNode'
1> "void irr::scene::IAnimatedMeshSceneNode::setReadOnlyMaterials(bool)": ist abstrakt
1> e:\programme\microsoft visual studio 8\vc\include\IAnimatedMeshSceneNode.h(182): Siehe Deklaration von 'irr::scene::IAnimatedMeshSceneNode::setReadOnlyMaterials'
1> "bool irr::scene::IAnimatedMeshSceneNode::isReadOnlyMaterials(void)": ist abstrakt
1> e:\programme\microsoft visual studio 8\vc\include\IAnimatedMeshSceneNode.h(185): Siehe Deklaration von 'irr::scene::IAnimatedMeshSceneNode::isReadOnlyMaterials'
1> "void irr::scene::IAnimatedMeshSceneNode::setMesh(irr::scene::IAnimatedMesh *)": ist abstrakt
1> e:\programme\microsoft visual studio 8\vc\include\IAnimatedMeshSceneNode.h(188): Siehe Deklaration von 'irr::scene::IAnimatedMeshSceneNode::setMesh'
1> "irr::scene::IAnimatedMesh *irr::scene::IAnimatedMeshSceneNode::getMesh(void)": ist abstrakt
1> e:\programme\microsoft visual studio 8\vc\include\IAnimatedMeshSceneNode.h(191): Siehe Deklaration von 'irr::scene::IAnimatedMeshSceneNode::getMesh'
1>.\main.cpp(243) : error C2039: 'broadPhase': Ist kein Element von 'NxSceneDesc'
1> e:\programme\microsoft visual studio 8\vc\include\NxSceneDesc.h(175): Siehe Deklaration von 'NxSceneDesc'
1>.\main.cpp(243) : error C2065: 'NX_BROADPHASE_COHERENT': nichtdeklarierter Bezeichner
1>.\main.cpp(244) : error C2039: 'collisionDetection': Ist kein Element von 'NxSceneDesc'
1> e:\programme\microsoft visual studio 8\vc\include\NxSceneDesc.h(175): Siehe Deklaration von 'NxSceneDesc'
1>.\main.cpp(370) : warning C4244: 'Argument': Konvertierung von 'time_t' in 'unsigned int', möglicher Datenverlust
1>Das Buildprotokoll wurde unter "file://g:\Dokumente und Einstellungen\Sebi\Desktop\irrlicht_physx\irrlicht_physx\Release\BuildLog.htm" gespeichert.
1>irrlicht_physx - 7 Fehler, 2 Warnung(en)
========== Erstellen: 0 erfolgreich, Fehler bei 1, 0 aktuell, 0 übersprungen ==========
can somebody tell me ho to change the code form the tutorial to get the latest physicX with the latest irrlicht?