<div dir="ltr">OK I have an update.  So, set() worked to reset the broken variable (workaround).  And then I had to locate <span style="font-family:monospace,monospace;font-size:12.8px">itkOpenCVImageBridge.*</span> and copy the files to the location.<div><br></div><div>That worked.</div><div><br></div><div>But -- does anybody have an idea how I could have broken <span style="font-family:monospace,monospace;font-size:12.8px">OpenCV_INCLUDE_DIRS </span>in the first place?</div><div>And also -- something tells me I shouldn't have had to copy the source files to the <span style="font-family:monospace,monospace;font-size:12.8px">OpenCV_INCLUDE_DIRS</span>.  What did I do wrong?</div><div><br></div><div>Thanks again.  </div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><br></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote"><i>30 August 2016 at 12:25:</i><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><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_<wbr>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_<wbr>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/<wbr>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>
</blockquote></div><br></div></div>