Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vector library on Leonardo #6

Open
jejmule opened this issue Jan 23, 2024 · 1 comment
Open

vector library on Leonardo #6

jejmule opened this issue Jan 23, 2024 · 1 comment

Comments

@jejmule
Copy link

jejmule commented Jan 23, 2024

Hello,

I can't find the vector library. I do Vector but not the vector. I am using visual strudio code with plateformio and coding a Leonardo board (industrial shield)

Here is the error message :

In file included from src\main.cpp:41:0:
.pio\libdeps\leonardo\CSE_ModbusRTU\src/CSE_ModbusRTU.h:15:10: fatal error: vector: No such file or directory
#include

Any insight?
Jérôme

@vishnumaiea
Copy link
Member

Hi @jejmule.

The library makes use of C++ standard Vector library extensions which are not available for AVR platform by default. You can install and add the ArduinoSTL vector library for AVR and try. The current development branch adds support for this library though not fully tested.

Please see if it is working for you and let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants