[Gdal-dev] compiling mapserver 4.0 with gdal support on VC7
Ed McNierney
ed at topozone.com
Thu Dec 11 09:55:22 EST 2003
Yvain -
This looks like a mismatched set of compile/build options. I build GDAL all the time with VC7 and I find it's one of the cleanest builds in the MapServer suite. I would do a "clean" and then rebuild everything; if the problem persists, you probably have mismatched compiler options for some of the modules. Have you edited the compiler switches from the default distribution?
- Ed
Ed McNierney
President and Chief Mapmaker
TopoZone.com / Maps a la carte, Inc.
73 Princeton Street, Suite 305
North Chelmsford, MA 01863
ed at topozone.com
(978) 251-4242
-----Original Message-----
From: Ballini Yvain [mailto:Ballini.Yvain at seat.it]
Sent: Thursday, December 11, 2003 4:23 AM
To: gdal-dev at remotesensing.org
Subject: [Gdal-dev] compiling mapserver 4.0 with gdal support on VC7
Hi,
I'm trying to recompile mapserver 4.0 with OGR support (on Windows XP with VC7).
Without the gdal support, it's everything ok but adding the gdal support introduces a lot of problem during the recompilation of mapserver.
When I run the makefile.vc of mapserver, it gives me the following errors for gdal 1.1.9:
cpl.lib(cpl_error.obj) : error LNK2019: unresolved external symbol __imp___vsnpr intf referenced in function _CPLDebug
cpl.lib(cpl_string.obj) : error LNK2019: unresolved external symbol __imp___vsnp rintf referenced in function _CSLSave
cpl.lib(cpl_vsisimple.obj) : error LNK2019: unresolved external symbol __imp__fp uts referenced in function _VSIFPuts
cpl.lib(cpl_vsisimple.obj) : error LNK2019: unresolved external symbol __imp__mk dir referenced in function _VSIMkdir
OLDNAMES.lib(mkdir.obi) : error LNK2001: unresolved external symbol __imp__mkdir
cpl.lib(cpl_vsisimple.obj) : error LNK2019: unresolved external symbol __imp__rm dir referenced in function _VSIRmdir
OLDNAMES.lib(rmdir.obi) : error LNK2001: unresolved external symbol __imp__rmdir
cpl.lib(cpl_string.obj) : error LNK2019: unresolved external symbol __imp__strer ror referenced in function _CSLSave
cpl.lib(cpl_string.obj) : error LNK2019: unresolved external symbol __imp___errn o referenced in function _CSLSave
cpl.lib(cpl_dir.obj) : error LNK2019: unresolved external symbol __imp___findclo se referenced in function _CPLReadDir
cpl.lib(cpl_dir.obj) : error LNK2019: unresolved external symbol __imp___findnex t referenced in function _CPLReadDir
cpl.lib(cpl_dir.obj) : error LNK2019: unresolved external symbol __imp___findfir st referenced in function _CPLReadDir
OLDNAMES.lib(mkdir.obi) : error LNK2001: unresolved external symbol __imp___mkdi r
OLDNAMES.lib(rmdir.obi) : error LNK2001: unresolved external symbol __imp___rmdi r mapserv.exe : fatal error LNK1120: 11 unresolved externals NMAKE : fatal error U1077: 'link' : return code '0x460'
Stop.
Does someone know if there is a better version for compiling with VC7 ?
Thanks.
Yvain Ballini.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20031211/94d91f17/attachment.html
More information about the Gdal-dev
mailing list