【问题标题】:Source File not compiled with latest version of DEV C++ and OpenCV 3.X version源文件未使用最新版本的 DEV C++ 和 OpenCV 3.X 版本编译
【发布时间】: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 也无法正常工作

标签: c++ opencv3.0 dev-c++


【解决方案1】:

文件夹被称为“include”,而不是“inlude”。

【讨论】:

  • 小错字..但是对解决方案有什么建议吗?
猜你喜欢
  • 2013-01-08
  • 1970-01-01
  • 1970-01-01
  • 2019-06-27
  • 2010-09-06
  • 2016-11-04
  • 2019-10-07
  • 1970-01-01
  • 2014-05-13
相关资源
最近更新 更多