<DIV style="FONT-FAMILY: ±¼¸²; FONT-SIZE: 10pt" id=msgbody>
<DIV>Now, I'm modifying act-cv and trying to do cmake with cmakelist in act-cv-0.2.</DIV>
<DIV>then, an error message was occurred as following</DIV>
<DIV> </DIV>
<DIV><EM>Looking for C++ include cv.h</EM></DIV>
<P style="TEXT-INDENT: 0px; MARGIN: 0px; -qt-block-indent: 0"><EM>Looking for C++ include cv.h - not found</EM></P>
<P style="TEXT-INDENT: 0px; MARGIN: 0px; -qt-block-indent: 0"><SPAN style="COLOR: #ff0000"><EM>CMake Error at CMakeLists.txt:97 (MESSAGE):</EM></SPAN></P>
<P style="TEXT-INDENT: 0px; MARGIN: 0px; -qt-block-indent: 0"><SPAN style="COLOR: #ff0000"><EM>Could not find OpenCV. Please set OPENCV_DIR correctly</EM></SPAN></P><SPAN style="COLOR: #ff0000">
<P style="TEXT-INDENT: 0px; MARGIN: 0px; -qt-block-indent: 0"><SPAN style="COLOR: #ff0000"></SPAN> </P><EM></EM></SPAN></DIV>
<DIV style="FONT-FAMILY: ±¼¸²; FONT-SIZE: 10pt"><SPAN style="COLOR: #ff0000"><FONT color=#000000>after reading above message, I've looked into the cmakelist.txt and the position of OpenCV folder.</FONT></SPAN></DIV><SPAN style="COLOR: #ff0000">
<DIV style="FONT-FAMILY: ±¼¸²; FONT-SIZE: 10pt"><SPAN style="COLOR: #ff0000"></SPAN> </DIV>
<P><FONT color=#000000>My OpenCv folder is located in C:\OpenCV2.0</FONT></P>
<P><FONT color=#000000>and the path setting in cmakelist.txt was as follows,</FONT></P>
<P><FONT color=#000000></FONT> </P>
<P><FONT color=#0000ff>set(JAVA_JDK_DIR CACHE PATH "Path to Java Development Kit")<BR>set(OPENCV_DIR CACHE PATH "Path to OpenCV")</FONT></P>
<P><FONT color=#0000ff># ---------------------------------------------------------------------------------------------<BR># common stuff</FONT></P>
<P><FONT color=#0000ff>set(JAVA_includes<BR>  ${JAVA_JDK_DIR}/include<BR>  ${JAVA_JDK_DIR}/include/win32)<BR>  <BR>set(JAVA_linkdirs<BR>  )</FONT></P>
<P><FONT color=#0000ff>set(JAVA_libs<BR>  )<BR>    </FONT></P>
<P><FONT color=#0000ff>set(OPENCV_includes<BR>  ${OPENCV_DIR}/cv/include<BR>  ${OPENCV_DIR}/cxcore/include<BR>  ${OPENCV_DIR}/otherlibs/highgui)</FONT></P>
<P><FONT color=#0000ff></FONT> </P>
<P><FONT color=#000000>but, hierarchy of the directory (in My computer) is C:\OpenCV2.0\include\opencv\cv.h and cxcore.h</FONT></P>
<P><FONT color=#000000>So, I thought the last sentence of above code is wrong and modified as follows...</FONT></P>
<P><FONT color=#000000>but, error message is same....</FONT></P>
<P><FONT color=#000000>how to solve this problem? </FONT></P>
<P><FONT color=#000000></FONT> </P>
<P><FONT color=#000000></FONT> </P>
<P>set(JAVA_JDK_DIR CACHE PATH "Path to Java Development Kit")<BR>set(OPENCV_DIR CACHE c:/OpenCv2.0 "Path to OpenCV")</P>
<P># ---------------------------------------------------------------------------------------------<BR># common stuff</P>
<P>set(JAVA_includes<BR>  ${JAVA_JDK_DIR}/include<BR>  ${JAVA_JDK_DIR}/include/win32)<BR>  <BR>set(JAVA_linkdirs<BR>  )</P>
<P>set(JAVA_libs<BR>  )<BR>    </P>
<P>set(OPENCV_includes<BR>  ${OPENCV_DIR}/include/opencv/cv<BR>  ${OPENCV_DIR}/include/opencv/cxcore<BR>  ${OPENCV_DIR}/otherlibs/highgui)</P>
<P><FONT color=#000000></FONT> </P>
<P><FONT color=#000000>-changhyun</FONT></P>
<P><FONT color=#000000></FONT></SPAN> </P><img style="display:none" width=0 height=0 src="http://umail.etri.re.kr/External_ReadCheck.aspx?email=act-r-users@act-r.psy.cmu.edu&name=act-r+mailinglist&fromemail=y3rr0r@etri.re.kr&messageid=%3Cb066bed6-e6c0-46e9-805f-835a3bb12dcc@etri.re.kr%3E">