[gdal-dev] how to build GDAL180 64-bit on VS2008
=?gbk?B?y87Qoei0?=
talent_sxl at 126.com
Tue Jul 26 20:55:15 EDT 2011
Dear sir,
I've been trying to build GDAL180 64-bit on VS2008 but there are always 163 errors and 2052 warnings. I uncomment WIN64=YES, and try all the ways found on internet, such as commenting ODBC, deleting '@XX' in line 47-50 of makefile.vc, setting up VC++ directories for platform 'x64'. However, errors appear just as before.
A buildlog is attached for your reference.
Creating temporary file "C:\Users\ADMINI~1\AppData\Local\Temp\BAT00000146001360.bat" with contents
[
@echo off
cd d:\gdal\gdal180\gdal-1.8.0\ && nmake -f makefile.vc MSVC_VER=1400 DEBUG=1 clean && nmake -f makefile.vc MSVC_VER=1400 DEBUG=1
if errorlevel 1 goto VCReportError
goto VCEnd
:VCReportError
echo Project : error PRJ0019: A tool returned an error code from "Performing Makefile project actions"
exit 1
:VCEnd
]
Creating command line "C:\Users\ADMINI~1\AppData\Local\Temp\BAT00000146001360.bat"
LINK : error LNK2001: unresolved external symbol _vbSafeArrayToPtr at 16
LINK : error LNK2001: unresolved external symbol _OCTNewCoordinateTransformation at 8
LINK : error LNK2001: unresolved external symbol _GDALDitherRGB2PCT at 28
LINK : error LNK2001: unresolved external symbol _GDALComputeMedianCutPCT at 32
LINK : error LNK2001: unresolved external symbol _GDALReprojectImage at 48
LINK : error LNK2001: unresolved external symbol _GDALSimpleImageWarp at 36
LINK : error LNK2001: unresolved external symbol _OGRRegisterAll
LINK : error LNK2001: unresolved external symbol _OGR_G_GetPointCount
LINK : error LNK2001: unresolved external symbol _OPTGetProjectionMethods
LINK : error LNK2001: unresolved external symbol _OSRValidate
LINK : error LNK2001: unresolved external symbol _OGRFeatureStylePuller
EHapi.obj : error LNK2019: unresolved external symbol __imp_Vinitialize referenced in function EHopen
EHapi.obj : error LNK2019: unresolved external symbol __imp_SDfindattr referenced in function EHopen
GDapi.obj : error LNK2001: unresolved external symbol __imp_SDfindattr
SWapi.obj : error LNK2001: unresolved external symbol __imp_SDfindattr
EHapi.obj : error LNK2019: unresolved external symbol __imp_Hopen referenced in function EHopen
...
Would you please help me with this problem?
Thank you!
Xiaolu Song
2011-07-26
--
Xiaolu Song
Center for Earth Observation and Digital Earth Chinese Academy of Sciences
No.9 Dengzhuang South Road, Haidian District, Beijing 100094, China
Tel: +86-010-82178188 +86-18610335605
Email:talent_sxl at 126.com
Öйú¿ÆѧԺ¶ÔµØ¹Û²âÓëÊý×ÖµØÇò¿ÆѧÖÐÐÄ
±±¾©Êк£µíÇøµËׯÄÏ·9ºÅ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20110727/e8278b94/attachment.html
More information about the gdal-dev
mailing list