[Gdal-dev] compiling GDAL 1.2.0 on Cygwin

Richard Greenwood rich at greenwoodmap.com
Mon Mar 29 23:32:23 EST 2004


Frank Warmerdam wrote:
> Richard Greenwood wrote:
> 
>> When I ./configure under Cygwin it fails with:
>>    checking how to run the C++ preprocessor... /lib/cpp
>>    configure: error: C++ preprocessor "/lib/cpp" fails sanity check

> Richard,
> 
> I think this problem is that you need to install some special additional
> C++ package.  It used to be part of the gcc package but sometime in the 
> last
> year it was split into a seperate package that requires a seperate install
> step.  Norman Vine turned me on to this a month or two ago.  Check in your
> Cygwin setup compiler package list for something c++ish.

Thanks. That was it: 'gcc-g++'. I had been avoiding Cygwin updates in a 
failed attempt at backward compatibility.

Best regards,
-- 
Richard Greenwood
www.greenwoodmap.com



More information about the Gdal-dev mailing list