Setup (compile) error

STfreak

08-03-2007 11:14:27

I followed the instructions (the only exception being I downloaded the next version of the physics engine) and downloaded the VB2005 patch. when I run the compiler it gives me this (this is only part of it)

1>------ Build started: Project: nxOgre, Configuration: Debug Win32 ------
1>Compiling...
1>nxOgre_world.cpp
1>c:\dev\nxogre\include\nxogre_includes.h(53) : error C2371: 'NxControllerManager' : redefinition; different basic types
1> c:\dev\physx\sdks\nxcharacter\include\nxcontrollermanager.h(31) : see declaration of 'NxControllerManager'
1>c:\dev\nxogre\include\nxogre_includes.h(285) : error C2259: 'NxControllerManager' : cannot instantiate abstract class
1> due to following members:
1> 'NxU32 NxControllerManager::getNbControllers(void) const' : is abstract
1> c:\dev\physx\sdks\nxcharacter\include\nxcontrollermanager.h(38) : see declaration of 'NxControllerManager::getNbControllers'
1> 'NxController *NxControllerManager::getController(NxU32)' : is abstract
1> c:\dev\physx\sdks\nxcharacter\include\nxcontrollermanager.h(46) : see declaration of 'NxControllerManager::getController'
1> 'NxController *NxControllerManager::createController(NxScene *,const NxControllerDesc &)' : is abstract
1> c:\dev\physx\sdks\nxcharacter\include\nxcontrollermanager.h(57) : see declaration of 'NxControllerManager::createController'
1> 'void NxControllerManager::releaseController(NxController &)' : is abstract
1> c:\dev\physx\sdks\nxcharacter\include\nxcontrollermanager.h(66) : see declaration of 'NxControllerManager::releaseController'
1> 'void NxControllerManager::purgeControllers(void)' : is abstract
1> c:\dev\physx\sdks\nxcharacter\include\nxcontrollermanager.h(71) : see declaration of 'NxControllerManager::purgeControllers'
1> 'void NxControllerManager::updateControllers(void)' : is abstract
1> c:\dev\physx\sdks\nxcharacter\include\nxcontrollermanager.h(76) : see declaration of 'NxControllerManager::updateControllers'
1> 'void NxControllerManager::release(void)' : is abstract
1> c:\dev\physx\sdks\nxcharacter\include\nxcontrollermanager.h(83) : see declaration of 'NxControllerManager::release'
1>c:\dev\nxogre\include\nxogre_includes.h(285) : error C2248: 'NxControllerManager::NxControllerManager' : cannot access protected member declared in class 'NxControllerManager'
1> c:\dev\physx\sdks\nxcharacter\include\nxcontrollermanager.h(79) : see declaration of 'NxControllerManager::NxControllerManager'
1> c:\dev\physx\sdks\nxcharacter\include\nxcontrollermanager.h(31) : see declaration of 'NxControllerManager'
1>c:\dev\nxogre\include\nxogre_includes.h(285) : error C2248: 'NxControllerManager::~NxControllerManager' : cannot access protected member declared in class 'NxControllerManager'
1> c:\dev\physx\sdks\nxcharacter\include\nxcontrollermanager.h(80) : see declaration of 'NxControllerManager::~NxControllerManager'
1> c:\dev\physx\sdks\nxcharacter\include\nxcontrollermanager.h(31) : see declaration of 'NxControllerManager'
1>c:\dev\nxogre\source\nxogre_world.cpp(291) : error C2065: 'NX_VISUALIZE_BODY_LIN_MOMENTUM' : undeclared identifier
1>c:\dev\nxogre\source\nxogre_world.cpp(292) : error C2065: 'NX_VISUALIZE_BODY_ANG_MOMENTUM' : undeclared identifier
1>c:\dev\nxogre\source\nxogre_world.cpp(293) : error C2065: 'NX_VISUALIZE_BODY_LIN_ACCEL' : undeclared identifier
1>c:\dev\nxogre\source\nxogre_world.cpp(294) : error C2065: 'NX_VISUALIZE_BODY_ANG_ACCEL' : undeclared identifier
1>c:\dev\nxogre\source\nxogre_world.cpp(295) : error C2065: 'NX_VISUALIZE_BODY_LIN_FORCE' : undeclared identifier
1>c:\dev\nxogre\source\nxogre_world.cpp(296) : error C2065: 'NX_VISUALIZE_BODY_ANG_FORCE' : undeclared identifier
1>c:\dev\nxogre\source\nxogre_world.cpp(297) : error C2065: 'NX_VISUALIZE_BODY_REDUCED' : undeclared identifier
1>c:\dev\nxogre\source\nxogre_world.cpp(299) : error C2065: 'NX_VISUALIZE_BODY_CONTACT_LIST' : undeclared identifier
1>c:\dev\nxogre\source\nxogre_world.cpp(300) : error C2065: 'NX_VISUALIZE_BODY_JOINT_LIST' : undeclared identifier
1>c:\dev\nxogre\source\nxogre_world.cpp(301) : error C2065: 'NX_VISUALIZE_BODY_DAMPING' : undeclared identifier
1>c:\dev\nxogre\source\nxogre_world.cpp(302) : error C2065: 'NX_VISUALIZE_BODY_SLEEP' : undeclared identifier
1>c:\dev\nxogre\source\nxogre_world.cpp(306) : error C2065: 'NX_VISUALIZE_JOINT_ERROR' : undeclared identifier
1>c:\dev\nxogre\source\nxogre_world.cpp(307) : error C2065: 'NX_VISUALIZE_JOINT_FORCE' : undeclared identifier
1>c:\dev\nxogre\source\nxogre_world.cpp(308) : error C2065: 'NX_VISUALIZE_JOINT_REDUCED' : undeclared identifier
1>nxOgre_util_stream.cpp
1>c:\dev\nxogre\include\nxogre_includes.h(53) : error C2371: 'NxControllerManager' : redefinition; different basic types
1> c:\dev\physx\sdks\nxcharacter\include\nxcontrollermanager.h(31) : see declaration of 'NxControllerManager'
1>c:\dev\nxogre\include\nxogre_includes.h(285) : error C2259: 'NxControllerManager' : cannot instantiate abstract class
1> due to following members:
1> 'NxU32 NxControllerManager::getNbControllers(void) const' : is abstract
1> c:\dev\physx\sdks\nxcharacter\include\nxcontrollermanager.h(38) : see declaration of 'NxControllerManager::getNbControllers'
1> 'NxController *NxControllerManager::getController(NxU32)' : is abstract
1> c:\dev\physx\sdks\nxcharacter\include\nxcontrollermanager.h(46) : see declaration of 'NxControllerManager::getController'
1> 'NxController *NxControllerManager::createController(NxScene *,const NxControllerDesc &)' : is abstract
1> c:\dev\physx\sdks\nxcharacter\include\nxcontrollermanager.h(57) : see declaration of 'NxControllerManager::createController'
1> 'void NxControllerManager::releaseController(NxController &)' : is abstract
1> c:\dev\physx\sdks\nxcharacter\include\nxcontrollermanager.h(66) : see declaration of 'NxControllerManager::releaseController'
1> 'void NxControllerManager::purgeControllers(void)' : is abstract
1> c:\dev\physx\sdks\nxcharacter\include\nxcontrollermanager.h(71) : see declaration of 'NxControllerManager::purgeControllers'
1> 'void NxControllerManager::updateControllers(void)' : is abstract
1> c:\dev\physx\sdks\nxcharacter\include\nxcontrollermanager.h(76) : see declaration of 'NxControllerManager::updateControllers'
1> 'void NxControllerManager::release(void)' : is abstract
1> c:\dev\physx\sdks\nxcharacter\include\nxcontrollermanager.h(83) : see declaration of 'NxControllerManager::release'
1>c:\dev\nxogre\include\nxogre_includes.h(285) : error C2248: 'NxControllerManager::NxControllerManager' : cannot access protected member declared in class 'NxControllerManager'
1> c:\dev\physx\sdks\nxcharacter\include\nxcontrollermanager.h(79) : see declaration of 'NxControllerManager::NxControllerManager'
1> c:\dev\physx\sdks\nxcharacter\include\nxcontrollermanager.h(31) : see declaration of 'NxControllerManager'
1>c:\dev\nxogre\include\nxogre_includes.h(285) : error C2248: 'NxControllerManager::~NxControllerManager' : cannot access protected member declared in class 'NxControllerManager'
1> c:\dev\physx\sdks\nxcharacter\include\nxcontrollermanager.h(80) : see declaration of 'NxControllerManager::~NxControllerManager'
1> c:\dev\physx\sdks\nxcharacter\include\nxcontrollermanager.h(31) : see declaration of 'NxControllerManager'
1>nxOgre_trigger.cpp
1>c:\dev\nxogre\include\nxogre_includes.h(53) : error C2371: 'NxControllerManager' : redefinition; different basic types
1> c:\dev\physx\sdks\nxcharacter\include\nxcontrollermanager.h(31) : see declaration of 'NxControllerManager'


What can I do to fix this?

betajaen

08-03-2007 12:38:51

Re-read the 0.6 post more carefully. More so of the requirements (PhysX 2.7.0)

I'm also locking this post. Because although I hate to be a forum Nazi, I would like all the SVN related posts in one post.