Mogre under MacOS

imi

02-06-2010 12:50:58

Hi,

anyone got anything done to get Mogre working under MacOS?

So far, I have identified the following possibilities:

1. Running Mogre with Wine:
Problem: Seems like darwine does not support .NET 3.5, which is required in the project I am working on (and possibly also by mogre?)

2. Changing Mogre to use P/Invoke instead of Managed C++ / CLI. Then use Mono + Mogre
Problem: Uh.. oh.. too big to chew for me. Is this desireable? Is this even possible?

3. Compiling Mogre under GCC with IL as target
Problem: Seems like not even C++ is unsupported yet, so until this works with the CLI extension will take some time...

4. Using something different. :(. Like OgreDotNet (outdated) or Axiom (even more outdated).
Any news here? Anyone still building packages with OgreDotNet?

Ciao, Imi.

GantZ

02-06-2010 16:06:30

Hi,

1. Running Mogre with Wine:
Problem: Seems like darwine does not support .NET 3.5, which is required in the project I am working on (and possibly also by mogre?)


Mogre require the .NET 2 framework to run, so it could be possible if you target .NET 2.0 (still, not sure if it would work at all, never tried mogre with wine)


2. Changing Mogre to use P/Invoke instead of Managed C++ / CLI. Then use Mono + Mogre
Problem: Uh.. oh.. too big to chew for me. Is this desireable? Is this even possible?


That would mean creating a new wrapper, way too much work IMHO, for a probable significant performance drop. You can also see there for a p/invoke wrapper : http://www.ogre3d.org/forums/viewtopic.php?f=11&t=57833. It's in the beta stage ATM.

3. Compiling Mogre under GCC with IL as target
There is some project which goal is to add cli extension to gcc, but it seem they are not usable yet. (or even active).

4. Using something different. . Like OgreDotNet (outdated) or Axiom (even more outdated).
Seem to be the most advanced solution atm, dunno if you could update it easily, but at least it's more manageable than previous solutions.

Also, wouldn't be possible to expose ogre functions to csharp using mono scripting facilities ? http://www.mono-project.com/Scripting_With_Mono. Still, this seem to be a lot of work.