[pdal] Unable to build PDAL 1.1.0: "Could NOT find GDAL (missing: GDAL_INCLUDE_DIR) "

Albert Godfrind albert.godfrind at oracle.com
Mon Dec 28 06:22:17 PST 2015


I am trying to build the latest GDAL on Linux. The cmake stage fails like this:

$ cmake -G "Unix Makefiles"  ../
-- Boost version: 1.60.0
-- Found the following Boost libraries:
--   program_options
--   iostreams
--   filesystem
--   system
--   thread
-- Could NOT find GDAL (missing:  GDAL_INCLUDE_DIR) (Required is at least version "1.9.0")
CMake Error at cmake/gdal.cmake:13 (message):
  GDAL support is required
Call Stack (most recent call first):
  CMakeLists.txt:219 (include)


-- Configuring incomplete, errors occurred!
See also "/tmp/pdal/PDAL-1.1.0-src/build/CMakeFiles/CMakeOutput.log".

I have gdal installed (version 2.0). It looks like it wants me to define GDAL_INCLUDE_DIR but to what location ? I tried setting up to the lib directory in my installation. I also tried defining GDAL_HOME and even GDAL_LIBRARY all to no effect.

Any idea what I am doing wrong ?

Albert

--
 <http://www.oracle.com/>
Albert Godfrind | Geospatial technologies | Tel: +33 4 93 00 80 67 | Mobile: +33 6 09 97 27 23 | Skype: albert-godfrind <skype:albert-godfrind>
Oracle Server Technologies
400 Av. Roumanille, BP 309  | 06906 Sophia Antipolis cedex | France
Everything you ever wanted to know about Oracle Spatial <http://www.apress.com/9781590598993>
 <http://www.locationintelligence.net/dc/>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20151228/9e5055aa/attachment.html>


More information about the pdal mailing list