OpenCV、CMake、VS2010的问题 10

在使用CMake对OPenCV进行编译时,出现了以下错误,请高手指点。CheckforworkingCcompilerusing:VisualStudio10Checkf... 在使用CMake对OPenCV进行编译时,出现了以下错误,请高手指点。
Check for working C compiler using: Visual Studio 10
Check for working C compiler using: Visual Studio 10 -- works
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Check for working CXX compiler using: Visual Studio 10
Check for working CXX compiler using: Visual Studio 10 -- works
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE)
Could NOT find PythonLibs (missing: PYTHON_LIBRARIES PYTHON_INCLUDE_DIRS)
IPP detected:
Parsing 'cvconfig.h.cmake'
CMake Warning (dev) at apps/haartraining/CMakeLists.txt:4 (link_directories):
This command specifies the relative path

.

as a link directory.

Policy CMP0015 is not set: link_directories() treats paths relative to the
source dir. Run "cmake --help-policy CMP0015" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.

General configuration for opencv 2.1.0 =====================================

Built as dynamic libs?: ON
Compiler:
C++ flags (Release): /DWIN32 /D_WINDOWS /W4 /Zm1000 /EHsc- /GR /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /MD /O2 /Ob2 /D NDEBUG /Zi
C++ flags (Debug): /DWIN32 /D_WINDOWS /W4 /Zm1000 /EHsc- /GR /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /D_DEBUG /MDd /Zi /Ob0 /Od /RTC1
Linker flags (Release): /STACK:10000000 /machine:X86 /INCREMENTAL:NO /debug
Linker flags (Debug): /STACK:10000000 /machine:X86 /debug
Image I/O:
JPEG: build
PNG: build
TIFF: build
JPEG 2000: build

Interfaces:
Old Python: 0
Python: ON
Python interpreter: PYTHON_EXECUTABLE-NOTFOUND
Python numpy: 0
Use IPP: NO
Use TBB: NO
Build Documentation 0

Install path: D:/OpenCV2.1/vs2010

cvconfig.h is in: D:/OpenCV2.1/vs2010
-----------------------------------------------------------------

Configuring done
展开
 我来答
繁花落尽007
2010-06-06
知道答主
回答量:13
采纳率:0%
帮助的人:0
展开全部
我用opencv 2.1 是在VS2008,不需要下CMAKE,我用CMAKE 安装OPENCV 2.0的时候,没有遇到这样的问题。现在,我要在Linux 下面 cmake opencv2.1 ,已经2个星期了,也是还一直有问题。

嗯, 找到这个,希望对你有帮助, http://www.opencv.org.cn/forum/viewtopic.php?f=1&t=10070
你之前有看过这个么?

希望你早日解决问题.有问题还是可以探讨的,呵呵
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式