ArUco在视觉工作室2013 [英] ArUco on visual studio 2013

查看:323
本文介绍了ArUco在视觉工作室2013的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

opencv2.4.10安装在我的机器上。它集成了vs2013。现在,我想使用ArUco和vs2013创建AR应用程序。



我从这里。并且我在vs2013上创建一个控制台应用程序。我做下面的步骤:



1.菜单项目---- $ ProjectName属性


  1. 选择配置管理器...并添加x64平台


  2. 在配置字段中,选择发布配置



    3.1。配置属性---- C / C ++ ----其他包含目录,..\aruco_msvc\include



    3.2。在配置属性----链接器----其他库目录,..\aruco_msvc\lib



    3.3在配置属性----链接器 - - 附加依赖关系----添加依赖库


aruco124.dll



tbb.dll



(有一些opencvxxx241.dll,但我不添加它们,因为我之前添加了opencvxxx2410.dll) p>

3.4。将..\aruco_msvc\bin添加到系统环境路径



3.5。重新启动Visual studio。



然后,我使用发布模式运行我的项目,它表示无法打开输入文件aruco124.dll



编辑!!!



我仅使用aruco_msvc文件夹 here 这些步骤。我认为我不需要aruco1.2.4文件夹。这是对的吗?

解决方案

我改变步骤3.3,它的工作。



3.3在配置属性----链接器----其他依赖关系----添加依赖库



aruco124.lib


opencv2.4.10 was installed on my machine. And it integrates vs2013. Now, I want to create AR app using ArUco and vs2013.

I download ArUco 1.2.4 from here. And I create a console application on vs2013. I do below steps :

1.Menu Project ---- $ProjectName Properties

  1. Choose Configuration Manager... and add x64 platform

  2. At configuration field, choose release configuration

    3.1. At Configuration Properties ---- C/C++ ---- Additional Include Directories, ..\aruco_msvc\include

    3.2. At Configuration Properties ---- Linker ---- Additional Library Directories, ..\aruco_msvc\lib

    3.3 At Configuration Properties ---- Linker ---- Additional dependencies ---- add dependence libraries

aruco124.dll

tbb.dll

(there are some opencvxxx241.dll but I don't add them. Because I added opencvxxx2410.dll before.)

3.4. Add ..\aruco_msvc\bin to System Environment Path

3.5. Restart Visual studio.

Then, I run my project using release mode, it says that cannot open input file aruco124.dll

EDIT !!!

I use only aruco_msvc folder from taken here these steps. I think that I don't need aruco1.2.4 folder. Is that right?

解决方案

I change step 3.3, and it works.

3.3 At Configuration Properties ---- Linker ---- Additional dependencies ---- add dependence libraries

aruco124.lib

这篇关于ArUco在视觉工作室2013的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆