[FWTools] Connecting FWTools/OGR to g++

Chris Everhart chris_everhart at hotmail.com
Fri Jul 14 16:36:57 EDT 2006


Frank,

Will I have to set any paths?

Thanks


>From: Frank Warmerdam <warmerdam at pobox.com>
>To: Chris Everhart <chris_everhart at hotmail.com>
>CC: fwtools at lists.maptools.org
>Subject: Re: [FWTools] Connecting FWTools/OGR to g++
>Date: Fri, 14 Jul 2006 15:23:19 -0400
>
>Chris Everhart wrote:
>>Hi FWTools list,
>>
>>I would like to start learning how to use ogr with C/C++.  I am using 
>>MSys/MingW's compiler and I installed FWTools with the executable.  How 
>>would I go about getting g++ to use ogr?
>>
>>Obviously I am a newbie, so any help is appreciated.
>
>Christian,
>
>FWTools is compiled with Visual Studio, and I *think* that the C++ calling
>conventions are different between MingW/g++ and VisualC++.  But I think you
>could do it using the C API instead, which I believe has compatible
>calling conventions between different compilers.
>
>The following API tutorial should be helpful. Unfortunately it primarily
>addresses the C++ API:
>
>   http://www.gdal.org/ogr/ogr_apitut.html
>
>Good luck,
>--
>---------------------------------------+--------------------------------------
>I set the clouds in motion - turn up   | Frank Warmerdam, 
>warmerdam at pobox.com
>light and sound - activate the windows | http://pobox.com/~warmerdam
>and watch the world go round - Rush    | President OSGF, http://osgeo.org
>

_________________________________________________________________
Is your PC infected? Get a FREE online computer virus scan from McAfee® 
Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963



More information about the FWTools mailing list