| Summary: | devel/arduino18: Can't use any arduino library | ||
|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Raffeale <dcp2k> |
| Component: | Individual Port(s) | Assignee: | Kyle Evans <kevans> |
| Status: | Closed FIXED | ||
| Severity: | Affects Many People | CC: | emaste, kevans |
| Priority: | --- | Keywords: | needs-qa |
| Version: | Latest | Flags: | koobs:
maintainer-feedback?
(kevans) |
| Hardware: | amd64 | ||
| OS: | Any | ||
hi pr, could you fix this issuse , i am waiting for you! thanks a lot! i really need it. today I reinstalled freebsd, it works fine when I use show shell as login shell. but it still reports the error messages when I use csh shell as login shell. it's so interesting bug. i found actually cause of not compile issue. when i set LC_ALL "zh_CN.UTF-8" and LC_CTYPE "zh_CN.UTF-8" , arduino can't compile with build-in library. yesterday,i tested it again, I found that arduino could compile it with built-in library when I did not set LC_ALL environment variable. |
when i use SoftwareSerial libraray in my arduino , i got some error message when i compiling it. /home/raffeale/pyproject/Arduino/remote_control/remote_control.ino:5:10: fatal error :SoftwareSerial/src/SoftwareSerial.h:File or directory is not exist! 5 | #include <SoftwareSerial/src/SoftwareSerial.h> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ exit status 1 Error compiling for board Arduino Nano. this is part of code . i found the libarary is exist /usr/local/arduino/hardware/arduino/avr/libraries , please fix this bug , i cant use any build-in library with arduino #include <SoftwareSerial.h> SoftwareSerial tft(10, 11); // RX, TX //#define wifi_rx 10 //#define wifi_tx 11 //#include <SoftwareSerial.h> //SoftwareSerial wifi(wifi_rx, wifi_tx); // RX, TX void init_tft() { tft.begin(115200); tft.println("CLS(0);"); }