I recently migrated from Windows to Linux (Fedora 22).
I installed two Arduino IDEs on my system:
Arduino 1.6.5 IDE without the teensy extension is finding the library.
Arduino 1.6.5 IDE with the teensy extension is not finding the library.
This is the test_sketch.ino:
This is in my sketchbook directory: /home/wolfv/Documents/Arduino/test_sketch/test_sketch.ino
This is in my library directory: /home/wolfv/Documents/Arduino/libraries/test_file/test_file.h
The Arduino 1.6.5 IDE without the teensy extension compiles the test_sketch.ino as expected.
The Arduino 1.6.5 IDE with the teensy extension does not compile the test_sketch.ino.
The Blink program compiles on the Arduino IDE and runs on teensy 2.0.
bperrybap said (on http://forum.arduino.cc/index.php?topic=343189 > post #7):
I didn't find any posts describing this problem, so maybe something is wrong with my setup.
Is there a way for Arduino 1.6.5 IDE with the teensy extension to find the library?
Thank you.
I installed two Arduino IDEs on my system:
- Arduino 1.6.5 IDE without teensy extension
- Arduino 1.6.5 IDE with the teensy extension
Arduino 1.6.5 IDE without the teensy extension is finding the library.
Arduino 1.6.5 IDE with the teensy extension is not finding the library.
This is the test_sketch.ino:
Code:
#include <test_file.h>
void setup() { }
void loop() { }
This is in my sketchbook directory: /home/wolfv/Documents/Arduino/test_sketch/test_sketch.ino
This is in my library directory: /home/wolfv/Documents/Arduino/libraries/test_file/test_file.h
The Arduino 1.6.5 IDE without the teensy extension compiles the test_sketch.ino as expected.
Non-teensy Ardunio IDE > Tools > Board > Adruino Nano
Restart the non-teensy Ardunio IDE, and click Verify. It compiled.
Restart the non-teensy Ardunio IDE, and click Verify. It compiled.
The Arduino 1.6.5 IDE with the teensy extension does not compile the test_sketch.ino.
Ardunio IDE with teensy extension > Tools > Board > Teensy 2.0
Restart the teensy Ardunio IDE, and click Verify. It got this compile error:
Restart the teensy Ardunio IDE, and click Verify. It got this compile error:
Code:
Arduino: 1.6.5 (Linux), TD: 1.24, Board: "Teensy 2.0, Serial, 16 MHz, US English"
/home/wolfv/Downloads/arduino-1.6.5/hardware/tools/avrteensy/bin/avr-g++ -c -Os -g -Wall -ffunction-sections -fdata-sections -MMD -fno-exceptions -felide-constructors -std=c++0x -mmcu=atmega32u4 -DTEENSYDUINO=124 -DARDUINO=10605 -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/home/wolfv/Downloads/arduino-1.6.5/hardware/teensy/avr/cores/teensy /tmp/build8812658720315613176.tmp/test_sketch.cpp -o /tmp/build8812658720315613176.tmp/test_sketch.cpp.o
test_sketch.ino:1:23: fatal error: test_file.h: No such file or directory
compilation terminated.
Error compiling.
The Blink program compiles on the Arduino IDE and runs on teensy 2.0.
bperrybap said (on http://forum.arduino.cc/index.php?topic=343189 > post #7):
It is possible that the latest 1.6.5 header searching is not working correctly in the Teensy environment when there are no other source code modules.
I didn't find any posts describing this problem, so maybe something is wrong with my setup.
Is there a way for Arduino 1.6.5 IDE with the teensy extension to find the library?
Thank you.