Wasting time...?

Kukanani

22-06-2008 23:39:13

Am I just wasting time trying to get NxOgre to work with Windows and Code::Blocks, or will it work, just be a little harder?

Thanks in advance.

Kukanani

23-06-2008 00:03:43

Here are the errors I get trying to compile with Code::Blocks:

C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|20|NxOgreStable.h: No such file or directory|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|21|NxOgreActor.h: No such file or directory|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|22|NxOgreActorBlueprint.h: No such file or directory|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|23|NxOgreUserData.h: No such file or directory|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|24|NxOgrePose.h: No such file or directory|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|25|NxOgreHelpers.h: No such file or directory|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|26|NxOgreScene.h: No such file or directory|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|27|NxOgreShapeBlueprint.h: No such file or directory|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|28|NxOgreDominanceGroup.h: No such file or directory|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|29|NxOgreGroup.h: No such file or directory|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|30|NxOgreContainer.h: No such file or directory|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|37|error: `ActorParams' has not been declared|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp||In function `void NxOgre::setToDefault()':|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|39|error: `mDensity' was not declared in this scope|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|40|error: `mActorFlags' was not declared in this scope|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|41|error: `mGroupAsIndex' was not declared in this scope|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|42|error: `mGroupAsName' was not declared in this scope|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|50|error: `mMassLocalPose' was not declared in this scope|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|51|error: `mMassSpaceInertia' was not declared in this scope|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|52|error: `mLinearVelocity' was not declared in this scope|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|53|error: `mAngularVelocity' was not declared in this scope|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|54|error: `mWakeUpCounter' was not declared in this scope|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|55|error: `mMass' was not declared in this scope|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|56|error: `mLinearDamping' was not declared in this scope|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|57|error: `mAngularDamping' was not declared in this scope|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|58|error: `mMaxAngularVelocity' was not declared in this scope|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|59|error: `mBodyFlags' was not declared in this scope|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|59|error: `NX_BF_VISUALIZATION' was not declared in this scope|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|60|error: `mSleepLinearVelocity' was not declared in this scope|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|61|error: `mSleepAngularVelocity' was not declared in this scope|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|62|error: `mCCDMotionThreshold' was not declared in this scope|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|63|error: `mSolverIterationCount' was not declared in this scope|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|64|error: `NX_BF_ENERGY_SLEEP_TEST' was not declared in this scope|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|65|error: `mSleepEnergyThreshold' was not declared in this scope|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|66|error: `mSleepDamping' was not declared in this scope|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|68|error: `mNodeScale' was not declared in this scope|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|68|error: `Ogre' has not been declared|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|68|error: `Vector3' was not declared in this scope|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|69|error: `mNodeName' was not declared in this scope|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|70|error: `mNodeShadows' was not declared in this scope|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|76|error: `ActorParams' has not been declared|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|76|error: variable or field `parse' declared void|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|76|error: `Parameters' was not declared in this scope|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|76|error: expected `,' or `;' before '{' token|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|132|error: `ActorParams' has not been declared|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|132|error: variable or field `fromNxActorDesc' declared void|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|132|error: `NxActorDesc' was not declared in this scope|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|132|error: `desc' was not declared in this scope|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|132|error: expected `,' or `;' before '{' token|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|147|error: `ActorParams' has not been declared|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|147|error: variable or field `fromNxBodyDesc' declared void|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|147|error: `NxBodyDesc' was not declared in this scope|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|147|error: `desc' was not declared in this scope|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|147|error: expected `,' or `;' before '{' token|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|171|error: `Actor' has not been declared|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|171|error: expected `,' or `...' before '&' token|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|171|error: ISO C++ forbids declaration of `Actor' with no type|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|171|error: ISO C++ forbids declaration of `NxString' with no type|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp||In function `int NxOgre::Actor(int)':|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|171|error: only constructors take base initializers|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|171|error: `Identifier' was not declared in this scope|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|171|error: `scene' was not declared in this scope|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|172|error: `mActor' was not declared in this scope|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|173|error: `isActorBased' was not declared in this scope|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|174|error: `mOwner' was not declared in this scope|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|174|error: `mName' was not declared in this scope|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|174|error: invalid use of `this' in non-member function|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|179|error: `Actor' is not a class or namespace|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|179|error: expected `,' or `...' before '&' token|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|179|error: ISO C++ forbids declaration of `Actor' with no type|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|179|error: ISO C++ forbids declaration of `NxString' with no type|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp||In function `int NxOgre::Actor(int)':|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|179|error: redefinition of `int NxOgre::Actor(int)'|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|171|error: `int NxOgre::Actor(int)' previously defined here|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|179|error: only constructors take base initializers|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|179|error: `name' was not declared in this scope|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|179|error: `scene' was not declared in this scope|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|182|error: `mName' was not declared in this scope|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|182|error: `NxCreateID' was not declared in this scope|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|183|error: `mVisualIdentifier' was not declared in this scope|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|183|error: `NxString' cannot be used as a function|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|187|error: `vector' is not a member of `std'|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|187|error: `splitID' was not declared in this scope|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|187|error: `Ogre' has not been declared|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|187|error: `split' was not declared in this scope|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|189|error: expected `;' before "identifier"|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|189|warning: statement has no effect|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|192|error: `identifier' was not declared in this scope|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|193|error: `mVisualIdentifier' was not declared in this scope|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|196|error: `identifier' was not declared in this scope|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|197|error: `mVisualIdentifier' was not declared in this scope|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|198|error: `Ogre' has not been declared|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|198|error: `trim' was not declared in this scope|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|201|error: `Ogre' has not been declared|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|201|error: `identifier' was not declared in this scope|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|201|error: `trim' was not declared in this scope|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|204|error: `mName' was not declared in this scope|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|206|error: `NxThrow_Error' was not declared in this scope|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|216|error: `Actors' was not declared in this scope|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|216|error: expected `;' before "actors"|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|217|error: `actors' was not declared in this scope|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|219|error: `NxU32' was not declared in this scope|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|219|error: expected `;' before "highest"|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|220|error: expected `;' before "workingName"|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|220|warning: statement has no effect|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|221|error: `a' was not declared in this scope|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|222|error: `Ogre' has not been declared|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|222|error: `startsWith' was not declared in this scope|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|223|error: `workingName' was not declared in this scope|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|225|error: `stringstream' is not a member of `std'|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|225|error: expected `;' before "ss"|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|226|error: expected `;' before "current"|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|227|error: `ss' was not declared in this scope|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|227|error: `current' was not declared in this scope|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|228|error: `highest' was not declared in this scope|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|233|error: `highest' was not declared in this scope|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|234|error: `mName' was not declared in this scope|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|235|error: `Ogre' has not been declared|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|235|error: `toString' was not declared in this scope|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|238|error: `mName' was not declared in this scope|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|242|error: `shape' was not declared in this scope|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|242|error: `pose' was not declared in this scope|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|242|error: `params' was not declared in this scope|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|242|error: `_createActor' was not declared in this scope|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|243|error: `mOwner' was not declared in this scope|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|243|error: `mName' was not declared in this scope|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|243|error: invalid use of `this' in non-member function|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|248|error: expected constructor, destructor, or type conversion before '::' token|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|259|error: `Actor' is not a class or namespace|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|259|error: variable or field `_createActor' declared void|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|259|error: `ShapeBlueprint' was not declared in this scope|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|259|error: `shape' was not declared in this scope|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|259|error: expected primary-expression before "const"|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|259|error: `ActorParams' was not declared in this scope|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|259|error: initializer expression list treated as compound expression|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|259|error: expected `,' or `;' before '{' token|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|346|error: `Actor' is not a class or namespace|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp||In function `void NxOgre::_destroyActor()':|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|347|error: `mCollisionModel' was not declared in this scope|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|348|error: `mNxActorUserData' was not declared in this scope|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|349|error: `mOwner' was not declared in this scope|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|349|error: `mActor' was not declared in this scope|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|355|error: `Actor' is not a class or namespace|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp||In function `void NxOgre::simulate(float)':|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|356|error: `shapeSimulate' was not declared in this scope|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|361|error: `Actor' is not a class or namespace|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|367|error: `Actor' is not a class or namespace|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp||In function `void NxOgre::shapeSimulate(float)':|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|368|error: `Shape' was not declared in this scope|
C:\Ogre\nxogre\NxOgre\source\NxOgreActor.cpp|368|error: `shape' was not declared in this scope|
||=== Build finished: 142 errors, 2 warnings ===|

gugus

23-06-2008 07:26:09

If you use MinGW,i think you are wasting your time,physx DLLs won't work(there have been few try in the forum,including me),but if you are using the Visual C++ compiler,you should just add in the project the location of the include of the PhysX SDK.

fatpwnage

23-06-2008 17:11:18

If you look at those errors you will notice they are all in NxOgreActor.cpp.

If you look closer you will notice that they are all "X is not declaired in this scope" errors. These errors are caused by missing headers. So really you have one error; the compiler can't find the headers. Meaning this is not a problem with NxOgre, it is a problem with your build setup, make sure your directories are configured correctly, etc.