Comments (7)
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?
from arduino-makefile.
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.
from arduino-makefile.
#466
I had to install avr-libc 🤦
Why is this such a mess XD
from arduino-makefile.
Huh? Do I really need to manually add every library? This can't be right - It's also missing built in data types?:
from arduino-makefile.
Welp this is weird, I have to include arduino.h manually everytime
from arduino-makefile.
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.
from arduino-makefile.
I wonder, how often I will reopen this...
Please excuse this.
from arduino-makefile.
Related Issues (20)
- .ino.d file creatation has extra
- BOARD_TAG = teensy41, but teensy3 core is still selected.
- Teensy 3 / FastLED linker error HOT 1
- make target that results in TOOL_PREFIX of x86_64-linux-gnu HOT 1
- Arduino-Makefile cannot find samd boards.txt HOT 2
- Some flags are not parsed from the boards.txt for SAMD HOT 3
- docker support? HOT 1
- Flash project to Nano 33 BLE Sense HOT 1
- Need to close the serial monitor each time when uploading
- libs auto-detection in dependecies are not included
- "missing separator" error with macOS when ggrep not installed HOT 1
- Error on building a Arduino MKR Wifi 1010 project
- Why no new releases? HOT 1
- Seeduino XIAO not building.
- Source files inside internal folders HOT 1
- Arduino makefile issue dependencies libs with samd board
- Error when used with Arduino IDE 1.8.19
- No source file info in elf file
- New version is badly needed
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arduino-makefile.