“无法解析库包含路径”视觉工作室(视觉微观) [英] "Unable to resolve library include path" visual studio(visual micro)

查看:178
本文介绍了“无法解析库包含路径”视觉工作室(视觉微观)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用visual studio 2013和visual micro作为arduino编码的添加。如果我在arduino IDE中运行我的代码,代码编译很好但是当我在visual studio中编译相同的代码时,它说无法解析库包含路径'SPI'

I'm using visual studio 2013 and visual micro as add ones for arduino coding. If I run my code in arduino IDE ,code compiles fine but when I compile the same code in visual studio , it says "Unable to resolve library include path 'SPI'"

我通过visual micro包含这些库,并显示所有这些库。所以我想这不是我的库目录错了。

I include those libraries via visual micro and it shows all of them. So I guess it's not that my library directory is wrong.

如何解决此问题?这可能是什么原因?
谢谢

How can I solve this problem ? what may be the reason for this? thanks

推荐答案

您似乎忘了在项目属性 - > vc ++目录中将库目录包含到库文件夹部分 - >图书馆(可能是)部分。如果你没有,也可以在那里添加include目录。

It seems you forgot to include Library directories to library folder section in project properties->vc++ directories->libraries(may be) section. And also add include directories there too if you haven't.

这篇关于“无法解析库包含路径”视觉工作室(视觉微观)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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