Hi, The compile phase seems to work, but when it comes to the linking there is something missing:
1>Link: 1> zlib.lib(crc32.obj) : MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG; add /LTCG to the link command line to improve linker performance 1> Creating library Release_DLL\gdal_i-vc10.lib and object Release_DLL\gdal_i-vc10.exp 1>rasterio.obj : error LNK2001: unresolved external symbol "public: int __thiscall CPLStringList::Count(void)const " (?Count@CPLStringList@@QBEHXZ) 1>gdalproxypool.obj : error LNK2001: unresolved external symbol "public: int __thiscall CPLStringList::Count(void)const " (?Count@CPLStringList@@QBEHXZ) 1>gdalrasterband.obj : error LNK2001: unresolved external symbol "public: int __thiscall CPLStringList::Count(void)const " (?Count@CPLStringList@@QBEHXZ) 1>gdalrasterblock.obj : error LNK2001: unresolved external symbol "public: int __thiscall CPLStringList::Count(void)const " (?Count@CPLStringList@@QBEHXZ) 1>overview.obj : error LNK2001: unresolved external symbol "public: int __thiscall CPLStringList::Count(void)const " (?Count@CPLStringList@@QBEHXZ) 1>gdalpamdataset.obj : error LNK2001: unresolved external symbol "public: int __thiscall CPLStringList::Count(void)const " (?Count@CPLStringList@@QBEHXZ) 1>gdalpamproxydb.obj : error LNK2001: unresolved external symbol "public: int __thiscall CPLStringList::Count(void)const " (?Count@CPLStringList@@QBEHXZ) 1>gdalpamrasterband.obj : error LNK2001: unresolved external symbol "public: int __thiscall CPLStringList::Count(void)const " (?Count@CPLStringList@@QBEHXZ) 1>gdalproxydataset.obj : error LNK2001: unresolved external symbol "public: int __thiscall CPLStringList::Count(void)const " (?Count@CPLStringList@@QBEHXZ) ... And so on until it breaks. CPLStringlist should require gdal_priv.h which resides in directory "D:\MsVS2010\Projects\gdal-1.9.0\gcore", but it makes no difference if I add it to "Additional Include Directories" Regards /Hans -----Ursprungligt meddelande----- Från: Martin Chapman [mailto:[email protected]] Skickat: den 11 april 2012 22:56 Till: 'Frank Warmerdam'; Hans Jonsson Kopia: [email protected] Ämne: RE: [gdal-dev] Microsoft VS 2010 - build of GDAL 1.9 does not work Microsoft VS 2010 - build of GDAL 1.9 64 and 32 bit works for me. Best regards, Martin -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Frank Warmerdam Sent: Wednesday, April 11, 2012 12:56 PM To: Hans Jonsson Cc: [email protected] Subject: Re: [gdal-dev] Microsoft VS 2010 - build of GDAL 1.9 does not work Hans, If you can't be more specific I don't think you should be mailing such a broad mailing list! Please capture the first actual build error, and provide notes on anything unusual about how you are building, tools, etc. I'm pretty sure I've build GDAL 1.9 with the makefiles and VS2010, so the devil will be in the details. Best regards, Frank On Wed, Apr 11, 2012 at 11:41 AM, Hans Jonsson <[email protected]> wrote: > CPL string something > > /Hans_______________________________________________ > gdal-dev mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/gdal-dev -- ---------------------------------------+-------------------------------- ---------------------------------------+------ I set the clouds in motion - turn up | Frank Warmerdam, [email protected] light and sound - activate the windows | http://pobox.com/~warmerdam and watch the world go round - Rush | Geospatial Software Developer _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
