c# module on mono/linux: drawmap sample produces runtime error
Running the drawmap.exe sample on Mono / Linux produces the following error:
mono: symbol lookup error: libmapscript.so: undefined symbol: pj_init
This is Mono 1.1.12.1. I tried SWIG version 1.3.25 and 1.3.27. It might not be
related, but I got some warnings when building:
gcc -fpic -c -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_TTF
-DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DGD_HAS_GDIMAGEGIFPTR
mapscript_wrap.c
mapscript_wrap.c: In function `CSharp_imageObj_getBytes':
mapscript_wrap.c:24976: warning: `return' with a value, in function returning void
mapscript_wrap.c:24984: warning: `return' with a value, in function returning void
mapscript_wrap.c:24992: warning: `return' with a value, in function returning void
mapscript_wrap.c:25000: warning: `return' with a value, in function returning void
mapscript_wrap.c:25008: warning: `return' with a value, in function returning void
mapscript_wrap.c:25016: warning: `return' with a value, in function returning void
Change History
(8)
Cc: |
szekeres.tamas@… added
|
Owner: |
changed from sdlime to szekerest
|
Resolution: |
→ fixed
|
Status: |
new → closed
|
Component: |
MapScript → MapScript-C#
|