CSharp MapScript doesn't like AGG

Tamas Szekeres szekerest at GMAIL.COM
Thu Aug 30 11:58:29 EDT 2007


Mike,

I haven't tried the csharp+agg combination on linux so far. It's
working pretty well on windows and I've expected to do the same on
linux. Since we've a high priority in the agg related issues to be
fixed for the 5.0 release then please submit a ticket on this issue.
(Including the full exception message). I'll take care of the issue
ASAP.

Note: The C# related linux 64 bit support is quite in a preliminary
state. According to the current phase of the release process this part
of the problems (I've some other tickets as well) might be pushed to
the 5.2 release due to the limited time we have to track everything
down.


Best regards,


Tamas


2007/8/30, Mike Leahy <mgleahy at golden.net>:
> Hello list,
>
> It looks like CSharp doesn't like to be compiled with AGG support. That is,
> the module will appear to compile, but make test fails, as does its use with
> other .Net apps.  The output is the usual "Unhandled Exception:
> System.TypeInitializationException: An exception was thrown by the type
> initializer for OSGeo.MapServer.mapscriptPINVOKE ---> [etc., etc., ...]".
>
> If I recompile without adding --with-agg=/usr to my configure options, it'll
> work as expected. I'm not sure what the problem is, but this is now added to
> what appears to be a growing list of compile options that I need to be leave
> out for CSharp to work (this already includes --enable-coverage
> --with-fastcgi=/usr, as discussed earlier).
>
> This problem occurs for both 64-bit and 32-bit platforms that I am using.
>
> Should I file a bug, or is this a known issue that I may have missed?
>
> Regards,
> Mike
>



More information about the mapserver-dev mailing list