Building and using NxOgre on Linux - Possible?

Mononofu

05-07-2009 18:21:48

While I'm currently using OgreNewt, I'm not really satisfied, and I suspect that it is causing my crashes when building with optimizations.
To test this, and because I like the clothing system of PhysX, I would like to try NxOgre.
However, there are no build files or instructions for linux, only Visual Studio project files.

Could you tell me which libs I have to link against so I can write a small cmake build file?

betajaen

05-07-2009 18:52:11

Sadly there are no official way of using NxOgre in Linux. But people have used it in it before. I would suggest doing a good old search and seeing what you can find.

Mononofu

05-07-2009 20:28:03

I figured that, I just wanted to know to which external libraries you are linking to on Windows, so it would be easier to write the build files for cmake. Or is it just PhysX?

betajaen

05-07-2009 21:02:58

Bloody Mess only links to PhysX, and Bleeding to PhysX and Ogre.

It shouldn't be to difficult to create a build script. The include and source are in the same directory, and the PhysX headers and libs should be in one place. The only odd thing is that once the build is complete; it copies the platform specific headers and libraries into the sdk directory. Apart from that NxOgre is pretty normal.

Mononofu

05-07-2009 21:29:56

Well, then I will try to throw something together in the next few days. If I'm successful, I will post my results here so you can include them in the next release if you want.

betajaen

05-07-2009 22:17:37

Looking forward to it.

Remember in the build directory; create a "linux-cmake" folder to place your bits in. You can base it on the msvc folder, just make sure you change the related platform headers for Linux.