<div dir="ltr">Adding to what Cory said you should also be aware of these documents which describe the upgrade path from 5 to 6.<div><br></div><div>Build system changes:</div><div>* <a href="http://www.vtk.org/Wiki/VTK/Build_System_Migration">http://www.vtk.org/Wiki/VTK/Build_System_Migration</a><br></div><div><br></div><div>API changes:</div><div>* <a href="http://www.vtk.org/Wiki/VTK/VTK_6_Migration_Guide">http://www.vtk.org/Wiki/VTK/VTK_6_Migration_Guide</a></div><div><br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature">David E DeMarle<br>Kitware, Inc.<br>R&D Engineer<br>21 Corporate Drive<br>Clifton Park, NY 12065-8662<br>Phone: 518-881-4909</div></div>
<br><div class="gmail_quote">On Wed, Oct 12, 2016 at 11:55 AM, Cory Quammen <span dir="ltr"><<a href="mailto:cory.quammen@kitware.com" target="_blank">cory.quammen@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">Hi Marc-Michel,<div><br></div><div>VTK 6 libraries changed substantially from VTK 5 with a finer-grained modularization of classes into a larger number of libraries. The easiest solution is to change</div><span class=""><div><br></div><div><span style="font-size:12.8px">TARGET_LINK_LIBRARIES(project</span><br style="font-size:12.8px"><span style="font-size:12.8px"> vtkCommon</span><br style="font-size:12.8px"><span style="font-size:12.8px"> vtkFiltering</span><br style="font-size:12.8px"><span style="font-size:12.8px"> vtkGraphics</span><br style="font-size:12.8px"><span style="font-size:12.8px"> vtkIO</span><br style="font-size:12.8px"><span style="font-size:12.8px">)</span><br></div><div><span style="font-size:12.8px"><br></span></div></span><div><span style="font-size:12.8px">to</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">TARGET_LINK_LIBRARIES(${VTK_<wbr>LIBRARIES})</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">HTH,</span></div><div><span style="font-size:12.8px">Cory</span></div></div><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">On Wed, Oct 12, 2016 at 11:40 AM, Marc-Michel Rohé <span dir="ltr"><<a href="mailto:marc-michel.rohe@inria.fr" target="_blank">marc-michel.rohe@inria.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
I am working on a project which was initially built using VTK 5.X with the following command using CMake:<br>
<br>
FIND_PACKAGE(VTK)<br>
IF(VTK_FOUND)<br>
INCLUDE(${VTK_USE_FILE})<br>
ELSE(VTK_FOUND)<br>
MESSAGE(FATAL_ERROR "VTK not found. Please set VTK_DIR.")<br>
ENDIF(VTK_FOUND)<br>
<br>
TARGET_LINK_LIBRARIES(project<br>
vtkCommon<br>
vtkFiltering<br>
vtkGraphics<br>
vtkIO<br>
)<br>
<br>
I tried to now use VTK6.X version for the code but it seems that the libraries libvtkFiltering.so, libvtkCommon.so, libvtkIO.so, libvtkGraphics.so are not built anymore in the VTK folders bin so that when I try to compile my projects I get the error:<br>
<br>
[ 32%] Linking CXX shared library ../../../lib/libproject.so<br>
/usr/bin/ld: cannot find -lvtkCommon<br>
/usr/bin/ld: cannot find -lvtkFiltering<br>
/usr/bin/ld: cannot find -lvtkGraphics<br>
/usr/bin/ld: cannot find -lvtkIO<br>
<br>
Is there a special option to check during the VTK compilation so that I get these libraries ? I used the same option that for VTK 5.X so I don't understand...<br>
<br>
Thx<br>
<br>
<br>
______________________________<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/opensou<wbr>rce/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_FA<wbr>Q</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="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/mail<wbr>man/listinfo/vtkusers</a><br>
</blockquote></div><br><br clear="all"><div><br></div></div></div><span class="HOEnZb"><font color="#888888">-- <br><div class="m_-7581189792850325974gmail_signature" data-smartmail="gmail_signature">Cory Quammen<br>Staff R&D Engineer<br>Kitware, Inc.</div>
</font></span></div>
<br>______________________________<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="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br></div>