[Mapserver-users] getting gd to compile under vc++

Administrator jnovak at novacell.com
Sun Dec 22 16:52:20 EST 2002


Make sure you've defined the following preprocessor directives:

_LIB
MSWIN32
HAVE_LIBJPEG
HAVE_LIBTIFF
HAVE_LIBPNG

John Novak
Novacell Technologies

-----Original Message-----
From: Ted Bullock [mailto:t-bullock at shaw.ca] 
Sent: Sunday, December 22, 2002 1:33 AM
To: mapserver-users at lists.gis.umn.edu
Subject: [Mapserver-users] getting gd to compile under vc++


I am wondering if anybody tell me how to get the gd library compiled
under
vc++ (with freetype, jpeg.... etc)  Actually the library compiles fine 
vc++ but
when I test it using the demo program from boutells site the linker
complains about these

gdtest1.obj : error LNK2001: unresolved external symbol _gdImageJpeg
gdtest1.obj : error LNK2001: unresolved external symbol _gdImagePng

The rest of the functions from the demo seem to work but these don't.

I would really like to compile this myself so picking a version of the
precompiled binaries isn't really the sort of advice that I am looking
for.

Thanks to anyone who can point me in the right direction


_______________________________________________
Mapserver-users mailing list
Mapserver-users at lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users




More information about the mapserver-users mailing list