<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">I am trying to build the latest GDAL on Linux. The cmake stage fails like this:</div><div class=""><br class=""></div><div class=""><div class=""><font face="Menlo" class="">$ cmake -G "Unix Makefiles"  ../</font></div><div class=""><font face="Menlo" class="">-- Boost version: 1.60.0</font></div><div class=""><font face="Menlo" class="">-- Found the following Boost libraries:</font></div><div class=""><font face="Menlo" class="">--   program_options</font></div><div class=""><font face="Menlo" class="">--   iostreams</font></div><div class=""><font face="Menlo" class="">--   filesystem</font></div><div class=""><font face="Menlo" class="">--   system</font></div><div class=""><font face="Menlo" class="">--   thread</font></div><div class=""><font face="Menlo" class="">-- Could NOT find GDAL (missing:  GDAL_INCLUDE_DIR) (Required is at least version "1.9.0")</font></div><div class=""><font face="Menlo" class="">CMake Error at cmake/gdal.cmake:13 (message):</font></div><div class=""><font face="Menlo" class="">  GDAL support is required</font></div><div class=""><font face="Menlo" class="">Call Stack (most recent call first):</font></div><div class=""><font face="Menlo" class="">  CMakeLists.txt:219 (include)</font></div><div class=""><font face="Menlo" class=""><br class=""></font></div><div class=""><font face="Menlo" class=""><br class=""></font></div><div class=""><font face="Menlo" class="">-- Configuring incomplete, errors occurred!</font></div><div class=""><font face="Menlo" class="">See also "/tmp/pdal/PDAL-1.1.0-src/build/CMakeFiles/CMakeOutput.log".</font></div></div><div class=""><br class=""></div><div class="">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.</div><div class=""><br class=""></div><div class="">Any idea what I am doing wrong ?</div><div class=""><br class=""></div><div class="">Albert</div><br class=""><div class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica;  font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><span class="Apple-style-span" style="border-collapse: separate; line-height: normal; border-spacing: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">--<br class=""><a href="http://www.oracle.com" class=""><img alt="ORACLE" src="http://www.oracle.com/dm/design/images/oracle_sig_logo.gif" style="border-width: 0px; border-style: solid; width: 114px; height: 26px;" class=""></a><br class=""><font color="#666666" face="Verdana, Arial, Helvetica, sans-serif" size="2" class="">Albert Godfrind | Geospatial technologies | Tel: +33 4 93 00 80 67</font><span class="Apple-converted-space"> </span><font color="#666666" face="Verdana, Arial, Helvetica, sans-serif" size="2" class="">| Mobile: +33 6 09 97 27 23</font><span class="Apple-converted-space"> </span><font color="#666666" face="Verdana, Arial, Helvetica, sans-serif" size="2" class="">| Skype:<span class="Apple-converted-space"> </span><a href="skype:albert-godfrind" class="">albert-godfrind</a></font><br class=""><font color="#666666" face="Verdana, Arial, Helvetica, sans-serif" size="2" class=""><font color="#ff0000" class="">Oracle</font><span class="Apple-converted-space"> </span>Server Technologies<br class="">400 Av. Roumanille,</font><font color="#666666" face="Verdana, Arial, Helvetica, sans-serif" size="2" class=""><span class="Apple-converted-space"> </span></font><font color="#666666" face="Verdana, Arial, Helvetica, sans-serif" size="2" class="">BP 309 </font><span class="Apple-converted-space"> </span><font color="#666666" face="Verdana, Arial, Helvetica, sans-serif" size="2" class="">|</font><span class="Apple-converted-space"> </span><font color="#666666" face="Verdana, Arial, Helvetica, sans-serif" size="2" class="">06906 Sophia Antipolis cedex<span class="Apple-converted-space"> </span></font><font color="#666666" face="Verdana, Arial, Helvetica, sans-serif" size="2" class="">|<span class="Apple-converted-space"> </span></font><font color="#666666" face="Verdana, Arial, Helvetica, sans-serif" size="2" class="">France<br class=""><a href="http://www.apress.com/9781590598993" class="">Everything you ever wanted to know about Oracle Spatial</a></font></div><span style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span style="font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span style="font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span><span><a href="http://www.locationintelligence.net/dc/" style="font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br class="Apple-interchange-newline" style="color: rgb(71, 135, 255); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: underline;"></a></span></span></span></span></span></span></div></span></div></div><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">
</div>
<br class=""></body></html>