Opened 17 years ago
Closed 17 years ago
#2280 closed defect (fixed)
CSharp MapScript fails at runtime when compiled with AGG support
Reported by: | mgleahy | Owned by: | tamas |
---|---|---|---|
Priority: | normal | Milestone: | 5.0 release |
Component: | MapScript-C# | Version: | 5.0 |
Severity: | normal | Keywords: | agg csharp mapscript |
Cc: |
Description
If --with-agg=/usr is included in my mapserver configure options, then I will output the following error when I try to run my CSharp application:
Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for OSGeo.MapServer.mapscriptPINVOKE ---> System.TypeInitializationException: An exception was thrown by the type initializer for SWIGExceptionHelper ---> System.DllNotFoundException: libmapscript.so
at (wrapper managed-to-native) SWIGExceptionHelper:SWIGRegisterExceptionCallbacks_mapscript (OSGeo.MapServer.mapscriptPINVOKE/SWIGExceptionHelper/ExceptionDelegate,OSGeo.MapServer.mapscriptPINVOKE/SWIGExceptionHelper/ExceptionDelegate,OSGeo.MapServer.mapscriptPINVOKE/SWIGExceptionHelper/ExceptionDelegate,OSGeo.MapServer.mapscriptPINVOKE/SWIGExceptionHelper/ExceptionDelegate,OSGeo.MapServer.mapscriptPINVOKE/SWIGExceptionHelper/ExceptionDelegate,OSGeo.MapServer.mapscriptPINVOKE/SWIGExceptionHelper/ExceptionDelegate,OSGeo.MapServer.mapscriptPINVOKE/SWIGExceptionHelper/ExceptionDelegate,OSGeo.MapServer.mapscriptPINVOKE/SWIGExceptionHelper/ExceptionDelegate,OSGeo.MapServer.mapscriptPINVOKE/SWIGExceptionHelper/ExceptionDelegate,OSGeo.MapServer.mapscriptPINVOKE/SWIGExceptionHelper/ExceptionDelegate,OSGeo.MapServer.mapscriptPINVOKE/SWIGExceptionHelper/ExceptionDelegate) at OSGeo.MapServer.mapscriptPINVOKE+SWIGExceptionHelper..cctor () [0x00000] --- End of inner exception stack trace ---
at <0x00000> <unknown method> at OSGeo.MapServer.mapscriptPINVOKE..cctor () [0x00000] --- End of inner exception stack trace ---
at <0x00000> <unknown method> at OSGeo.MapServer.mapObj..ctor (System.String filename) [0x00000] at PG2Sgtk.frmMain..ctor () [0x00000] at PG2Sgtk.frmMain.Main (System.String[] args) [0x00000]
Change History (4)
comment:1 by , 17 years ago
Component: | MapServer C Library → MapScript-C# |
---|---|
Owner: | changed from | to
comment:2 by , 17 years ago
comment:4 by , 17 years ago
Milestone: | → 5.0 release |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Cool, closing the ticket then.
Committed the fix in the trunk (r6753)