[Gdal-dev] Any possibility of static compile?

Frank Warmerdam warmerdam at pobox.com
Mon Dec 4 15:01:07 EST 2006


Curt, WE7U wrote:
> On Mon, 4 Dec 2006, Collins, Benjamin wrote:
> 
>> I have had success on Win32, Linux, and OSX (PPC + Intel)
> 
> I've linked against libgdal.a but I get 10's or 100's of link errors
> about missing OGR functions.  Are you using any of the vector OGR
> functions or only the raster GDAL functions?  We're pretty much only
> using the OGR functions from the library.

Curt,

I tried building ogrinfo.cpp similarly and it worked fine.

Note that:
  o My build was --without-libtool
  o I built against the libgdal.a in the build directory since I don't
    normally install the static library.

Best regards,
-- 
---------------------------------------+--------------------------------------
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 OSGeo, http://osgeo.org




More information about the Gdal-dev mailing list