“Unable to resolve library include path” visual st

2019-09-08 15:36发布

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'" enter image description here

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. enter image description here

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

1条回答
ら.Afraid
2楼-- · 2019-09-08 16:20

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.

查看更多
登录 后发表回答