<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Maybe you need to set path to OpenCV when you configure ITK with CMake. If that does not work, try compiling OpenCV from source. I did not use video bridge, but I successfully used OpenCV's objdetect module together with ITK in my PhD project.</div>

</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, May 13, 2014 at 10:34 PM, donelron <span dir="ltr"><<a href="mailto:donelron@web.de" target="_blank">donelron@web.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hi Dzenan,<br>
thanks for the hint!<br>
<br>
I successfully added "Module_ITKVideoBridgeOpenCV" when building ITK.<br>
However, when running the make command directly after this I get:<br>
<br>
[ 95%] Building CXX object<br>
Modules/Video/BridgeOpenCV/src/CMakeFiles/ITKVideoBridgeOpenCV.dir/itkOpenCVVideoIO.cxx.o<br>
In file included from<br>
/home/ron/Downloads/itk/InsightToolkit-4.5.2/Modules/Video/BridgeOpenCV/src/itkOpenCVVideoIO.cxx:18:0:<br>
/home/ron/Downloads/itk/InsightToolkit-4.5.2/Modules/Video/BridgeOpenCV/include/itkOpenCVVideoIO.h:22:16:<br>
fatal error: cv.h: No such file or directory<br>
<div class="">compilation terminated.<br>
make[2]: ***<br>
</div>[Modules/Video/BridgeOpenCV/src/CMakeFiles/ITKVideoBridgeOpenCV.dir/itkOpenCVVideoIO.cxx.o]<br>
<div class="">Error 1<br>
make[1]: ***<br>
</div>[Modules/Video/BridgeOpenCV/src/CMakeFiles/ITKVideoBridgeOpenCV.dir/all]<br>
<div class="">Error 2<br>
make: *** [all] Error 2<br>
<br>
<br>
</div>Since cv.h is part of OpenCV I am assuming that this is rather a problem<br>
with OpenCV, not ITK?!?<br>
Any ideas how to solve it?<br>
By the way: I have installed OpenCV via the Ubuntu sudo apt-get install...<br>
So my OpenCV is not compiled from source.<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://itk-users.7.n7.nabble.com/ITKOpenCVBridge-on-Ubuntu-12-04-fatal-error-itkOpenCVImageBridge-h-No-such-file-or-directory-tp33907p33945.html" target="_blank">http://itk-users.7.n7.nabble.com/ITKOpenCVBridge-on-Ubuntu-12-04-fatal-error-itkOpenCVImageBridge-h-No-such-file-or-directory-tp33907p33945.html</a><br>


<div class="">Sent from the ITK - Users mailing list archive at Nabble.com.<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<br>
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.php" target="_blank">http://www.kitware.com/products/protraining.php</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
</div>_______________________________________________<br>
Community mailing list<br>
<a href="mailto:Community@itk.org">Community@itk.org</a><br>
<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/community" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/community</a><br>
</blockquote></div><br></div>