<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Thanks!  That worked great!<div class=""><br class=""><div apple-content-edited="true" class="">
<div class="gmail_signature"><div dir="ltr" class=""><table style="border:none;border-collapse:collapse" class=""><tbody class=""><tr style="height:0px" class=""><td style="border:0px solid rgb(255,255,255);vertical-align:top;padding:7px 15px 7px 7px" class=""><p dir="ltr" style="line-height:1.44;margin-top:0pt;margin-bottom:0pt" class=""><span style="font-size:15px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent" class=""><img src="https://lh5.googleusercontent.com/Enixe41p-q_jIylkS6EEcU0RN_K3ng55pO8HWhnj01mlNrWhNVCJePpkXSGW2eT90LlecokRA31oJUaZYGWSWh8uLWHCPhrhXBYmsoYBWnnxG17GnMUNBFr2ngzH0Tv4sfbmKhA" width="137px;" height="61px;" style="border: none;" class=""></span></p></td><td style="border:0px solid rgb(255,255,255);vertical-align:top;padding:7px" class=""><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt" class=""><span style="font-size:16px;font-family:Arial;color:rgb(18,18,18);font-weight:bold;vertical-align:baseline;white-space:pre-wrap" class="">Joshua Jackson, PhD</span></p><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt" class=""><span style="font-family:Arial;color:rgb(99,99,99);font-weight:bold;vertical-align:baseline;white-space:pre-wrap" class="">Senior ResearchEngineer</span></p><p dir="ltr" style="line-height:1.2;margin-top:2pt;margin-bottom:0pt" class=""><span style="font-family:Arial;color:rgb(99,99,99);font-weight:bold;vertical-align:baseline;white-space:pre-wrap" class=""><img src="https://lh5.googleusercontent.com/xatyzuzTr4qR18HGKcLsrwDas9DT5nxjDwkCZq2oG-ccb408r9aQRo2ECtEatULqLfmK6qV7gtExHhXK9xQE3klp1sk76B2zFUAjZ0jBU9G9fjiwoZTgOYf8xDoQ3jgUClsx0FI" width="11px;" height="12px;" style="border: none;" class=""></span><span style="font-family:Arial;color:rgb(221,75,57);font-weight:bold;vertical-align:baseline;white-space:pre-wrap" class=""> </span><span style="font-family:Arial;color:rgb(17,85,204);vertical-align:baseline;white-space:pre-wrap" class=""><a href="tel:8006041822,5109" value="+18006041822" target="_blank" style="color:rgb(17,85,204)" class="">(800) 604-1822 Ext. 5109</a></span><span style="font-family:Arial;color:rgb(130,130,130);vertical-align:baseline;white-space:pre-wrap" class="">  </span><span style="font-family:Arial;color:rgb(130,130,130);vertical-align:baseline;white-space:pre-wrap" class=""><img src="https://lh3.googleusercontent.com/a-PpuK6encseQRC-pViSZ7gztSeVhI2Vas6kFHU--3hOYU3GFekR3Q8P0suxUuqF8xbVUMfIAMyJAZjWSg26CdxKqINZh37L39a4Fw92CF-pLE48m9LaMXB9P9sJBoXV035JqHo" width="7px;" height="11px;" style="border: none;" class=""></span><span style="font-family:Arial;color:rgb(221,75,57);vertical-align:baseline;white-space:pre-wrap" class=""> </span><span style="font-family:Arial;color:rgb(17,85,204);vertical-align:baseline;white-space:pre-wrap" class=""><a href="tel:2566485109" value="+12566485112" target="_blank" style="color:rgb(17,85,204)" class="">(256) 648-5109</a></span></p><p dir="ltr" style="line-height:1.2;margin-top:2pt;margin-bottom:0pt" class=""><span style="font-family:Arial;color:rgb(17,85,204);vertical-align:baseline;white-space:pre-wrap" class=""><img src="https://lh3.googleusercontent.com/co3KKKyy46HQYKTzA_uUBeKeze0MmtHwJhER8osdQidG7sjYNblRL5mF9kL4Isk83MheZ7fBtlWxOH2TtR9aIOcl-WPuJJfKd2d-rlRD8V8lZ5T-vfgedI9YPZdvP7_Lke3lWHo" width="13px;" height="11px;" style="border: none;" class=""></span><span style="font-family:Arial;color:rgb(130,130,130);vertical-align:baseline;white-space:pre-wrap" class=""> </span><span style="font-family:Arial;color:rgb(17,85,204);vertical-align:baseline;white-space:pre-wrap" class=""><a href="mailto:josh@nside.io" target="_blank" style="color:rgb(17,85,204)" class="">josh@nside.io</a></span><span style="font-family:Arial;color:rgb(130,130,130);vertical-align:baseline;white-space:pre-wrap" class="">  </span><span style="font-family:Arial;color:rgb(130,130,130);vertical-align:baseline;white-space:pre-wrap" class=""><img src="https://lh3.googleusercontent.com/olJmVY9fnwwcyZclvYYYwl2MV3wVZGfiEaK7tFEUkxggNY4Ktf0yUFeYxxQb-Rt-uZQEk-m1lBfxTZxT9rAoVXBbw9lvT648FaYaYjBkhfO1DexnEkxHRhwUV-LNdlHFrYE4PLA" width="12px;" height="12px;" style="border: none;" class=""></span><ahref="http: www.nside.io="" "="" target="_blank" style="color:rgb(17,85,204);text-decoration:none" class=""><span style="font-family:Arial;color:rgb(221,75,57);vertical-align:baseline;white-space:pre-wrap" class=""> </span><span style="font-family:Arial;vertical-align:baseline;white-space:pre-wrap" class=""><a href="http://www.nSide.io" class="">www.nSide.io</a></span></ahref="http:></p><p dir="ltr" style="line-height:1.2;margin-top:2pt;margin-bottom:0pt" class=""><a href="http://www.nside.io/" target="_blank" style="color:rgb(17,85,204);text-decoration:none" class=""><span style="font-family:Arial;vertical-align:baseline;white-space:pre-wrap" class=""><img src="https://lh3.googleusercontent.com/DNCEL6o2IwyEWPCsCo9StUHB31XJHyco59D6mZofeUmOb_zApYHku-xHThh_J1Jlegthj6O4DRIqA0bYbRbHWugyCE8Z7_pHSru836yAReDwIa4sOoUj7oehv9pYIZNY917CGcI" width="12px;" height="11px;" style="border: none;" class=""></span></a><span style="font-family:Arial;color:rgb(221,75,57);vertical-align:baseline;white-space:pre-wrap" class=""> </span><span style="font-family:Arial;color:rgb(130,130,130);vertical-align:baseline;white-space:pre-wrap" class="">4031 Parkway Dr, Suite B, Florence, AL 35630</span></p><p dir="ltr" style="line-height:1.2;margin-top:2pt;margin-bottom:0pt" class=""><span style="font-family:Arial;color:rgb(130,130,130);vertical-align:baseline;white-space:pre-wrap" class=""><img src="https://lh6.googleusercontent.com/90X-pf1ZZqJy22YIBBZhA6-N_jli0F4nD14t83iccGDMEAmKLFtAGdgkek1yfExyp5ZcyCSbNSth6NgAPb5ErxJozQBCrXlMN1fbWHgk1YmQfkJ4u07kOQaZT9coaTV9p_-vgk4" width="20px;" height="20px;" style="border: none;" class=""></span><a href="http://www.linkedin.com/company/nside/" target="_blank" style="color:rgb(17,85,204);text-decoration:none" class=""><span style="font-size:15px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap" class=""> </span><span style="font-size:15px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap" class=""><img src="https://lh6.googleusercontent.com/dg5i18x7n8XMqXoiYQxFzmMF_yk04u1ARSEkJmynHAstoGE4kH5SodMxdpnL5fzcNQbfJkXNhcbNffrXczZLOkv0pVOX64Nh2-PWQA_n_UMhgwrqOd9brGu6eM2Hdcz0cZgsHVI" width="20px;" height="20px;" style="border: none;" class=""></span></a><a href="http://twitter.com/nSide__Out" target="_blank" style="color:rgb(17,85,204);text-decoration:none" class=""><span style="font-size:15px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap" class=""> </span><span style="font-size:15px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap" class=""><img src="https://lh6.googleusercontent.com/wz-pnG7cTwQlY4FfRpdMylIPaTGn6ZPuPPDWUWeo4suXNL4MEZJcwPO71EyO7b-eburX_YHvonMjuoHTEU2EyBprm0epnG6xq3UGy24hmWGWF1Z1wr0OHlACGKM-_dH0P4ZJIGo" width="20px;" height="20px;" style="border: none;" class=""></span></a></p></td></tr></tbody></table></div></div>

</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On Apr 15, 2015, at 2:10 PM, Kyle Shannon <<a href="mailto:kyle@pobox.com" class="">kyle@pobox.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">Joshua,<br class=""><br class="">On 04/15/2015 12:58 PM, Dr. Joshua Jackson wrote:<br class=""><blockquote type="cite" class="">Hey GDAL Team - I have a server running CentOS 6.  I have downloaded the<br class="">complete 1.11.2 source and successfully built and installed GDAL.<br class=""><br class="">I am now trying to make my C++ program which uses GDAL and I’m not<br class="">having any luck.  I get an “unknown reference” error on all my calls to<br class="">GDAL methods. (GDALAllRegister, GDALOpen, etc).<br class=""><br class="">On my #include I get an error if I use #include “gdal/gdal_priv.h”; but<br class="">it makes it past that point if I use #include “gdal_priv.h” alone.<br class=""></blockquote><br class="">#include "gdal_priv.h" is the proper syntax.  If you use a pre-built package from ubuntu or fedora or other package maintainer, they sometimes install the headers in a folder named gdal.  The standard build does not.<br class=""><br class=""><blockquote type="cite" class=""><br class="">I am using cmake with this project and here is my CMakeLists.txt below.<br class="">  I have manually set GDAL_INCLUDE_DIRS to be /usr/local/lib which is<br class="">where all the libgdal*.so files are located.<br class=""></blockquote><br class="">I believe the proper name is GDAL_INCLUDE_DIR and it needs to point to the headers so it should be /usr/local/include (assuming a standard installation, see above).<br class=""><br class=""><blockquote type="cite" class=""><br class="">cmake_minimum_required(VERSION 2.8)<br class="">project( AerialMask )<br class="">find_package( OpenCV )<br class="">find_package( GDAL )<br class="">include_directories(<br class="">${OpenCV_INCLUDE_DIRS}<br class="">${GDAL_INCLUDE_DIRS}<br class="">)<br class="">add_executable( AerialMask AerialMask.cpp )<br class="">target_link_libraries( AerialMask ${OpenCV_LIBS} )<br class=""></blockquote><br class="">You need to link to libgdal, so:<br class=""><br class="">target_link_libraries( AerialMask ${OpenCV_LIBS} ${GDAL_LIBRARY} )<br class=""><br class=""><blockquote type="cite" class=""><br class=""><span class="Apple-tab-span" style="white-space:pre">   </span><br class=""><br class="">Joshua Jackson, PhD<br class=""><br class="">Senior ResearchEngineer<br class=""><br class="">(800) 604-1822 Ext. 5109 <tel:8006041822,5109>(256) 648-5109<br class=""><tel:2566485109><br class=""><br class=""><a href="mailto:josh@nside.io" class="">josh@nside.io</a> <<a href="mailto:josh@nside.io" class="">mailto:josh@nside.io</a>><a href="http://www.nSide.io" class="">www.nSide.io</a> <<a href="http://www.nSide.io" class="">http://www.nSide.io</a>><br class=""><br class=""><<a href="http://www.nside.io/" class="">http://www.nside.io/</a>>4031 Parkway Dr, Suite B, Florence, AL 35630<br class=""><br class=""><<a href="http://www.linkedin.com/company/nside/" class="">http://www.linkedin.com/company/nside/</a>><<a href="http://twitter.com/nSide__Out" class="">http://twitter.com/nSide__Out</a>><br class=""><br class=""><br class=""><br class=""><br class="">_______________________________________________<br class="">gdal-dev mailing list<br class=""><a href="mailto:gdal-dev@lists.osgeo.org" class="">gdal-dev@lists.osgeo.org</a><br class="">http://lists.osgeo.org/mailman/listinfo/gdal-dev<br class=""><br class=""></blockquote><br class="">kss<br class=""><br class="">-- <br class="">Kyle<br class="">_______________________________________________<br class="">gdal-dev mailing list<br class=""><a href="mailto:gdal-dev@lists.osgeo.org" class="">gdal-dev@lists.osgeo.org</a><br class="">http://lists.osgeo.org/mailman/listinfo/gdal-dev<br class=""></div></blockquote></div><br class=""></div></body></html>