[ITK] [ITK-users] ITKOpenCVBridge on Ubuntu 12.04: fatal error: itkOpenCVImageBridge.h: No such file or directory

donelron donelron at web.de
Wed Jun 18 18:48:56 EDT 2014


Hi,
thanks again for all your answers. Unfortuantely, I was very busy in the
last couple of weeks and therefore could not respond earlier.
I completely purged all the OpenCV packages from my Ubuntu and then compiled
from source the (newer) version 2.4.8. Apparently the missing cv.h is
included there, since the previously mentioned error is no longer a problem:
Linking CXX executable ../../../../bin/ITKVideoBridgeOpenCVTestDriver
[ 95%] Built target ITKVideoBridgeOpenCVTestDriver
Scanning dependencies of target ITKVideoBridgeOpenCV-all
[ 95%] Built target ITKVideoBridgeOpenCV-all
[ 95%] Generating test/ITKVideoFilteringHeaderTest1.cxx
Scanning dependencies of target ITKVideoFilteringHeaderTest1
[ 95%] Building CXX object
Modules/Video/Filtering/CMakeFiles/ITKVideoFilteringHeaderTest1.dir/test/ITKVideoFilteringHeaderTest1.cxx.o
Linking CXX executable ../../../bin/ITKVideoFilteringHeaderTest1
[ 95%] Built target ITKVideoFilteringHeaderTest1
Scanning dependencies of target ITKVideoFilteringTestDriver
[ 95%] Building CXX object
Modules/Video/Filtering/test/CMakeFiles/ITKVideoFilteringTestDriver.dir/ITKVideoFilteringTestDriver.cxx.o
[ 95%] Building CXX object
Modules/Video/Filtering/test/CMakeFiles/ITKVideoFilteringTestDriver.dir/itkFrameAverageVideoFilterTest.cxx.o
[ 95%] Building CXX object
Modules/Video/Filtering/test/CMakeFiles/ITKVideoFilteringTestDriver.dir/itkDecimateFramesVideoFilterTest.cxx.o
[ 95%] Building CXX object
Modules/Video/Filtering/test/CMakeFiles/ITKVideoFilteringTestDriver.dir/itkImageFilterToVideoFilterWrapperTest.cxx.o
[ 95%] Building CXX object
Modules/Video/Filtering/test/CMakeFiles/ITKVideoFilteringTestDriver.dir/itkFrameDifferenceVideoFilterTest.cxx.o
Linking CXX executable ../../../../bin/ITKVideoFilteringTestDriver
[ 95%] Built target ITKVideoFilteringTestDriver
Scanning dependencies of target ITKVideoFiltering-all
[ 95%] Built target ITKVideoFiltering-all
Scanning dependencies of target ITKVtkGlue
[ 95%] Building CXX object
Modules/Bridge/VtkGlue/src/CMakeFiles/ITKVtkGlue.dir/QuickView.cxx.o
Linking CXX shared library ../../../../lib/libITKVtkGlue-4.5.so
/usr/bin/ld:
/usr/local/lib/libvtkCommonCore-6.0.a(vtkDebugLeaksManager.cxx.o):
relocation R_X86_64_32 against `.bss' can not be used when making a shared
object; recompile with -fPIC
/usr/local/lib/libvtkCommonCore-6.0.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: *** [lib/libITKVtkGlue-4.5.so.1] Error 1
make[1]: *** [Modules/Bridge/VtkGlue/src/CMakeFiles/ITKVtkGlue.dir/all]
Error 2
make: *** [all] Error 2

However, now there seems to be a problem with libITKVtkGlue!?!
I was able to google some forum posts with similar problems, however I could
not get any useful information out of it to solve my own issues. Therefore,
any hints are appreciated.
Thanks in advance!



--
View this message in context: http://itk-users.7.n7.nabble.com/ITKOpenCVBridge-on-Ubuntu-12-04-fatal-error-itkOpenCVImageBridge-h-No-such-file-or-directory-tp33907p34116.html
Sent from the ITK - Users mailing list archive at Nabble.com.
_____________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Kitware offers ITK Training Courses, for more information visit:
http://www.kitware.com/products/protraining.php

Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/insight-users


More information about the Community mailing list