Closed UltraBlackLinux closed 3 years ago
We need the full header that is printed at the start to really debug anything but first thing I would ask is does '/home/maus/Arduino/.ArduinoCore-avr//hardware/arduino//cores/arduino' actually exist and contain the Arduino core? I think there is a missing ARCHITECTURE variable missing the that path. 'arduino//cores' should be 'arduino/avr/cores'.
Can you try compiling the 'Blink' example (with the core set to the custom directory you downloaded) too?
We need the full header that is printed at the start to really debug anything but first thing I would ask is does '/home/maus/Arduino/.ArduinoCore-avr//hardware/arduino//cores/arduino' actually exist and contain the Arduino core? I think there is a missing ARCHITECTURE variable missing the that path. 'arduino//cores' should be 'arduino/avr/cores'.
Can you try compiling the 'Blink' example (with the core set to the custom directory you downloaded) too?
Oh well, the directory actually doesn't exist, so I set it back to what it was before (/usr/share/arduino), but it still doesn't work - I only have the directories up to .../avr (The boards.txt didn't generate for me so I had to manually create some directories - What a buggy mess - so this might have broken something) - Compilation also doesn't work with the example.
EDIT: Progress! I redownloaded the arduino core and the core avr package (and had to move it into the hardware/arduino folder for some reason), and now it can't find stdlib.h: /home/maus/Cxx/Arduino/.Arduino-core/hardware/arduino//cores/arduino/Arduino.h:23:10: fatal error: stdlib.h: No such file or directory
- I am once again out of Ideas
EDIT 2: I now decided to actually download the arduino package from their website, and not just the core - Now the stdlib.h is actually where it's supposed to be, but as Arduino-mk is using avr-g++ it can't find the stdlib.h apparently.
https://github.com/sudar/Arduino-Makefile/issues/466 I had to install avr-libc :facepalm: Why is this such a mess XD
Huh? Do I really need to manually add every library? This can't be right - It's also missing built in data types?:
Welp this is weird, I have to include arduino.h manually everytime
Aaa this is driving me crazy. I am having more and more library problems and they all seem to disappear, when new come. Now AR_MK can't find the wire library, even though I installed it for sure
This time it was the makefile. - Big brain.
I wonder, how often I will reopen this... Please excuse this.
Hey there, I've been trying to get this to work for quite some time now, but It's just not working out. I have installed arduino, and even redownloaded the arduino-core to a custom directory, but still Ar-Mf is not detecting the Arduino.h file, and I am now out of Ideas. What am I doing wrong?
This is the terminal output:
Thanks!