Hi Marco,
thanks for Bug-report. According to an "official" JPEGWriter example [1],
you should link it against ${VTK_LIBRARIES}, not only vtkIOImage.
If you do it, your minimal example is working fine.
[1] http://www.vtk.org/Wiki/VTK/Examples/Cxx/IO/JPEGWriter
Regards
Anton
2014-05-08 18:42 G
Package: libvtk6
Version: 6.0.0-6
Severity: normal
Dear Maintainer,
trying to build a project using libvtk6, I encountered link errors:
/usr/bin/c++ -Wno-deprecated CMakeFiles/JPEGWriter.dir/JPEGWriter.cxx.o
-o JPEGWriter -rdynamic /usr/lib/x86_64-linux-gnu/libvtkIOImage-6.0.so.6.0.0