“Unable to resolve library include path” visual studio(visual micro)

筅森魡賤 提交于 2019-12-12 00:35:12

问题


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'"

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


回答1:


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.



来源:https://stackoverflow.com/questions/36672795/unable-to-resolve-library-include-path-visual-studiovisual-micro

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!