andrewrapp / xbee-arduino

Arduino library for communicating with XBee radios in API mode
GNU General Public License v2.0
334 stars 162 forks source link

Platform IO - XBee.h not found #97

Closed RobertoD91 closed 2 years ago

RobertoD91 commented 2 years ago

I'm using vscode 1.67.1 and Platform IO 5.2.5

if i install the library via pio lib install "andrewrapp/XBee"

i get the error: src/main.cpp:19:10: fatal error: XBee.h: No such file or directory

however if i add this git in lib folder in workspace it work

.
├── include
│   └── README
├── lib
│   ├── README
│   └── xbee-arduino-master
│       ├── COPYING
│       ├── Doxyfile
│       ├── LICENSE
│       ├── Printers.cpp
│       ├── Printers.h
│       ├── README.md
...
├── platformio.ini
├── src
│   └── main.cpp
└── test
    └── README
RobertoD91 commented 2 years ago

Nevermind, just replace andrewrapp/XBee @ 0.5.0 with andrewrapp/XBee @ 0.0.0-alpha+sha.39f236ea18 in platformio.ini