You are not logged in.
Pages: 1
installed arduino and can't include .h files(file not found) . Do I need to do something extra for standard lib files?
installed via the following:
# pacman -S arduino arduino-docs
# pacman -S arduino-avr-core
Thanks
Fred
Offline
You did add your user to uucp & lock groups and verify kernel module cdc_acm is loaded ?
Please post the command you ran , it's terminal output and the exact error message .
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
(A works at time B) && (time C > time B ) ≠ (A works at time C)
Offline
Mod note: Moving to NC.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Yes added to uucp and lock groups
cdc_acm is not loaded
error message from verify and compile
Arduino: 1.8.9 (Linux), Board: "Arduino/Genuino Uno"
/usr/share/arduino/arduino-builder -dump-prefs -logger=machine -hardware /usr/share/arduino/hardware -tools /usr/share/arduino/tools-builder -libraries /home/gek/Arduino/libraries -fqbn=archlinux-arduino:avr:uno -ide-version=10809 -build-path /tmp/arduino_build_176692 -warnings=none -build-cache /tmp/arduino_cache_13461 -prefs=build.warn_data_percentage=75 -verbose /home/gek/src/arduino/ada/lesson11/lesson11.ino
/usr/share/arduino/arduino-builder -compile -logger=machine -hardware /usr/share/arduino/hardware -tools /usr/share/arduino/tools-builder -libraries /home/gek/Arduino/libraries -fqbn=archlinux-arduino:avr:uno -ide-version=10809 -build-path /tmp/arduino_build_176692 -warnings=none -build-cache /tmp/arduino_cache_13461 -prefs=build.warn_data_percentage=75 -verbose /home/gek/src/arduino/ada/lesson11/lesson11.ino
Using board 'uno' from platform in folder: /usr/share/arduino/hardware/archlinux-arduino/avr
Using core 'arduino' from platform in folder: /usr/share/arduino/hardware/archlinux-arduino/avr
Detecting libraries used...
/usr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -fno-devirtualize -fno-use-cxa-atexit -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -I/usr/share/arduino/hardware/archlinux-arduino/avr/cores/arduino -I/usr/share/arduino/hardware/archlinux-arduino/avr/variants/standard /tmp/arduino_build_176692/sketch/lesson11.ino.cpp -o /dev/null
lesson11:3:10: error: LiquidCrystal.h: No such file or directory
3 | #include <LiquidCrystal.h>
| ^~~~~~~~~~~~~~~~~
compilation terminated.
exit status 1
LiquidCrystal.h: No such file or directory
I have compiled and uploaded arduino code that did not have #include
Thank you for your help
Last edited by dk23 (2019-05-26 18:04:16)
Offline
Please edit your previous posts and put all terminal commands and their outputs in [code] [code] tags, thanks.
Offline
Sidenote: I strongly suggest moving to PlatformIO (no, you don't have to use vscode to use it), it is a lot less painful to use.
But for the issue: Did you remember to add the library in the arduino library manager?
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
The library
LiquidCrystal.h
is part of the standard library not a third party lib. I expected that all standard libs would be installed.
I will check out PlatformIO also looking at arduino-cli. I'm just starting to play with arduinos but have lots of programming and linux experience.
Thank You
Offline
It is not incuded in the arduino package, you have to select to install it in the menu.
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
Thank you, also for the pointer to PlatformIO, been reading about it this morning. Going to ditch arduino ide and use PIO. I use pycharm , don't think there is a PIO plug in.
Offline
Pages: 1