<div dir="ltr">Chris,<div><br></div><div>1. Going back to the beginning of the thread, I don't understand why vtklibproj conflicts with another proj, given that we mangle all names. Can you send us the errors.</div><div><br></div><div>2. If you do want to build with the system proj4</div><div><br></div><div><div>Can you send up the output of:</div><div><div>cat CMakeCache.txt | grep LIBPROJ</div></div><div><br></div><div>This is what I have:</div><div><div>LIBPROJ4_INCLUDE_DIR:PATH=/usr/include</div><div>LIBPROJ4_LIBRARIES:FILEPATH=/usr/lib/x86_64-linux-gnu/libproj.so.12</div><div>LIBPROJ_BINDIR:PATH=bin</div><div>LIBPROJ_DATADIR:PATH=share/proj</div><div>LIBPROJ_DOCDIR:PATH=doc/proj</div><div>LIBPROJ_INCLUDEDIR:PATH=include</div><div>LIBPROJ_LIBDIR:PATH=lib</div><div>LIBPROJ_M_LIB:FILEPATH=/usr/lib/x86_64-linux-gnu/libm.so</div><div>LIBPROJ_USE_THREAD:BOOL=ON</div><div>//Use system-installed LIBPROJ4</div><div>VTK_USE_SYSTEM_LIBPROJ4:BOOL=ON</div><div>//ADVANCED property for variable: LIBPROJ4_INCLUDE_DIR</div><div>LIBPROJ4_INCLUDE_DIR-ADVANCED:INTERNAL=1</div><div>//ADVANCED property for variable: LIBPROJ4_LIBRARIES</div><div>LIBPROJ4_LIBRARIES-ADVANCED:INTERNAL=1</div><div>//MODIFIED property for variable: LIBPROJ4_LIBRARIES</div><div>LIBPROJ4_LIBRARIES-MODIFIED:INTERNAL=ON</div><div>//ADVANCED property for variable: LIBPROJ_BINDIR</div><div>LIBPROJ_BINDIR-ADVANCED:INTERNAL=1</div><div>//ADVANCED property for variable: LIBPROJ_DATADIR</div><div>LIBPROJ_DATADIR-ADVANCED:INTERNAL=1</div><div>//ADVANCED property for variable: LIBPROJ_DOCDIR</div><div>LIBPROJ_DOCDIR-ADVANCED:INTERNAL=1</div><div>//ADVANCED property for variable: LIBPROJ_INCLUDEDIR</div><div>LIBPROJ_INCLUDEDIR-ADVANCED:INTERNAL=1</div><div>//ADVANCED property for variable: LIBPROJ_LIBDIR</div><div>LIBPROJ_LIBDIR-ADVANCED:INTERNAL=1</div><div>//ADVANCED property for variable: LIBPROJ_M_LIB</div><div>LIBPROJ_M_LIB-ADVANCED:INTERNAL=1</div><div>//ADVANCED property for variable: LIBPROJ_USE_THREAD</div><div>LIBPROJ_USE_THREAD-ADVANCED:INTERNAL=1</div><div>//ADVANCED property for variable: VTK_USE_SYSTEM_LIBPROJ4</div><div>VTK_USE_SYSTEM_LIBPROJ4-ADVANCED:INTERNAL=1</div><div>//MODIFIED property for variable: VTK_USE_SYSTEM_LIBPROJ4</div><div>VTK_USE_SYSTEM_LIBPROJ4-MODIFIED:INTERNAL=ON</div></div><div><br></div><div><br></div><div>Make sure </div><div>LIBPROJ4_INCLUDE_DIR<br></div><div>LIBPROJ4_LIBRARIES<br></div><div>VTK_USE_SYSTEM_LIBPROJ4<br></div><div>have the correct values.</div><div><br></div><div>All those are cmake variables, you change them using ccmake or cmake-gui.</div><div>After that you call:</div><div><br></div><div>cmake .</div><div>make</div><div><br></div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 12, 2018 at 9:15 AM, Aashish Chaudhary <span dir="ltr"><<a href="mailto:aashish.chaudhary@kitware.com" target="_blank">aashish.chaudhary@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Dan Lipsa made last changes perhaps he may have some suggestions. <span class="HOEnZb"><font color="#888888"><div><br></div></font></span><div><span class="HOEnZb"><font color="#888888">- aashish<br><br></font></span><div class="gmail_quote"><div><div class="h5"><div dir="ltr">On Thu, Jan 11, 2018 at 7:41 PM Chris Marsh <<a href="mailto:chris.marsh@usask.ca" target="_blank">chris.marsh@usask.ca</a>> wrote:<br></div></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Looks like something is setting <div><div>PROJ4_INCLUDE_DIR </div><div>PROJ4_LIBRARY </div></div><div>to the system's proj4. I use a custom findproj4 that only looks where I tell it. <br></div><div><br></div><div>then I see that </div><div>LIB_FILES:INTERNAL<br></div><div>contains vtkproj4</div><div>LIB_FILES just holds all my 3rd party libraries I need to link against.</div></div><div class="gmail_extra"><br clear="all"><div><div class="m_713488070064000649m_-4335495123984649302gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><span style="color:rgb(102,102,102)">Chris Marsh</span><br style="color:rgb(102,102,102)"><span style="color:rgb(102,102,102)">PhD Candidate</span><br style="color:rgb(102,102,102)"><span style="color:rgb(102,102,102)"></span><a href="http://chrismarsh.ca/" style="color:rgb(102,102,102)" target="_blank">chrismarsh.ca</a><br style="color:rgb(102,102,102)"><br style="color:rgb(102,102,102)"><span style="color:rgb(102,102,102)"><a href="https://maps.google.com/?q=121+Research+Drive+University+of+Saskatchewan&entry=gmail&source=g">121 Research Drive</a></span><br style="color:rgb(102,102,102)"><span style="color:rgb(102,102,102)"><a href="https://maps.google.com/?q=121+Research+Drive+University+of+Saskatchewan&entry=gmail&source=g">University of Saskatchewan</a></span><br style="color:rgb(102,102,102)"></div></div></div></div></div></div></div></div></div></div><div class="gmail_extra">
<br><div class="gmail_quote">On 11 January 2018 at 13:29, Ben Boeckel <span dir="ltr"><<a href="mailto:ben.boeckel@kitware.com" target="_blank">ben.boeckel@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On Thu, Jan 11, 2018 at 11:41:40 -0600, Chris Marsh wrote:<br>
> Thanks for the details. This doesn't seem to be working for me though. I've<br>
> tried passing VTK_USE_SYSTEM_libproj4 to cmake on the command line as well<br>
> as defining it as a CXXFLAG='-D VTK_USE_SYSTEM_libproj4", however neither<br>
> works. I still see the vtklibproj4 in the output of ldd.<br>
<br>
</span>CMake should be getting the flag. If you do:<br>
<br>
    grep -i proj4 CMakeCache.txt<br>
<br>
do any variables stand out as potentially being set to use the internal<br>
one?<br>
<span class="m_713488070064000649m_-4335495123984649302HOEnZb"><font color="#888888"><br>
--Ben<br>
</font></span></blockquote></div><br></div></div></div><span class="">
______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_<wbr>FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="https://vtk.org/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">https://vtk.org/mailman/<wbr>listinfo/vtkusers</a><br>
</span></blockquote></div></div></div>
</blockquote></div><br></div>