<div dir="ltr"><div><div>Oops, I hadn't inferred that.<br><br></div>Thanks Even!<br><br></div>Emmanuel<br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><br></div></div></div><div dir="ltr"><div style="font-size:12.8px"><table width="500" cellspacing="0" cellpadding="0" border="0"><tbody><tr><td width="100" align="left"><a href="http://pix4d.com/" style="color:rgb(17,85,204)" target="_blank"><img alt="Pix4D" src="https://i.xink.io/Images/Get/N7525/p3.png" title="Pix4D" width="75" height="75" border="0"></a></td><td width="10" align="left"><img alt="" src="https://i.xink.io/Images/Get/G3/d.jpg" width="1" height="96" border="0"> <span style="color:rgb(105,105,105)"> </span></td><td width="390" align="left"><span style="color:rgb(105,105,105)"><font style="font-size:10pt;font-weight:bold" face="Arial, sans-serif;"><span><span style="color:rgb(105,105,105)"><font style="font-size:10pt;font-weight:bold" face="Arial, sans-serif;">Emmanuel </font></span></span>d'Angelo</font></span><span style="color:rgb(128,128,128)"> </span><span style="color:rgb(51,204,0)"><font style="font-size:9pt" face="Arial, sans-serif;"><font size="1">| </font></font></span><span style="color:rgb(128,128,128)"><font style="font-size:9pt" face="Arial, sans-serif;">Model Team Technical Lead</font></span><br><span style="color:rgb(128,128,128)"><font style="font-size:9pt" face="Arial, sans-serif;">EPFL Innovation Park </font></span><b><span style="color:rgb(132,189,0)"><font style="font-size:9pt;font-weight:normal" face="Arial, sans-serif;"><font size="1">|</font> </font></span><span style="color:rgb(128,128,128)"><font style="font-size:9pt;font-weight:normal" face="Arial, sans-serif;">Building F | </font></span></b><span style="color:rgb(128,128,128)"><font style="font-size:9pt" face="Arial, sans-serif;">1015 Lausanne, Switzerland <br>t. +41 21 552 05 96 <br></font></span><br><font style="line-height:3px;font-size:3px"> </font><font face="Calibri, sans-serif;"><b><font style="font-size:10.6667px" color="#696969"><a href="https://pix4d.com/" style="color:rgb(17,85,204)" target="_blank">https://pix4d.com</a> </font><font style="color:rgb(51,204,0);font-size:8pt">| </font></b></font><font style="font-size:8pt" face="Calibri, sans-serif;" color="#A9A9A9"><b> </b></font><font style="font-size:8pt" face="Calibri, sans-serif;"><b><a href="mailto:emmanuel.dangelo@pix4d.com" style="color:rgb(169,169,169);text-decoration:none" target="_blank"><span style="color:rgb(105,105,105)">emmanuel.dangelo@pix4d.com</span></a></b></font><br><font style="font-size:8pt" face="Calibri, sans-serif;" color="#A9A9A9"><b><a href="https://twitter.com/pix4d" style="color:rgb(17,85,204)" target="_blank"><img alt="Twitter" src="https://i.xink.io/Images/Get/N7525/t.png" width="20" height="20" align="absbottom" border="0"></a><a href="https://www.facebook.com/Pix4D/" style="color:rgb(17,85,204)" target="_blank"><img alt="Facebook" src="https://i.xink.io/Images/Get/N7525/f.png" width="20" height="20" align="absbottom" border="0"></a><a href="https://www.linkedin.com/company/pix4d" style="color:rgb(17,85,204)" target="_blank"><img alt="LinkedIn" src="https://i.xink.io/Images/Get/N7525/l.png" width="20" height="20" align="absbottom" border="0"></a><a href="https://www.youtube.com/channel/UCXHBqjCbv1wj_-itfvpVNIA?sub_confirmation=1" style="color:rgb(17,85,204)" target="_blank"><img alt="YouTube" src="https://i.xink.io/Images/Get/N7525/y.png" width="20" height="20" align="absbottom" border="0"></a><br><br></b></font></td></tr></tbody></table></div></div></div></div></div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">2017-02-16 16:51 GMT+01:00 Even Rouault <span dir="ltr"><<a href="mailto:even.rouault@spatialys.com" target="_blank">even.rouault@spatialys.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>
<div style="font-family:'Sans Serif';font-size:9pt;font-weight:400;font-style:normal"><span class="">
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">On jeudi 16 février 2017 16:48:57 CET Emmanuel d'Angelo wrote:</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">> Hi everyone,</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">> </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">> I'm experimenting with a C++ package manager (<a href="http://conan.io" target="_blank">conan.io</a> for interested</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">> folks) to correctly setup my project and its dependencies.</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">> </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">> In this experiment, I'm trying to wrap GDAL and build GDAL 2.1.1 using a</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">> PROJ4 library that was put in a non-standard location by the package</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">> manager. When I had a look at the <a href="http://configure.in" target="_blank">configure.in</a> file, I could find an option</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">> to specify the path to PROJ4 install directory, but that is only set when</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">> using the option --with-static-proj4.</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">> </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">> Is there a way to pass the path to a dynamic library of PROJ4 when building</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">> GDAL?</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> </p>
</span><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">Emmanuel,</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">Yes, with that very same option. The "static" in --with-static-proj4 refers to a a static/dynamic linking done at build time rather than the default behaviour which is to use dlopen() / LoadLibrary() metchanisms at runtime.</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">Even</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">-- </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">Spatialys - Geospatial professional services</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><a href="http://www.spatialys.com" target="_blank">http://www.spatialys.com</a></p></div></blockquote></div><br></div>