oled nano atmega328p error compiling

128x128 pixel 1.5" full colour OLED display with MicroSD card slot. [Product page]
Post Reply
shippy__
Posts: 4
Joined: Sat Apr 09, 2016 10:46 am

oled nano atmega328p error compiling

Post by shippy__ » Sat Apr 09, 2016 11:29 am

I am having a compile error in all the example files, being new to this spent all night trying to fix it.



Using the countdown example

Arduino: 1.6.5 (Windows 8.1), Board: "Arduino Nano, ATmega328"

Using library SPI in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI

Using library SD in folder: C:\Program Files (x86)\Arduino\libraries\SD



C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10605 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR -IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino -IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs -IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI -IC:\Program Files (x86)\Arduino\libraries\SD\src C:\Users\shippy\AppData\Local\Temp\build685419916726183639.tmp\countdown.cpp -o C:\Users\shippy\AppData\Local\Temp\build685419916726183639.tmp\countdown.cpp.o

countdown.ino:3:20: fatal error: FTOLED.h: No such file or directory
compilation terminated.
Error compiling.

shippy__
Posts: 4
Joined: Sat Apr 09, 2016 10:46 am

Re: oled nano atmega328p error compiling

Post by shippy__ » Sat Apr 09, 2016 11:35 am

using 1.6.8


Arduino: 1.6.8 (Windows 8.1), Board: "Arduino Nano, ATmega328"

C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware "C:\Program Files (x86)\Arduino\hardware" -tools "C:\Program Files (x86)\Arduino\tools-builder" -tools "C:\Program Files (x86)\Arduino\hardware\tools\avr" -built-in-libraries "C:\Program Files (x86)\Arduino\libraries" -libraries "C:\Users\shippy\Documents\Arduino\libraries" -fqbn=arduino:avr:nano:cpu=atmega328 -ide-version=10608 -build-path "C:\Users\shippy\AppData\Local\Temp\build3fbacd266b7a1f90bc7481e351012443.tmp" -warnings=none -prefs=build.warn_data_percentage=75 -verbose "C:\Users\shippy\Documents\Arduino\libraries\FTOLED\FTOLED\examples\countdown\countdown.ino"
C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware "C:\Program Files (x86)\Arduino\hardware" -tools "C:\Program Files (x86)\Arduino\tools-builder" -tools "C:\Program Files (x86)\Arduino\hardware\tools\avr" -built-in-libraries "C:\Program Files (x86)\Arduino\libraries" -libraries "C:\Users\shippy\Documents\Arduino\libraries" -fqbn=arduino:avr:nano:cpu=atmega328 -ide-version=10608 -build-path "C:\Users\shippy\AppData\Local\Temp\build3fbacd266b7a1f90bc7481e351012443.tmp" -warnings=none -prefs=build.warn_data_percentage=75 -verbose "C:\Users\shippy\Documents\Arduino\libraries\FTOLED\FTOLED\examples\countdown\countdown.ino"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "C:\Users\shippy\AppData\Local\Temp\build3fbacd266b7a1f90bc7481e351012443.tmp\sketch\countdown.ino.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "C:\Users\shippy\AppData\Local\Temp\build3fbacd266b7a1f90bc7481e351012443.tmp\sketch\countdown.ino.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "-IC:\Program Files (x86)\Arduino\libraries\SD\src" "C:\Users\shippy\AppData\Local\Temp\build3fbacd266b7a1f90bc7481e351012443.tmp\sketch\countdown.ino.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "-IC:\Program Files (x86)\Arduino\libraries\SD\src" "C:\Users\shippy\AppData\Local\Temp\build3fbacd266b7a1f90bc7481e351012443.tmp\sketch\countdown.ino.cpp" -o "C:\Users\shippy\AppData\Local\Temp\build3fbacd266b7a1f90bc7481e351012443.tmp\preproc\ctags_target_for_gcc_minus_e.cpp"
C:\Users\shippy\Documents\Arduino\libraries\FTOLED\FTOLED\examples\countdown\countdown.ino:3:20: fatal error: FTOLED.h: No such file or directory

#include <FTOLED.h>

^

compilation terminated.

Using library SPI at version 1.0 in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI
Using library SD at version 1.0.8 in folder: C:\Program Files (x86)\Arduino\libraries\SD
exit status 1
Error compiling for board Arduino Nano.
Invalid library found in C:\Users\shippy\Documents\Arduino\libraries\ArduinoNano30Eagle: C:\Users\shippy\Documents\Arduino\libraries\ArduinoNano30Eagle
Invalid library found in C:\Users\shippy\Documents\Arduino\libraries\FTOLED: C:\Users\shippy\Documents\Arduino\libraries\FTOLED
Invalid library found in C:\Users\shippy\Documents\Arduino\libraries\IRTemp: C:\Users\shippy\Documents\Arduino\libraries\IRTemp

shippy__
Posts: 4
Joined: Sat Apr 09, 2016 10:46 am

Re: oled nano atmega328p error compiling

Post by shippy__ » Sat Apr 09, 2016 1:34 pm

sorted the issue by installing the ftoled library but the update section

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest