<div dir="ltr">Forwarding to the developers list:<br><div class="gmail_extra"><br clear="all"><div>David</div>
<br><br><div class="gmail_quote">On Sat, Jun 7, 2014 at 6:21 PM, Wookey <span dir="ltr"><<a href="mailto:wookey@wookware.org" target="_blank">wookey@wookware.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

+++ Wookey [2014-06-05 21:12 +0100]:<br>
<div class=""><br>
> VTK6 seems to have hundreds of libraries where VTK5 only had a few. I<br>
> read a few wiki pages, but didn't see a simple way of working out what I<br>
> should now be linking with. Note that I know very little about the<br>
> codebase, and less about VTK - I just build it. Upstream knows what<br>
> VTK functionality they used.<br>
><br>
> So currently I have:<br>
> VTKLIBS = -lvtkHybrid -lvtkImaging -lvtkIO -lvtkGraphics -lvtkFiltering -lvtkCommon -lvtkjpeg -lvtkpng -lvtkzlib -lvtksys<br>
><br>
> What is the VTK6 equivalent?<br>
<br>
</div>Hmm, I thought that this would be a very easy question for you guys.<br>
<br>
Currently my build fails with:<br>
<br>
c++ -o .././loch/loch -Wall .././loch/lxR2P.o .././loch/lxTR.o .././loch/lxOGLFT.o .././loch/lxSetup.o .././loch/lxRender.o .././loch/lxWX.o .././loch/lxImgIO.o .././loch/lxLRUD.o .././loch/lxFile.o .././loch/lxSTree.o .././loch/lxData.o .././loch/lxMath.o .././loch/lxSView.o .././loch/lxSScene.o .././loch/lxGUI.o .././loch/lxGLC.o .././loch/lxOptDlg.o .././loch/lxAboutDlg.o .././loch/img.o -lwx_gtk2u_gl-2.8 -L/usr/lib/x86_64-linux-gnu -pthread -Wl,-z,relro  -L/usr/lib/x86_64-linux-gnu   -lwx_gtk2u_richtext-2.8 -lwx_gtk2u_aui-2.8 -lwx_gtk2u_xrc-2.8 -lwx_gtk2u_qa-2.8 -lwx_gtk2u_html-2.8 -lwx_gtk2u_adv-2.8 -lwx_gtk2u_core-2.8 -lwx_baseu_xml-2.8 -lwx_baseu_net-2.8 -lwx_baseu-2.8  -lvtkHybrid -lvtkImaging -lvtkIO -lvtkGraphics -lvtkFiltering -lvtkCommon -lfreetype -lpthread -lz -lpng12 -lGLU -lGL  -ljpeg -lX11 -s<br>


/usr/bin/ld: cannot find -lvtkHybrid<br>
/usr/bin/ld: cannot find -lvtkImaging<br>
/usr/bin/ld: cannot find -lvtkIO<br>
/usr/bin/ld: cannot find -lvtkGraphics<br>
/usr/bin/ld: cannot find -lvtkFiltering<br>
/usr/bin/ld: cannot find -lvtkCommon<br>
collect2: error: ld returned 1 exit status<br>
<br>
And indeed, the above libs no longer exist.<br>
<br>
dpkg -L libvtk6 | grep libvtk | xargs readlink | sort | uniq | wc -l<br>
<br>
gives 363 library files (!), mostly with rather long names.<br>
(on vtk5.8 there were 23 libraries)<br>
<br>
How do I work out which ones are needed? Is there some way of looking<br>
at functions the program uses and mapping those to library names?<br>
<div class="HOEnZb"><div class="h5"><br>
Wookey<br>
--<br>
Principal hats:  Linaro, Emdebian, Wookware, Balloonboard, ARM<br>
<a href="http://wookware.org/" target="_blank">http://wookware.org/</a><br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/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" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</div></div></blockquote></div><br></div></div>