[gdal-dev] Microsoft VS 2010 - build of GDAL 1.9 does not work

Martin Chapman chapmanm at pixia.com
Mon May 21 14:01:09 EDT 2012


You should be linking against gdal_i.lib.

Marty

-----Original Message-----
From: gdal-dev-bounces at lists.osgeo.org 
[mailto:gdal-dev-bounces at lists.osgeo.org] On Behalf Of James Farrell
Sent: Monday, May 21, 2012 9:23 AM
To: Mateusz Loskot
Cc: gdal-dev at lists.osgeo.org
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: gdal-dev-bounces at lists.osgeo.org 
[mailto:gdal-dev-bounces at lists.osgeo.org] On Behalf Of Mateusz Loskot
Sent: Monday, May 21, 2012 11:10 AM
To: James Farrell
Cc: gdal-dev at lists.osgeo.org
Subject: Re: [gdal-dev] Microsoft VS 2010 - build of GDAL 1.9 does not work

On 21 May 2012 15:41, James Farrell <James.Farrell at delorme.com> 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
gdal-dev at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev



More information about the gdal-dev mailing list