Compiling for C#

Sean Gillies sgillies at FRII.COM
Mon Dec 27 11:27:27 PST 2004


On Dec 27, 2004, at 12:27 PM, Abe Gillespie wrote:

> Not too long ago I noticed a "csharp" directory in the mapscript branch
> of the source tree.  I tried to compile whatever's in there.  I get
> this error:
>
> /usr/bin/ld: cannot find -lttf
> collect2: ld returned 1 exit status
> make: *** [mapscript_so] Error 1
>
> It looks like a true-type library?  I thought in the the open source
> world this was included in the freetype library.  Might someone know
> what I'm missing / point me where to get it.
>
> Also, am I jumping the gun here?  I've seen no mention of a .Net API
> and maybe it's too early to start playing around with it.
>
> Thanks.
> -Abe
>
> Happy holidays!

Abe,

The C# stuff was contributed by YK Choo a few months ago.  He claims it
works for him, and I was able to get it to compile, so we thought it
was worth committing it to our CVS.  It does not build as smoothly as
other language modules.  You'll need to hack the Makefile.  See line
15.

Jumping the gun?  You're certainly heading off the beaten path here,
but why not try it out?

cheers,
Sean

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



More information about the MapServer-users mailing list