Giter VIP home page Giter VIP logo

Comments (7)

tuna-f1sh avatar tuna-f1sh commented on June 11, 2024

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.

UltraBlackLinux avatar UltraBlackLinux commented on June 11, 2024

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.

UltraBlackLinux avatar UltraBlackLinux commented on June 11, 2024

#466
I had to install avr-libc 🤦
Why is this such a mess XD

from arduino-makefile.

UltraBlackLinux avatar UltraBlackLinux commented on June 11, 2024

Huh? Do I really need to manually add every library? This can't be right - It's also missing built in data types?:
Screenshot_59

from arduino-makefile.

UltraBlackLinux avatar UltraBlackLinux commented on June 11, 2024

Welp this is weird, I have to include arduino.h manually everytime

from arduino-makefile.

UltraBlackLinux avatar UltraBlackLinux commented on June 11, 2024

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.

UltraBlackLinux avatar UltraBlackLinux commented on June 11, 2024

I wonder, how often I will reopen this...
Please excuse this.

from arduino-makefile.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.