fatal error

I just finished building a program for uno and tried to compile it, I build custom libraries to accommodate everything but the files are not being seen.

Arduino: 1.6.5 (Windows 7), Board: "Arduino/Genuino Uno"

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

Using library PinController in folder: C:\Users\student\Documents\Arduino\libraries\PinController (legacy)

Using library LightController in folder: C:\Users\student\Documents\Arduino\libraries\LightController (legacy)

Using library FanStateController in folder: C:\Users\student\Documents\Arduino\libraries\FanStateController (legacy)

Using library PumpStateController in folder: C:\Users\student\Documents\Arduino\libraries\PumpStateController (legacy)

Using library MistStateController in folder: C:\Users\student\Documents\Arduino\libraries\MistStateController (legacy)

Using library LightStateController in folder: C:\Users\student\Documents\Arduino\libraries\LightStateController (legacy)

Using library AnimationController in folder: C:\Users\student\Documents\Arduino\libraries\AnimationController (legacy)

Using library Weather in folder: C:\Users\student\Documents\Arduino\libraries\Weather (legacy)

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_UNO -DARDUINO_ARCH_AVR -IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino -IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard -IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\EEPROM -IC:\Users\student\Documents\Arduino\libraries\PinController -IC:\Users\student\Documents\Arduino\libraries\LightController -IC:\Users\student\Documents\Arduino\libraries\FanStateController -IC:\Users\student\Documents\Arduino\libraries\PumpStateController -IC:\Users\student\Documents\Arduino\libraries\MistStateController -IC:\Users\student\Documents\Arduino\libraries\LightStateController -IC:\Users\student\Documents\Arduino\libraries\AnimationController -IC:\Users\student\Documents\Arduino\libraries\Weather C:\Users\student\AppData\Local\Temp\build4738074126924675732.tmp\Tempescope.cpp -o C:\Users\student\AppData\Local\Temp\build4738074126924675732.tmp\Tempescope.cpp.o

Tempescope.ino:20:27: fatal error: PinController.h: No such file or directory
compilation terminated.
Error compiling.

I also have the same issue when trying to run the example file "blink"

watsonj80:
I also have the same issue when trying to run the example file "blink"

You get this error when uploading File->Examples->01.Basics->Blink?!?

Tempescope.ino:20:27: fatal error: PinController.h: No such file or directory
compilation terminated.
Error compiling.

Something must be really messed up.

I did have that error, but now blink is compiling fine, but I am still having that issue with my main program. I created custom libraries for it but for some reason it's not seeing them.

watsonj80:
I did have that error, but now blink is compiling fine, but I am still having that issue with my main program. I created custom libraries for it but for some reason it's not seeing them.

Did you re-start the IDE after installing the libraries into your libraries folder?
Did you name the library folder the same as the main .h file?

Yes I named the library files the same as the .h files I also have the .cpp files in the library file.

Here is a list of #include files I am trying to use, each has a folder in arduino/library/.... each file includes a .cpp and .h file. from what I have found that is all correct. what am i missing?

#include <EEPROM.h>
#include "AnimationController.h"
#include "PinController.h"
#include "LightController.h"
#include "FanStateController.h"
#include "PumpStateController.h"
#include "MistStateController.h"
#include "LightStateController.h"
#include "Weather.h"

le]

Usually this sort of problem turns out to be a typographical error. Make sure that the referenced file is an exact match for the file name and the folder name.

I have seen some references to keyword.txt file but I am not sure how to build it, what program, or where to place it.

watsonj80:
I have seen some references to keyword.txt file but I am not sure how to build it, what program, or where to place it.

It's only used to apply colors to function names and global variables in the IDE editor. It is not necessary and won't cause your error. A typographical error would cause your error. Since you are the only person who can see the contents of your libraries folder you are the only one who can see if there is an error in spelling or capitalization of your folders, files, or sketch source.
How about you package your sketch and your libraries in a .zip file and attach them to a post here. Maybe I can reproduce the problem and spot something in the 99% of the code you have not shown.

I have seen this before and I believe it is the ongoing pre processor issue. The compiler see / "using " x but you also get "cannot be found" message. Try to move all headers in question someplace else,perhaps build another "local" file/tab. I really do not remember how I resolved my problem.

Hi,
Does #include " " mean look in the sketch folder for the library
and #include< > mean look in the Library folder.

Tom.... :slight_smile: