You should be linking against gdal_i.lib. Marty
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of James Farrell Sent: Monday, May 21, 2012 9:23 AM To: Mateusz Loskot Cc: [email protected] Subject: RE: [gdal-dev] Microsoft VS 2010 - build of GDAL 1.9 does not work Thanks, Mateusz I see the source code now. I'm linking against gdal.lib. Shouldn't CPLStringLists's functions be in that library? Did I somehow build it incorrectly? Thanks again! James -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Mateusz Loskot Sent: Monday, May 21, 2012 11:10 AM To: James Farrell Cc: [email protected] Subject: Re: [gdal-dev] Microsoft VS 2010 - build of GDAL 1.9 does not work On 21 May 2012 15:41, James Farrell <[email protected]> wrote: > I cannot find a definition for Count() anywhere. > > We are not using CPLStringList in our code, but there is other code > within GDAL that uses it. Are we supposed to make our own Count() > function? Where is this supposed to live? Look at port/cplstringlist.cpp Best regards, -- Mateusz Loskot, http://mateusz.loskot.net _______________________________________________ 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
