Hi all,
I have a problem with my sketch.
A little premise: I need to use the IDE 1.6.5 because the ZUno boards works only under this versison of the IDE.
Under the same version of the IDE, I use also the ESP8266.
Every time I need to work with one board I change the setting "Additional boards manager URLs" pointing the right json.
Now I'm working with ZUno board and in my sketch I need to use the SparkFun_GridEYE_Arduino_Library.
I already used this library some times ago and all went ok.
Now , when I try to include the library in my sketch, the compiler gives me this error:
Arduino:1.6.5 (Windows 8.1), Scheda:"Z-Wave>ME Z-Uno, Europe, Disabled, Disabled, Disabled, All"
************* Building Arduino Sketch *************
C:\Users\Michele\AppData\Local\Temp\build596377045910125860.tmp/zWave_SD_IR_ARRAY_COUNTER_NO_STRING_280519.cpp
***************************************************
Preprocessing file: Custom.c with SDCPP...
Preprocessing file: Print.cpp with SDCPP...
Compiling Print_sdcpp_.cpp ...
Preprocessing file: Stream.cpp with SDCPP...
Compiling Stream_sdcpp_.cpp ...
Preprocessing file: HardwareSerial.cpp with SDCPP...
Compiling HardwareSerial_sdcpp_.cpp ...
Preprocessing file: HLCore.cpp with SDCPP...
Compiling HLCore_sdcpp_.cpp ...
Preprocessing file: Wire.cpp with SDCPP...
Compiling Wire_sdcpp_.cpp ...
Preprocessing file: zWave_SD_IR_ARRAY_COUNTER_NO_STRING_280519.cpp with SDCPP...
zWave_SD_IR_ARRAY_COUNTER_NO_STRING_280519:3: error: SparkFun_GridEYE_Arduino_Library.h: No such file or directory
compilation terminated.
Preprocessor failed!uCxx returned error code:1
Multiple libraries were found for "SparkFun_GridEYE_Arduino_Library.h"
Used: C:\Users\Michele\Documents\Arduino\libraries\SparkFun_GridEYE_AMG88_Library
Not used: C:\Users\Michele\Documents\Software\arduino-1.6.5-r5-windows\arduino-1.6.5-r5\libraries\SparkFun_GridEYE_AMG88_Library
SparkFun_GridEYE_Arduino_Library.h: No such file or directory
Questo report potrebbe essere più ricco
di informazioni con
"Mostra un output dettagliato durante la compilazione"
abilitato in "File > Impostazioni"
Consider that I just added this line to my working sketch:
#include <SparkFun_GridEYE_Arduino_Library.h>
The strange thing is this: when I change the board, using the ESP8266, all is ok...
I really don't understand this problem.
Please, someone can help me?
When you encounter an error, you'll see a button on the right side of the orange bar "Copy error messages" in the Arduino IDE (or the icon that looks like two pieces of paper at the top right corner of the black console window in the Arduino Web Editor). Click that button..
In a forum reply here, click on the reply field.
Click the </> button on the forum toolbar. This will add the forum's code tags markup to your reply.
Press "Ctrl + V". This will paste the error between the code tags.
Move the cursor outside of the code tags before you add any additional text to your reply.
If the text exceeds the forum's 9000 character limit, save it to a .txt file and post it as an attachment. If you click the "Reply" button here, you will see an "Attachments and other settings" link that will allow you to make the attachment.
When you encounter an error, you'll see a button on the right side of the orange bar "Copy error messages" in the Arduino IDE (or the icon that looks like two pieces of paper at the top right corner of the black console window in the Arduino Web Editor). Click that button..
In a forum reply here, click on the reply field.
Click the </> button on the forum toolbar. This will add the forum's code tags markup to your reply.
Press "Ctrl + V". This will paste the error between the code tags.
Move the cursor outside of the code tags before you add any additional text to your reply.
If the text exceeds the forum's 9000 character limit, save it to a .txt file and post it as an attachment. If you click the "Reply" button here, you will see an "Attachments and other settings" link that will allow you to make the attachment.
I corrected the post and copy/paste the complete error message from the IDE
Michelelos:
I need to use the IDE 1.6.5 because the ZUno boards works only under this versison of the IDE.
What is your source for this statement? Sometimes you will find installation instructions that say something like "Arduino IDE 1.6.5 is required", when what they really mean is "Arduino IDE 1.6.5 or newer is required". A lot of improvements have been made in the years since Arduino IDE 1.6.5 was released, so it's possible the issue you are having wouldn't occur when using a modern version of the Arduino IDE.
I tried to use (in 2018) a newest version of the arduino IDE but wasn't working.
I followed the ZUno project "quick guide" from here: Install
Also in their forum is suggested to use the 1.6.5 version.
Maybe I can try again with the last version
But the question is why some days ago was working correctly and now not ?
Why with the ESP8266 that library is working and with the Zuno board the compiler don't find the library ?
A short update:
Installed the last IDE 1.8.12 - ok
Installed the board ESP8266 library - ok
Installed the board ZUno library - ok
If I compile my sketch I receive the same error:
Arduino:1.8.12 (Windows 10), Scheda:"Z-Wave>ME Z-Uno, Europe, Disabled, Disabled, Disabled, Disabled"
************* Building Arduino Sketch *************
C:\Users\Michele\AppData\Local\Temp\arduino_build_993462/zWave_SD_IR_ARRAY_COUNTER_NO_STRING_280519.ino
***************************************************
--- USING a list of libraries from:
C:\Users\Michele\AppData\Local\Arduino15\packages\Z-Uno\hardware\zw8051\2.1.5\libraries
C:\Users\Michele\Documents\Arduino\libraries
*** Collecting prototypes...
Preprocessing file: Custom.c with SDCPP...
Preprocessing file: Print.cpp with SDCPP...
Compiling Print_sdcpp_.cpp ...
Preprocessing file: Stream.cpp with SDCPP...
Compiling Stream_sdcpp_.cpp ...
Preprocessing file: HardwareSerial.cpp with SDCPP...
Compiling HardwareSerial_sdcpp_.cpp ...
Preprocessing file: HLCore.cpp with SDCPP...
Compiling HLCore_sdcpp_.cpp ...
Preprocessing file: Wire.cpp with SDCPP...
Compiling Wire_sdcpp_.cpp ...
Preprocessing file: zWave_SD_IR_ARRAY_COUNTER_NO_STRING_280519.cpp with SDCPP...
zWave_SD_IR_ARRAY_COUNTER_NO_STRING_280519:3: error: SparkFun_GridEYE_Arduino_Library.h: No such file or directory
compilation terminated.
Preprocessor failed!uCxx returned error code:1
exit status 1
SparkFun_GridEYE_Arduino_Library.h: No such file or directory
Questo report potrebbe essere più ricco di informazioni abilitando l'opzione
"Mostra un output dettagliato durante la compilazione"
in "File -> Impostazioni"