still trying

Xed

03-05-2007 15:40:49

I get source of ogre and compile it - it's okey I get all dll's that i need.
I get nxogre0.6 from latest.nxogre.org/nxorge
I've got more errors at
nxOgre_shape_mesh.cpp
(there are no defination of meshShape class)
and few errors at _world, _errors (it's dont see the function exit(0))

So I decide to comment this errors (fuctions exit(0) and all document of _mesh)
Then i've got nxogre.lib and dll

After I going to tutorials(latest) and start compile it.
Its compile good, but there are error on linking of any project
something like this

MSVCRT.lib(crtexe.obj) : error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup

and sometimes i was comment TUTORIAL_VOIDMAIN at the end of file.

So anybody say to me what i need to do to see some working!!!

P.S. I doing this agree with nxogre.org/installing
I use VS2005SP1 Physx 2.7.0 NxOgre0.6 Ogre3d 1.4.0(from source)

betajaen

03-05-2007 16:53:29

Before you compiled NxOgre did you set up the PHYSX_DIR environmental variable? If you've used a older version then it may be using the headers from that one, rather than the 0.6 one.

I know it all looks daunting, but computers like to be over elaborate with errors, and usually it's one tiny thing that effects it all.

If buildings were made like software, and someone accidently chipped some paint on a piece of wood on the stairs would cause the building to collapse. :wink:

Xed

03-05-2007 17:40:38

Yes my PHISX_DIR is set right.

betajaen

03-05-2007 17:51:24

Alright. When you got 0.6 from the subversion repository, did you just copy the files over the pre-existing one or a new directory?

Xed

03-05-2007 18:19:47

yes.

I've got errors at

nxOgre_world.cpp
nxOgre_error.cpp

exit(0); cant see defination of func

nxOgre_shape_mesh.cpp
cant see meshShape class

betajaen

03-05-2007 18:41:18

It's there, I've doubled checked. You've probably downloaded it incorrectly. Did you use TortoiseSVN?

Xed

04-05-2007 09:33:15

I download it manual.
I insert zip file (that posted on forum for Eihoriot) and it compile without errors except exit(0) with function not define.
What i need to do?

betajaen

04-05-2007 10:04:18

Which zip file? How are you compiling it? And with what?

Xed

04-05-2007 10:22:09

http://get.nxogre.org/0.4.RC3/NxOgrePat ... VS8SP1.zip

without it i've got compile errors at *_mesh.cpp

but i still have (with zip) error of exit(0) fuction in *_world and *_error

betajaen

04-05-2007 11:23:54

That is a patch not the source code, NxOgre isn't just written in two files, it's more like 60-70.

I know your having all sorts of problems, but it seems your skipping over the required reading to get this all done. It shows when you missed the word "patch" in that zip file there. You have to read and understand the instructions before jumping in.

To Install NxOgre 0.4RC3, I've written out the instructions for you. You must have Ogre and PhysX installed before with the environmental variables setup. If you don't know how to set up the environmental variables, when you get to point 8, you have a chance to do it then.

Follow these exactly:-

1. Read all of these instructions before hand.

2. Download this.

3. Unzip it to a directory, i.e; c:/dev/NxOgre/

4. Download this file

5. Unzip that to the desktop

6. Copy the contents of that zip into c:/dev/NxOgre/

7. Click Yes, if Windows asks you if you want to overwrite any files.

8. Make sure your environmental variable for NxOgre points to c:/dev/NxOgre. If your not sure how to do that Read this.

9. Open c:/dev/NxOgre/NxOgre.VC8.sln

10. Set the compiler mode to Release (on the top menu bar) in Visual Studio.

11. Build the solution.

Assuming you've set up the Ogre and PhysX installations properly, and the environmental variables are correctly setup. It'll compile. Once you've done that, post back here, and we'll talk about the tutorials.

Xed

04-05-2007 21:13:21

Hi.

I still trying.... :)

i dont need nxogre0.4, becaus i need vehicle and meshBody and Cloth
to make crashes of my car.........

so i need help in using and compliling nx0.6

betajaen

04-05-2007 21:16:27

Then you should read the instructions on how to get 0.6, everyone else did, and they got it working.

Xed

04-05-2007 21:45:05

one else do i need to compile ogre source with demos and samples or without it?

betajaen

04-05-2007 22:29:15

You need a compiled version of Ogre to work with (*.lib and *.dll), how you deal with this is up to you.

Xed

05-05-2007 12:37:05

Could you give archive with NxOgre0.6 to me?

Xed

05-05-2007 13:29:28

or simple if you give to me nxOgre.lib and nxOgre.dll

betajaen

05-05-2007 18:17:38

No. I've given you the instructions on how to compile it on the previous page. If you can't follow that, then you won't be able to work with NxOgre.

Compiling Ogre and NxOgre is a test, if you fail the test, then you don't have the ability to program with them.

Quite a few of us have "bent our backs backward" helping you, if you don't read, understand and follow what we say. We are going to stop helping you.

Xed

07-05-2007 15:42:46

Oh! I run nxogre! :D

//test ? :lol:

betajaen

07-05-2007 15:55:08

You have it compiled!?

Xed

07-05-2007 17:13:18

Yeah I compile, link, and run nxOgre!
It's great! ))
Now I'm trying to use it in my project. :)