<div dir="ltr"><div><div class="gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="margin:0in 0in 0.0001pt">I re-ran ccmake on ITK with Module_ITKVideoBridgeOpenCV:BOOL=ON.</div><div style="margin:0in 0in 0.0001pt">I recompiled using make.</div><div style="margin:0in 0in 0.0001pt"><br></div><div style="margin:0in 0in 0.0001pt">In my C++ program I'm including the headers:</div><div style="margin:0in 0in 0.0001pt"><div style="margin:0in 0in 0.0001pt"><font face="monospace, monospace">#include <opencv2/opencv.hpp></font></div><div style="margin:0in 0in 0.0001pt"><b><font face="monospace, monospace">#include "itkOpenCVImageBridge.h"</font></b></div><div style="margin:0in 0in 0.0001pt"><br></div><div style="margin:0in 0in 0.0001pt">But it's saying <font face="monospace, monospace">"cannot find itkOpenCVImageBridge.h"</font></div><div style="margin:0in 0in 0.0001pt"><br></div><div style="margin:0in 0in 0.0001pt">I put messaging output in my CMakeLists.txt:<br></div><div style="margin:0in 0in 0.0001pt"><div style="margin:0in 0in 0.0001pt"><div style="margin:0in 0in 0.0001pt"><div style="margin:0in 0in 0.0001pt"><font face="monospace, monospace">include_directories(${OpenCV_INCLUDE_DIRS})</font></div><div style="margin:0in 0in 0.0001pt"><font face="monospace, monospace">MESSAGE( STATUS "OpenCV_INCLUDE_DIRS " ${OpenCV_INCLUDE_DIRS} )</font></div></div><div><br></div></div><div>And the output shows that the directory is incorrect:</div><div><b>OpenCV_INCLUDE_DIRS</b> /usr/local/include/opencv<b>/usr/local/include</b><br></div><div><br></div><div>This might be what's causing the problem. I tried to do a set() but it didn't seem to fix it.</div><div><br></div><div>Can somebody please advise?</div><div><br></div><div>Thanks.</div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</div>