Linux Support

razialx

23-03-2007 15:29:11

What do you think it would take to get this built in Linux.

I am interested in using MOGRE for some casual programming, as I find Ogre to be great, however I use Linux for my primary OS and only use Windows when forced.


From what I have read, MOGRE adds additional information to the binary Ogre libraries that is hooked into through the .NET interface, but not as a wrapper. It appears that it would be possible to have this working in Linux, as I would be amazed that Mono would not support the features needed.


I am willing to do some testing and give it a shot, if you have any input or advice, please let me know.

Thanks
Tim

EDIT:
After reading your build instructions, it seems that it should really be possible... Unless there is something in the Mono compiler that would prevent it from compiling the Mogre solution. I will have to give it a shot.

http://www.mono-project.com/CPlusPlus
Hmm...
I suppose I will need to produce CIL code at home (where I have a Windows Machine) and build Mogre from that.

Question: Can Mogre be built with the /clr:safe flag?

handcircus

23-03-2007 16:39:01

I bought a MacBook Pro recently and I'd be really keen to get Mogre running under Mono on OSX for the same reasons (so I dont need to keep going into BootCamp). If theres anything I can do to help, please let me know!

razialx

23-03-2007 16:43:18

Well, I used to dual boot on my laptop, but I really never dual booted. I just need to get home I suppose and try and build Mogre into CIL code.


After that I am going to try and build a Monodevelop solution for Mogre, and ensure that the included Ogre code can be built with gcc still (test makefiles etc).

If I get that working, I will let you know, because really it should be the same build process for you on the Mac (Unless i am missing something fundamental here).


Thanks for the interest!
Tim

Bekas

23-03-2007 20:56:43

From what I have read, MOGRE adds additional information to the binary Ogre libraries that is hooked into through the .NET interface, but not as a wrapper. It appears that it would be possible to have this working in Linux, as I would be amazed that Mono would not support the features needed.
There's C++/CLI code added to the OgreMain library, gcc won't be able to handle it. Maybe if it can be replaced with embedding Mono API code..

Question: Can Mogre be built with the /clr:safe flag?
Nope, maybe /clr:pure can be of benefit. (another idea is getting both Ogre and Mogre compiled with /clr:pure..)

At one time, I looked into getting the current Mogre binary working for Mono but I found so many obstacles that I gave up. Maybe you can do better, If you have any questions let me know.