<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2017-02-21 8:56 GMT-03:00 Stacho Mudrak via Therion <span dir="ltr"><<a href="mailto:therion@speleo.sk" target="_blank">therion@speleo.sk</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div style="font-family:tahoma,sans-serif">Hello,</div><div style="font-family:tahoma,sans-serif"><br></div><div style="font-family:tahoma,sans-serif">I think that using libvtk6-dev (instead of libvtk-dev) would work without modification of Makefile.</div></div></blockquote><div><br></div><div>Just tested. Changing libvtk from version 5 to 6 solved the problem. May be this should be mentioned somewhere in the installation documentation?</div><div><br></div><div><br></div><div>Thanks,</div><div><br></div><div>Rodrigo</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div style="font-family:tahoma,sans-serif"><br></div><div style="font-family:tahoma,sans-serif">S.</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On 20 February 2017 at 22:29, Rodrigo Severo via Therion <span dir="ltr"><<a href="mailto:therion@speleo.sk" target="_blank">therion@speleo.sk</a>></span> wrote:<br></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"><div class="gmail_extra"><div class="gmail_quote"><span>2017-02-20 15:39 GMT-03:00 Rodrigo Severo <span dir="ltr"><<a href="mailto:rodrigo@fabricadeideias.com" target="_blank">rodrigo@fabricadeideias.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>I'm trying to compile Therion (sources from github) on Ubuntu 16.04 for the first time.</div><div><br></div><div>After installing several missing libraries I'm getting the following error:</div><div><br></div><div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><div>make[1]: Entering directory '/home/rodrigo/devel/therion/l<wbr>och'</div><div>c++ -o ./loch -Wall ./lxR2P.o ./lxTR.o ./lxOGLFT.o ./lxSetup.o ./lxRender.o ./lxWX.o ./lxImgIO.o ./lxLRUD.o ./lxFile.o ./lxSTree.o ./lxData.o ./lxMath.o ./lxSView.o ./lxSScene.o ./lxGUI.o ./lxGLC.o ./lxOptDlg.o ./lxAboutDlg.o ./lxPres.o ./img.o -lwx_gtk2u_gl-3.0 -L/usr/lib/x86_64-linux-gnu -pthread -lwx_gtk2u_xrc-3.0 -lwx_gtk2u_html-3.0 -lwx_gtk2u_qa-3.0 -lwx_gtk2u_adv-3.0 -lwx_gtk2u_core-3.0 -lwx_baseu_xml-3.0 -lwx_baseu_net-3.0 -lwx_baseu-3.0 -L/usr/lib/vtk-5.10 -lvtkHybrid -lvtkImaging -lvtkIO -lvtkGraphics -lvtkFiltering -lvtkCommon -lfreetype -lGLU -lGL -lpthread -lX11 -lz -s</div><div>/usr/bin/ld: ./lxRender.o: undefined reference to symbol 'png_write_row@@PNG12_0'</div><div>//lib/x86_64-linux-gnu/libpng1<wbr>2.so.0: error adding symbols: DSO missing from command line</div><div>collect2: error: ld returned 1 exit status</div><div>Makefile:162: recipe for target 'loch' failed</div><div>make[1]: *** [loch] Error 1</div><div>make[1]: Leaving directory '/home/rodrigo/devel/therion/l<wbr>och'</div><div>Makefile:202: recipe for target 'loch/loch' failed</div><div>make: *** [loch/loch] Error 2</div></div></blockquote><br></div><div>The problem here is that libpng12.0-dev is already installed.</div><div><br></div><div>After some research I believe this might be a problem related to missing symbols related to bad ordering of library inclusion: <a href="http://stackoverflow.com/questions/19901934/strange-linking-error-dso-missing-from-command-line" target="_blank">http://stackoverflo<wbr>w.com/questions/19901934/stran<wbr>ge-linking-error-dso-missing-<wbr>from-command-line</a></div><div><br></div><div>How can I fix this?</div></div></blockquote><div><br></div></span><div>Attached is a patch of the changes I made on loch/Makefile to fix the above error. I'm really not sure if this is the proper fix but "it work's".</div><div><br></div><div>Please consider it for inclusion on Therion source.</div><div><br></div><div>If it's better that I send a pull request, let me know.</div><div><br></div><div><br></div><div>Regards,</div><div><br></div><div>Rodrigo</div><div><br></div></div></div></div>
<br></div></div>______________________________<wbr>_________________<br>
Therion mailing list<br>
<a href="mailto:Therion@speleo.sk" target="_blank">Therion@speleo.sk</a><br>
<a href="https://mailman.speleo.sk/listinfo/therion" rel="noreferrer" target="_blank">https://mailman.speleo.sk/list<wbr>info/therion</a><br>
<br></blockquote></div><br></div>
<br>______________________________<wbr>_________________<br>
Therion mailing list<br>
<a href="mailto:Therion@speleo.sk">Therion@speleo.sk</a><br>
<a href="https://mailman.speleo.sk/listinfo/therion" rel="noreferrer" target="_blank">https://mailman.speleo.sk/<wbr>listinfo/therion</a><br>
<br></blockquote></div><br></div></div>