Hi John,<div><br></div><div>If you look in the CMakeCache.txt of your build tree there should be an entry FFMPEG_LIBRARIES. What does it contain?<br><br><div class="gmail_quote">On Wed, Aug 31, 2011 at 4:07 PM, John Haiducek <span dir="ltr">&lt;<a href="mailto:jhaiduce@gmail.com">jhaiduce@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">When I build VTK I get errors like this:<br>
<br>
Linking CXX executable ../../../../bin/QVTKCxxTests<br>
../../../../bin/libvtkIO.so.5.2.1: undefined reference to `sws_freeContext&#39;<br>
../../../../bin/libvtkIO.so.5.2.1: undefined reference to `sws_scale&#39;<br>
../../../../bin/libvtkIO.so.5.2.1: undefined reference to `sws_getCachedContext&#39;<br>
collect2: ld returned 1 exit status<br>
make[2]: *** [bin/QVTKCxxTests] Error 1<br>
make[1]: *** [GUISupport/Qt/Testing/Cxx/CMakeFiles/QVTKCxxTests.dir/all] Error 2<br>
make: *** [all] Error 2<br>
<br>
The error goes away when I add -lswscale to my CXXFLAGS, but surely<br>
there&#39;s a better way to fix it?<br>
<br>
John Haiducek<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>
</blockquote></div><br></div>