Hi peeps,
I have been following a awsome dude who made a awsome Fish tank arduino all-in-one controll.
I have followed this guy on a forum.
If anyone knows him please let him know that i am greatful for his work and that we need more guys like him the world.
Anyways, when i try to run the code on my Mega, i get this error msg, i have followed up the entire forum post and retried and i still get same error msg. and it goes like this:
Arduino: 1.6.6 (Windows 7), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"
WARNING: Category '' in library OneWire is not valid. Setting to 'Uncategorized'
WARNING: Category '' in library OneWire is not valid. Setting to 'Uncategorized'
WARNING: Category '' in library OneWire is not valid. Setting to 'Uncategorized'
C:\Users\Yaser\Documents\Arduino\MrAqua_v2_2_3\MrAqua_v2_2_3.ino:4:19: fatal error: SdFat.h: No such file or directory
#include <SdFat.h>
^
compilation terminated.
Multiple libraries were found for "IRremote.h"
Used: C:\Users\Yaser\Documents\Arduino\libraries\IRremote
Not used: C:\Program Files (x86)\Arduino\libraries\RobotIRremote
Multiple libraries were found for "OneWire.h"
Used: C:\Users\Yaser\Documents\Arduino\libraries\OneWire
Not used: C:\Users\Yaser\Documents\Arduino\libraries\arduino_942085
Not used: C:\Users\Yaser\Documents\Arduino\libraries\arduino_601006
Multiple libraries were found for "DallasTemperature.h"
Used: C:\Users\Yaser\Documents\Arduino\libraries\DallasTemperature
Not used: C:\Users\Yaser\Documents\Arduino\libraries\MAX31850_DallasTemp
exit status 1
Error compiling.
Invalid library found in C:\Users\Yaser\Documents\Arduino\libraries\SdFat-master: C:\Users\Yaser\Documents\Arduino\libraries\SdFat-master
Invalid library found in C:\Users\Yaser\Documents\Arduino\libraries\SdFat-master: C:\Users\Yaser\Documents\Arduino\libraries\SdFat-master
Invalid library found in C:\Users\Yaser\Documents\Arduino\libraries\SdFat-master: C:\Users\Yaser\Documents\Arduino\libraries\SdFat-master
This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.
what am i doing wrong here?
Many many, many Thanks in advance to you and specialy the auther of the code and the owner of the project.
Please put your code in its own window as seen in other posts. This can be done by placing [code] and [/code] around the code or use the </> icon. This makes it easier for others to read.
That webpage has a zip file with all the libraries, but they are a year old.
Perhaps you have already installed some of those, or you have copied the libraries to the wrong location.
It seems that you have installed "OneWire" and "DallasTemperature" more than once.
And there seems to be a problem with "tinyFAT", but I don't know what the problem is.
Further to what has already been said, the "IRremote" library and the "RobotIRremote" library cannot co-exist. The "IRremote" library documentation clearly states that you need to remove/delete "RobotIRremote" before installation. It's one or the other, but not both.
I tried to pos the code, but its over the limite, i will attach the file so you can have a look at it.
no need to be paranoid, there is no trojan or any hack, just the Arduino code.
Yes Go on please, yes i know how to locate my self trough the menu and options.
My T key is broken just so you know, my kids are fighting over the computer, and this is the resualt of it, i mean if there is a t missing in any word is typing.
Use to Library Manager to check what is installed.
Go to the folder of your projects and check the folder "libraries", does that seem okay ?
Your projects are often located at User/Documents/Arduino
Somehow you have a few libraries twice.
I hope you did not install libraries into the Arduino system files, that would really mess up things. If you have changed the Arduino system files once, you better download the newest version and use that.
i have been removing the Libary, and reinstalled them, and still i get same error.
I looked trought the libary folder and i see only 1 pcs of each libary so whats make the arduino IDE claim that there is multiple libarys when there is not.
Neptunus:
i have been removing the Libary, and reinstalled them, and still i get same error.
I looked trought the libary folder and i see only 1 pcs of each libary so whats make the arduino IDE claim that there is multiple libarys when there is not.
There are multiples. Your error messages tell you exactly where each copy of each library is located.
(In the case of 'IRremote', you need to delete either 'IRremote' or 'RobotIRremote'.)
Then you have this error to sort out, relating to the 'SdFat.h' library:-
C:\Users\Yaser\Documents\Arduino\MrAqua_v2_2_3\MrAqua_v2_2_3.ino:4:19: fatal error: SdFat.h: No such file or directory
Invalid library found in C:\Users\Yaser\Documents\Arduino\libraries\SdFat-master: C:\Users\Yaser\Documents\Arduino\libraries\SdFat-master
The error messages would only list these errors if they were true.
Thank you for waking me up, i dident relize that there was another Libary in x86 Arduino libary.
so i did some extra check, and i get this now.
Arduino: 1.6.6 (Windows 7), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"
WARNING: Category '' in library OneWire is not valid. Setting to 'Uncategorized'
C:\Users\Yaser\Desktop\Sketches\MrAqua_v2_2_3\MrAqua_v2_2_3.ino:188:19: fatal error: SdFat.h: No such file or directory
#include <SdFat.h>
^
compilation terminated.
exit status 1
Error compiling.
This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.
P/S
I get another Folder with the Project Libary called __MACOSX, and there is another libary in that folder aswell!
Neptunus:
Thank you for waking me up, i dident relize that there was another Libary in x86 Arduino libary.
so i did some extra check, and i get this now.
Arduino: 1.6.6 (Windows 7), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"
WARNING: Category '' in library OneWire is not valid. Setting to 'Uncategorized'
C:\Users\Yaser\Desktop\Sketches\MrAqua_v2_2_3\MrAqua_v2_2_3.ino:188:19: fatal error: SdFat.h: No such file or directory
#include <SdFat.h>
compilation terminated.
exit status 1
Error compiling.
This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.
P/S
I get another Folder with the Project Libary called __MACOSX, and there is another libary in that folder aswell!
Remember, you're the boss. You decide what libraries you install and use. Why all of these duplicate libraries?
Don't you look at what you're putting into your libraries folder? You need to look through the __MACOSX folder, delete any libraries that are already installed, then delete any libraries that you aren't planning to use, then maybe place the rest of it's contents in with the rest of the libraries.
The error messages told the story right from the beginning, and that's still the case. The remaining error is also clear - you need the "SdFat" library, but do not have it installed. Simple.
A 30-second Google search yielded these results:- SdFat SdFat download
The WARNING I'm not so sure of, but your code will probably compile without sorting that out, and if you're lucky it might even work.
Thank you guys so much for having pations wihe me, i am greatful to you for i have learned more then i already knew.
I want to get back to this __MACOSX folder, is this folder only for Mac Operating System 10, it says __ MAC OS X, or is it a folder that need to be moved to SD card, since it contains Files and folders.
Neptunus:
Thank you guys so much for having pations wihe me, i am greatful to you for i have learned more then i already knew.
I want to get back to this __MACOSX folder, is this folder only for Mac Operating System 10, it says __ MAC OS X, or is it a folder that need to be moved to SD card, since it contains Files and folders.
I have no idea - it's your computer. Why did you create that folder?
(I already made a suggestion in my last post.)
__MACOSX folders are typically encountered when you open a .zip file created on a mac on something that isn't a mac (on a mac, the __MACOSX folder contents are used to regenerate the resource fork, since just zipping the file wouldn't preserve that. Some mac applications do use the resource fork. Arduino does not, since it's cross-platform). On non-mac platforms, this folder may be deleted.