Comments (9)
Can you also post your sketch, either as a gist or in pastebin?
Also the SPI library you are using is the build in one? And which Arduino version you are using?
from arduino-makefile.
Hi.
THe SPI lib is the standard one, not one in my USER LIB folder. Arduino version is 1.0.5.
Sketch is here: http://pastebin.com/eNp2xFxD
Thanks
Brad
from arduino-makefile.
I'm getting this too on Debian with 1.0.5 (and arduino-mk 0.10-5) it seems sometime after 0.10-2 the libs folder isn't being created within the build-uno directory.
I assume its because DEP_FILE is no longer being used (commit 4fdd176) it only seems to affect system libs - same as Brad has with his SPI lib.
- ARDUINO_LIBS =
- [USER] Adafruit_GFX
- [USER] Adafruit_PCD8544
- [USER] Adafruit_BMP085
- [USER] DHT
- [SYSTEM] Wire
- [SYSTEM] Wire/utility
- [SYSTEM] Wire/utility
-------------------------
/usr/bin/avr-gcc -MMD -c -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=105 -I. -I/usr/share/arduino/hardware/arduino/cores/arduino -I/usr/share/arduino/hardware/arduino/variants/standard -I/usr/share/arduino/libraries/Wire -I/usr/share/arduino/libraries/Wire/utility -I/usr/share/arduino/libraries/Wire/utility -I/home/simon/programming/c++/arduino/libraries/Adafruit_GFX -I/home/simon/programming/c++/arduino/libraries/Adafruit_PCD8544 -I/home/simon/programming/c++/arduino/libraries/Adafruit_BMP085 -I/home/simon/programming/c++/arduino/libraries/DHT -g -Os -Wall -ffunction-sections -fdata-sections -std=gnu99 /usr/share/arduino/libraries/Wire/utility/twi.c -o build-uno/libs/Wire/utility/twi.o
/usr/share/arduino/libraries/Wire/utility/twi.c:526:1: fatal error: opening dependency file build-uno/libs/Wire/utility/twi.d: No such file or directory
compilation terminated.
make: *** [build-uno/libs/Wire/utility/twi.o] Error 1
from arduino-makefile.
I recently also noticed this. I suspect that one of my commits caused it, I'll see how we can fix this properly.
from arduino-makefile.
Some more hints for debugging.
I guess this happens when the library folder has more than one *.cpp file.
from arduino-makefile.
I have a suspicion its 1.0.5-specific, in particular all the Arduino Robot libs that come with 1.0.5 seem buggy as all hell... Not sure if it's trying (and failing) to build these too...
from arduino-makefile.
The 1.0.5 wifi libs have been a headache too, but I don't think that's the problem
from arduino-makefile.
I have a suspicion its 1.0.5-specific
I am able to reproduce this even in Arduino 1.0.3. So I guess this is because of the change in dependency code and not Arduino.
from arduino-makefile.
Here's a fix. Not as pretty as I would have liked, but Makefiles really are too limited in certain ways, it seems.
from arduino-makefile.
Related Issues (20)
- monitor: why not use "cat"? (Question) HOT 2
- .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
- Arduino.h no such file or directory HOT 7
- 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
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.