c# + mapscript...

Sean Gillies sgillies at FRII.COM
Fri Mar 4 06:49:00 PST 2005


On Mar 4, 2005, at 7:40 AM, maluche at inf.ufsc.br wrote:

> I tried compile mapscript c#, but I got this error:
>
> pls help
>
> thx
>
>
> -------
>
>
> C:mapsourcemapserver-4.4.1mapscriptcsharp>nmake /f Makefile.vc
>
> Microsoft (R) Program Maintenance Utility Version 7.10.3077
> Copyright (C) Microsoft Corporation.  All rights reserved.
>
> swig -csharp -o mapscript_wrap.c ../mapscript.i
> cl /nologo /Zi /W3 /DDEBUG -DWIN32 -D_WIN32 -c:/projects/gdwin32      -
> Ic:projectsregex-0.12              -DHAVE_STRING_H -DREGEX_MALLOC
> -NEED_STRCA
> SECMP -DNEED_STRNCASECMP -DNEED_STRLCAT   -DWIN32 -D_WIN32
> -DUSE_GD_PNG
> -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_GIF -DGD_HAS_GDIMAGEGIFPTR
> -DUSE_GD_FT
> -DGD_HAS_GETBITMAPFONT      -DIGNORE_MISSING_DATA
> -DENABLE_STDERR_DEBUG
>    -DUSE_GD_ANTIALIAS     -../.. /DCOMPILE_DL=1 /c mapscript_wrap.c
> /Fomapscript_wrap.obj mapscript_wrap.c
> c:mapsourcemapserver-4.4.1mapsymbol.h(39) : fatal error C1083: Cannot
> open
> include file: ''gd.h'': No such file or directory
> NMAKE : fatal error U1077: ''cl'' : return code ''0x2''
> Stop.
>

I'm forwarding this on to the mapserver-users list.

The C# Makefile.vc file will need to be edited by hand so that all
include and library paths are valid.

cheers,
Sean

--
Sean Gillies
sgillies at frii dot com
http://users.frii.com/sgillies



More information about the MapServer-users mailing list