[英]ArUco on visual studio 2013
opencv2.4.10 was installed on my machine. 我的机器上安装了opencv2.4.10。 And it integrates vs2013.
它集成了vs2013。 Now, I want to create AR app using ArUco and vs2013.
现在,我想使用ArUco和vs2013创建AR应用程序。
I download ArUco 1.2.4 from here . 我从这里下载ArUco 1.2.4。 And I create a console application on vs2013.
我在vs2013上创建了一个控制台应用程序。 I do below steps :
我做以下步骤:
1.Menu Project ---- $ProjectName Properties 1.Menu Project ---- $ ProjectName属性
Choose Configuration Manager... and add x64 platform 选择Configuration Manager ...并添加x64平台
At configuration field, choose release configuration 在配置字段中,选择发布配置
3.1. 3.1。 At Configuration Properties ---- C/C++ ---- Additional Include Directories, ..\\aruco_msvc\\include
在Configuration Properties ---- C / C ++ ---- Additional Include Directories,.. \\ aruco_msvc \\ include
3.2. 3.2。 At Configuration Properties ---- Linker ---- Additional Library Directories, ..\\aruco_msvc\\lib
在Configuration Properties ---- Linker ---- Additional Library Directories,.. \\ aruco_msvc \\ lib
3.3 At Configuration Properties ---- Linker ---- Additional dependencies ---- add dependence libraries 3.3在配置属性----链接器----附加依赖项----添加依赖库
aruco124.dll aruco124.dll
tbb.dll tbb.dll
(there are some opencvxxx241.dll but I don't add them. Because I added opencvxxx2410.dll before.) (有一些opencvxxx241.dll,但我不添加它们。因为我之前添加了opencvxxx2410.dll。)
3.4. 3.4。 Add ..\\aruco_msvc\\bin to System Environment Path
将.. \\ aruco_msvc \\ bin添加到系统环境路径
3.5. 3.5。 Restart Visual studio.
重启Visual Studio。
Then, I run my project using release mode, it says that cannot open input file aruco124.dll
然后,我使用发布模式运行我的项目,它说
cannot open input file aruco124.dll
EDIT !!! 编辑!!!
I use only aruco_msvc folder from taken here these steps. 我只使用aruco_msvc文件夹从这里采取这些步骤。 I think that I don't need aruco1.2.4 folder.
我认为我不需要aruco1.2.4文件夹。 Is that right?
那正确吗?
I change step 3.3, and it works. 我改变了步骤3.3,它的工作原理。
3.3 At Configuration Properties ---- Linker ---- Additional dependencies ---- add dependence libraries 3.3在配置属性----链接器----附加依赖项----添加依赖库
aruco124.lib aruco124.lib
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.