Im trying to recompile my mapserver binaries to match the latest stable release (4.6.2). Last year, I successfully compiled Mapserver from source (4.2.2) with all of the options I wanted in a Win32 environment. So, I have a basic understanding of what Im doing although Im certainly not a pro at compiling C code in windows.
Ive followed the Win32 Compilation and Installation How-To document very closely and am first trying to build a very basic version (only GD, Regex, and PROJ included). When I compile Mapserver, it seems to fail although there is no message to that effect. The last message in the window (besides writing to mapscriptvars) is the following: shptreevis.c link shptreevis.obj mapserver_i.lib c:/projects/gd/gdwin32/bgd.lib C:\projects\proj\proj-4.4.9/src/proj_i.lib The output of mapscriptvars is as follows: C:\projects\mapserver\mapserver-4.6.2 -DHAVE_STRING_H -DREGEX_MALLOC -DNEED_STRCASECMP -DNEED_STRNCASECMP -DNEED_STRLCAT -DWIN32 -D_WIN32 -DUSE_PROJ -DUSE_PROJ_API_H -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_GIF -DGD_HAS_GDIMAGEGIFPTR -DUSE_GD_FT -DGD_HAS_GETBITMAPFONT -DUSE_WMS_SVR -DIGNORE_MISSING_DATA -DENABLE_STDERR_DEBUG -DUSE_GD_ANTIALIAS -Ic:/projects/gd/gdwin32 -Ic:\projects\proj\proj-4.4.9/src -Ic:\projects\regex\regex-0.12 mapserver_i.lib c:/projects/gd/gdwin32/bgd.lib c:\projects\proj\proj-4.4.9/src/proj_i.lib mapserver.lib c:/projects/gd/gdwin32/bgd.lib c:\projects\proj\proj-4.4.9/src/proj_i.lib #define MS_VERSION "4.6.2" I checked all of my directory paths and have verified that bgd.lib and proj_i.lib exist where they should. I get a Mapserver.exe that is only 36K. When I execute Mapserver v at the command prompt, I get the following error: The ordinal 134 could not be located in the dynamic link library bgd.dll Any thoughts on this? Thanks!
