Anybody help me.....

Xed

30-04-2007 17:15:08

I've got few q:

Where i can get nxogre0.9?

What I should do with this? To compile and link the project NxOgre0.6:

/////////////////////////////////////////////////////////////////////////////////////
Error 1 error C2027: use of undefined type 'nxOgre::meshShape'

c:\cd\game_tutors\physX\NxOgre0.6\source\ nxOgre_shape_mesh.cpp 37
Error 2 error C2146: syntax error : missing ')' before identifier 'filename'

c:\cd\game_tutors\physX\NxOgre0.6\source\ nxOgre_shape_mesh.cpp 37
Error 3 error C2146: syntax error : missing ';' before identifier 'filename'

c:\cd\game_tutors\physX\NxOgre0.6\source\ nxOgre_shape_mesh.cpp 37
Error 4 error C2079: 'Ogre::String' uses undefined class 'nxOgre::meshShape'

c:\cd\game_tutors\physX\NxOgre0.6\source\ nxOgre_shape_mesh.cpp 37
Error 5 error C2377: 'Ogre::String' : redefinition; typedef cannot be overloaded with any other symbol

c:\cd\game_tutors\physX\NxOgre0.6\source\ nxOgre_shape_mesh.cpp 37
Error 6 error C2888: 'Ogre::_StringBase Ogre::String' : symbol cannot be defined within namespace 'nxOgre'

c:\cd\game_tutors\physX\NxOgre0.6\source\ nxOgre_shape_mesh.cpp 37
Error 7 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

c:\cd\game_tutors\physX\NxOgre0.6\source\ nxOgre_shape_mesh.cpp 37
Error 8 error C2146: syntax error : missing ';' before identifier '_params'

c:\cd\game_tutors\physX\NxOgre0.6\source\ nxOgre_shape_mesh.cpp 37
Error 9 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

c:\cd\game_tutors\physX\NxOgre0.6\source\ nxOgre_shape_mesh.cpp 37
Error 10 error C2936: 'nxOgre::params<collisionmodel>' : template-class-id redefined as a global data variable

c:\cd\game_tutors\physX\NxOgre0.6\source\ nxOgre_shape_mesh.cpp 37
Error 11 error C2059: syntax error : ')' c:\cd\game_tutors\physX\NxOgre0.6\source\ nxOgre_shape_mesh.cpp 37
Error 12 error C2470: '_params' : looks like a function definition, but there is no parameter list; skipping apparent body

c:\cd\game_tutors\physX\NxOgre0.6\source\ nxOgre_shape_mesh.cpp 37
Error 13 error C2065: '_params' : undeclared identifier c:\cd\game_tutors\physX\NxOgre0.6\source\ nxOgre_shape_mesh.cpp

37
Error 14 error C2027: use of undefined type 'nxOgre::meshShape'

c:\cd\game_tutors\physX\NxOgre0.6\source\ nxOgre_shape_mesh.cpp 45
Error 15 error C2065: 'mFilename' : undeclared identifier c:\cd\game_tutors\physX\NxOgre0.6\source\ nxOgre_shape_mesh.cpp

46
Error 16 error C3861: '__LoadFromNXS': identifier not found

c:\cd\game_tutors\physX\NxOgre0.6\source\ nxOgre_shape_mesh.cpp 47
Error 17 error C3861: '__CookFromOgreMesh': identifier not found

c:\cd\game_tutors\physX\NxOgre0.6\source\ nxOgre_shape_mesh.cpp 50
Error 18 error C2065: 'mParams' : undeclared identifier c:\cd\game_tutors\physX\NxOgre0.6\source\ nxOgre_shape_mesh.cpp

53
Error 19 error C2228: left of '.mMaterial' must have class/struct/union

c:\cd\game_tutors\physX\NxOgre0.6\source\ nxOgre_shape_mesh.cpp 53
Error 20 error C2065: 'mShapeDesc' : undeclared identifier c:\cd\game_tutors\physX\NxOgre0.6\source\ nxOgre_shape_mesh.cpp

54
Error 21 error C2228: left of '.materialIndex' must have class/struct/union

c:\cd\game_tutors\physX\NxOgre0.6\source\ nxOgre_shape_mesh.cpp 54
Error 22 error C2228: left of '.mMaterial' must have class/struct/union

c:\cd\game_tutors\physX\NxOgre0.6\source\ nxOgre_shape_mesh.cpp 54
Error 23 error C2228: left of '.mGroup' must have class/struct/union

c:\cd\game_tutors\physX\NxOgre0.6\source\ nxOgre_shape_mesh.cpp 56
Error 24 error C2228: left of '.group' must have class/struct/union

c:\cd\game_tutors\physX\NxOgre0.6\source\ nxOgre_shape_mesh.cpp 57
Error 25 error C2228: left of '.mGroup' must have class/struct/union

c:\cd\game_tutors\physX\NxOgre0.6\source\ nxOgre_shape_mesh.cpp 57
Error 26 error C2228: left of '.userData' must have class/struct/union

c:\cd\game_tutors\physX\NxOgre0.6\source\ nxOgre_shape_mesh.cpp 59
Error 27 error C2673: 'std::__bindToActorDescription' : global functions do not have 'this' pointers

c:\cd\game_tutors\physX\NxOgre0.6\source\ nxOgre_shape_mesh.cpp 59
Error 28 error C2027: use of undefined type 'nxOgre::meshShape'

c:\cd\game_tutors\physX\NxOgre0.6\source\ nxOgre_shape_mesh.cpp 67
Error 29 error C2228: left of '.meshData' must have class/struct/union

c:\cd\game_tutors\physX\NxOgre0.6\source\ nxOgre_shape_mesh.cpp 68
Error 30 error C2228: left of '.c_str' must have class/struct/union

c:\cd\game_tutors\physX\NxOgre0.6\source\ nxOgre_shape_mesh.cpp 68
Error 31 error C2027: use of undefined type 'nxOgre::meshShape'

c:\cd\game_tutors\physX\NxOgre0.6\source\ nxOgre_shape_mesh.cpp 73
Error 32 error C2228: left of '.get' must have class/struct/union

c:\cd\game_tutors\physX\NxOgre0.6\source\ nxOgre_shape_mesh.cpp 96
Error 33 error C2673: 'std::__CookFromOgreMesh' : global functions do not have 'this' pointers

c:\cd\game_tutors\physX\NxOgre0.6\source\ nxOgre_shape_mesh.cpp 217
Error 34 error C2228: left of '.name' must have class/struct/union

c:\cd\game_tutors\physX\NxOgre0.6\source\ nxOgre_shape_mesh.cpp 217
Error 35 error C2228: left of '.meshData' must have class/struct/union

c:\cd\game_tutors\physX\NxOgre0.6\source\ nxOgre_shape_mesh.cpp 220
Error 36 error C2027: use of undefined type 'nxOgre::heightfieldShape'

c:\cd\game_tutors\physX\NxOgre0.6\source\ nxOgre_shape_mesh.cpp 253
Error 37 error C2143: syntax error : missing ')' before 'const'

c:\cd\game_tutors\physX\NxOgre0.6\source\ nxOgre_shape_mesh.cpp 253
Error 38 error C2143: syntax error : missing ';' before 'const'

c:\cd\game_tutors\physX\NxOgre0.6\source\ nxOgre_shape_mesh.cpp 253
Error 39 error C2079: 'Ogre::String' uses undefined class 'nxOgre::heightfieldShape'

c:\cd\game_tutors\physX\NxOgre0.6\source\ nxOgre_shape_mesh.cpp 253
Error 40 error C2086: 'int Ogre::String' : redefinition c:\cd\game_tutors\physX\NxOgre0.6\source\ nxOgre_shape_mesh.cpp

253
Error 41 error C2888: 'int Ogre::String' : symbol cannot be defined within namespace 'std'

c:\cd\game_tutors\physX\NxOgre0.6\source\ nxOgre_shape_mesh.cpp 253
Error 42 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

c:\cd\game_tutors\physX\NxOgre0.6\source\ nxOgre_shape_mesh.cpp 253
Error 43 error C2530: 'std::_filename' : references must be initialized

c:\cd\game_tutors\physX\NxOgre0.6\source\ nxOgre_shape_mesh.cpp 254
Error 44 error C2062: type 'float' unexpected c:\cd\game_tutors\physX\NxOgre0.6\source\ nxOgre_shape_mesh.cpp 254
Error 45 error C2059: syntax error : ')' c:\cd\game_tutors\physX\NxOgre0.6\source\ nxOgre_shape_mesh.cpp 258
Error 46 error C2470: '_params' : looks like a function definition, but there is no parameter list; skipping apparent body

c:\cd\game_tutors\physX\NxOgre0.6\source\ nxOgre_shape_mesh.cpp 259
Error 47 error C2027: use of undefined type 'nxOgre::heightfieldShape'

c:\cd\game_tutors\physX\NxOgre0.6\source\ nxOgre_shape_mesh.cpp 353
Error 48 error C2059: syntax error : ')' c:\cd\game_tutors\physX\NxOgre0.6\source\ nxOgre_shape_mesh.cpp 353
Error 49 error C2143: syntax error : missing ';' before '{' c:\cd\game_tutors\physX\NxOgre0.6\source\ nxOgre_shape_mesh.cpp

353
Error 50 error C2447: '{' : missing function header (old-style formal list?)

c:\cd\game_tutors\physX\NxOgre0.6\source\ nxOgre_shape_mesh.cpp 353
Error 51 error C2027: use of undefined type 'nxOgre::heightfieldShape'

c:\cd\game_tutors\physX\NxOgre0.6\source\ nxOgre_shape_mesh.cpp 357
Error 52 error C2084: function 'void std::__bindToActorDescription(nxOgre::body *,NxArray<ElemType,AllocType> &)' already has

a body c:\cd\game_tutors\physX\NxOgre0.6\source\ nxOgre_shape_mesh.cpp 357
Error 53 error C2228: left of '.mMaterial' must have class/struct/union

c:\cd\game_tutors\physX\NxOgre0.6\source\ nxOgre_shape_mesh.cpp 360
Error 54 error C2228: left of '.materialIndex' must have class/struct/union

c:\cd\game_tutors\physX\NxOgre0.6\source\ nxOgre_shape_mesh.cpp 361
Error 55 error C2228: left of '.mMaterial' must have class/struct/union

c:\cd\game_tutors\physX\NxOgre0.6\source\ nxOgre_shape_mesh.cpp 361
Error 56 error C2228: left of '.mGroup' must have class/struct/union

c:\cd\game_tutors\physX\NxOgre0.6\source\ nxOgre_shape_mesh.cpp 363
Error 57 error C2228: left of '.group' must have class/struct/union

c:\cd\game_tutors\physX\NxOgre0.6\source\ nxOgre_shape_mesh.cpp 364
Error 58 error C2228: left of '.mGroup' must have class/struct/union

c:\cd\game_tutors\physX\NxOgre0.6\source\ nxOgre_shape_mesh.cpp 364
Error 59 error C2228: left of '.userData' must have class/struct/union

c:\cd\game_tutors\physX\NxOgre0.6\source\ nxOgre_shape_mesh.cpp 366
Error 60 error C2673: 'std::__bindToActorDescription' : global functions do not have 'this' pointers

c:\cd\game_tutors\physX\NxOgre0.6\source\ nxOgre_shape_mesh.cpp 366
Error 61 fatal error C1506: unrecoverable block scoping error

c:\cd\game_tutors\physX\NxOgre0.6\source\ nxOgre_shape_mesh.cpp 471
Error 62 error C3861: 'exit': identifier not found c:\cd\game_tutors\physX\NxOgre0.6\source\ nxOgre_error.cpp 50

jchmack

30-04-2007 20:10:31

like i said in the 0.9 thread 0.9 is still being developed so you can't "get" it. As for your errors i'm betting your not linking to nxogre properly.

jchmack

30-04-2007 20:12:59

http://www.nxogre.org/Installing for an installation guide.

betajaen

30-04-2007 20:42:28

http://www.nxogre.org/Installing for an installation guide.

Agreed. You've definitely missed something there. Probably an environmental variable or a missing install of something.

Xed

01-05-2007 10:48:16

Oh!
I use OgreSDK 1.4
Need I use it source, or i can use nxogre with SDK?
(if yes, then how???)

jchmack

01-05-2007 12:23:11

Oh!
I use OgreSDK 1.4
Need I use it source, or i can use nxogre with SDK?
(if yes, then how???)


http://www.nxogre.org/Installing ... lol. Not to be hostile but the first step on that guide says u must dl the souce not the sdk. When i was first installing nxogre i had troubles doing it too http://www.ogre3d.org/phpBB2addons/viewtopic.php?t=2633 but i do promise you EVERYTHING is on that guide. You just have to read it carefully lol. People tend to want to be more helpful if it looks like you are trying to help yourself before asking others.

as for your question you "COULD" link NXOgre to the SDK since all the libs source etc are all there but i find that the source is just as good if not better. Not to mention there are detailed directions to linking from the source here: http://www.nxogre.org/Installing

jchmack

01-05-2007 13:28:44

ooh i gotta correct myself it doesn't have how to set up environmental variables. But thats in the post i had http://www.ogre3d.org/phpBB2addons/viewtopic.php?t=2633 so you should know how to do everything.

edit: nm thats on there too. just read the damn guide.

Xed

01-05-2007 14:41:21

There are no phraze "nxOgre::meshShape" or somethin else at source or SDK headers/cpp, plus this is compile error, and I need run nxogre under SDK. What I need to do? (maybe copy some files into SDK from source? but what files)

p.s. sorry for my english

Xed

01-05-2007 14:51:58

one else:
i have *.lib files at $(PHYSX_DIR)\SDKs\lib\win32

but don't have at

$(PHYSX_DIR)\SDKs\Physics\lib\win32\Release
$(PHYSX_DIR)\SDKs\Cooking\lib\win32\Release
$(PHYSX_DIR)\SDKs\NxCharacter\lib\

anybody can advise me how can i do them there?

odyeiop

01-05-2007 22:04:14

Go to the directory your $(PHYSX_DIR) environmental variable points to. It should have a SDKs\Physics\..etc directories in their. If not, you'll have to change your environmental variables to match up with the SDK directory.