[vtkusers] ITK/VtkGlue

tobobojo tobobojo at gmail.com
Wed Jan 8 09:37:29 EST 2014


Hello everyone!

Since my latest VTK pull I'm not longer able to build the VtkGlue library
(libITKVtkGlue-4.6.dylib) from ITK. I know it's an ITK issue in first place, 
but the error-message says:

"ld: library not found for -lQt5::Widgets
make[2]: *** [lib/libITKVtkGlue-4.6.1.dylib] Error 1
make[1]: *** [Modules/Bridge/VtkGlue/src/CMakeFiles/ITKVtkGlue.dir/all] Error 2
make: *** [all] Error 2 "

and since Qt is linked only to VTK I guess that's the right place to search for 
the problem. I'm using the latest builds of ITK and VTK and the latest stable 
release of Qt (which is 5.2). I'm on Mac OS X 10.9.1. VTK builds properly and 
Qt is linked and ok. ITK also builds without problems, except the library for 
VtkGlue... Why doesn't the ITKVtkGlue recognize Qt? I'm not very experienced 
with the whole cmake stuff.. maybe it would be possible to somehow manually 
link Qt to ITK directly to workaround the problem? 

Thanks for reading!



More information about the vtkusers mailing list