I've got GDAL installed from the latest 1.11.2 source, but when I try to make by C++ executable I get undefined references to "GDALAllRegister" and basically all the GDAL functions I call. The same cpp file compiles fine on my Mac, but I can't seem to get the include directories correct.
In my CMakeLists.txt I have:
find_package( GDAL )include_directories( ${GDAL_INCLUDE_DIRS} )And I've made sure GDAL_INCLUDE_DIRS points to /usr/local/lib where the gdal libraries are located.
أكثر...
In my CMakeLists.txt I have:
find_package( GDAL )include_directories( ${GDAL_INCLUDE_DIRS} )And I've made sure GDAL_INCLUDE_DIRS points to /usr/local/lib where the gdal libraries are located.
أكثر...