【发布时间】:2018-04-03 05:47:58
【问题描述】:
我安装了最新版本的 DEV C++ 和 OpenCV 3.4.1。 根据各个网站上的说明,lib 文件夹存在于 opencv 文件夹中,但在高于 2.3 的版本中,lib 文件夹存在于 inlude\opencv\vcxx\lib 并包含\opencv\vcxx\bin
在使用 opencv 设置 DEV C++ 时,我在 Bin 中给出以下内容 C:\OpenCV..\inlude\opencv\vcxx\bin
对于库: C:\OpenCV..\inlude\opencv\vcxx\lib
但是当我运行简单的 Hello world 程序时,它也显示源文件未编译。 由于 C:\OpenCV\
中没有 LIB 文件夹,我在使用 DEV C++ 设置大于 2.3 的 OpenCV 版本时注意到了很多问题请提出建议
【问题讨论】:
-
您遇到的确切错误是什么?另外,你说
.. in versions higher than 2.3 lib folders are present ..,然后说.. versions greater than 2.3 with DEV C++ due to absence of LIB folder ..,那是哪个? -
@TreytenCarey 确切的问题是,当我什至尝试使用编译器作为 OpenCV 运行 Hello world 时,它说源文件未编译。
-
@TreytenCarey 虽然使用 OpenCV 2.2.0 一切正常,但如果我安装 OpenCV 3.X 版本,即使 Hello world 也无法正常工作