<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 27, 2016 at 10:20 AM, Peter Mattern <span dir="ltr"><<a href="mailto:pmattern@arcor.de" target="_blank">pmattern@arcor.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi Dan.<br>
<br>
Thanks for your quick response!<br>
<br>
I was aware that you're using "in-tree" copies of a lot of dependencies. And note I'm assuming you're doing this for a reason so I certainly don't criticise.<br>
It's just that as an old Linuxer I think using system libraries wherever feasible is basically the better solution...<br></blockquote><div><br></div><div>The problem we try to solve with in-tree copies is version differences and missing libraries on various platforms.</div><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
ad 14126<br>
The problem is that CMake just doesn't find the system-wide PROJ.4 instance and hence fails<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
[...]<br>
-- Found TIFF: /usr/lib64/libtiff.so (found version "4.0.6")<br>
CMake Error at CMake/vtkModuleMacros.cmake:864 (message):<br>
  VTK_USE_SYSTEM_LIBPROJ4 is ON but LIBPROJ4 is not found!<br>
Call Stack (most recent call first):<br>
  ThirdParty/libproj4/CMakeLists.txt:1 (vtk_module_third_party)<br>
<br>
<br>
-- Configuring incomplete, errors occurred!<br>
</blockquote>
The findings are the very same compiling VTK commit ddcd09c on Arch Linux, Debian testing (stretch) and Fedora 24 using either PROJ.4 4.9.2 as provided by those distributions or PROJ.4 commit 06a708d compiled on the respective system.<br>
The PROJ.4 commit was compiled either by running autogen, configure [--prefix=/usr], make and make install or cmake -DCMAKE_INSTALL_PREFIX=/usr, make and make install as compiling yields slightly different results right now, see <a href="https://github.com/OSGeo/proj.4/issues/378" rel="noreferrer" target="_blank">https://github.com/OSGeo/proj.4/issues/378</a>, but this didn't make a difference regarding VTK.<br>
<br></blockquote><div>Finding a library can be a tricky issue. Unless the library/headers are in standard locations it won't find them. </div><div>If headers/libraries are in a standard location this warrants a bug report.</div><div><br></div><div>However you can manually point the configuration variables to the right locations.<br></div><div>In the cmake configuration program (ccmake or cmake-gui) switch to advanced variables and make the following two variables point to the correct location on your system:</div><div>LIBPROJ4_INCLUDE_DIR<br></div><div>LIBPROJ4_LIBRARIES<br></div><div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
ad 15549<br>
I've added a comment describing the current situation but don't seem to be able to change field "Status", maybe as I didn't open the issue?<br>
</blockquote></div><div class="gmail_extra"><br></div>I've changed this to backlog.</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div></div>