When gdal is built in the Strawberry Perl environment (which includes MinGW C/C++ compiler gcc) the subsequent use of libgdal in building other tools (the Perl bindings) is based on using gdal.pc and pkgconfig.

Also, in that environment the linking of gdal with the dependent tools requires explicit listing of the "dep-libs" - which are available through the gdal-config but not from gdal.pc.

In linux including the dep-libs in the g++ command is not needed.

I wonder what would be the correct way to fix the problem.

Ari


_______________________________________________
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to