Solution for Linux + Mono + Irrlicht issue?

Irrlicht.Net is no longer developed or supported, Irrlicht.Net Cross Platform is a much more complete wrapper. Please ask your C# related questions on their forums first.
Locked
Norilon

Solution for Linux + Mono + Irrlicht issue?

Post by Norilon »

Hello everyone,

As far as I read it is not possible to use irrlicht with mono under linux, because mono can't handle mixed mode asseblies.
Now, isn't it possible to compile irrlicht + dotnet-wrapper in Visual Studio c++ .NET ? This would produce a real (cli) .NET assembly which could be used under linux as well. Just because it was compiled with ms-compilers doesn't mean you cant run the assemblies in mono.

Or did I miss something?

So long,
Nori
Foole
Posts: 87
Joined: Mon Aug 29, 2005 10:08 am

Post by Foole »

P/Invoke (which works with mono) does not work with C++ libraries.

Visual C++.NET can work with C++ libraries, but it produces mixed mode assemblies, which don't work with mono.

As discussed many times before, the only 2 ways around this are to rewrite the C++ library in a .NET langauge (eg C#) or to write a C/C++ wrapper library (eg using SWIG) and call that from C#.
Locked