linking osgearth 2.10.2 with static gdal and geos

classic Classic list List threaded Threaded
1 message Options
krzysief krzysief
Reply | Threaded
Open this post in threaded view
|

linking osgearth 2.10.2 with static gdal and geos

Hello, i want to use older versions of gdal (2.4.4) and geos (3.7.3) for osgearth, but  in the same project i am using other libraries that depend on newer gdal and geos. so for the other dependencies i want to use system libraries and for osgearth link them statically but build the osgearth libraries as dynamic. i have managed to change find geos and gdal files that now they search for static libraries but while building tests and applications i got errors with 'undefined reference' signatures. i thought that the  static libraries will merge into osgearth .so files and everything will be working, what am i doing wrong?

Cheers, Kris