Why do I get 22: error: PortsLCD.h no such File or Directory in Function void (setup).? This occurs when I try to compile
The file "PortsLCD.h" exists in \libraries\ports
I am a raw beginner so any assistance is welcome.
This forum has moved to forum.jeelabs.net - this read-only archive is for reference only!
Why do I get 22: error: PortsLCD.h no such File or Directory in Function void (setup).? This occurs when I try to compile
The file "PortsLCD.h" exists in \libraries\ports
I am a raw beginner so any assistance is welcome.
You're using the Arduino IDE, right?
You've more or less gone through the steps on the Ardiuno and [hello world](http://cafe.jeelabs.net/pof/02-helloworld/) pages, right?
\libraries is inside your Arduino sketch folder, right? (which is probably something like "My Documents\Arduino")
Yes am using Arduino, \Program Files\arduino-0018\libraries\Ports is the folder structure I extracted the Ports library from the Jeelabs cafe to the above folder. The file PortsLCD.h and PortsLCD.cpp file exists in this folder.
The Jeelab's cafe "hello world" sketch worked ok and downloaded to a Jeenode ok.
But not the LCD Plug, it continues with this message "no such File or Directory".
I have re-installed Arduino again and still have the problem.
No... You must put all the "user" libraries in "My Documents\Arduino\libraries\folderoflib" I had the same problem last night.
Thanks yaba, I extracted to My Documents\Arduino\libraries and it partially worked except stating RF12.h was missing, so then extracted RF12 from Jeelabs to ..\libraries and Bob's your uncle, it worked.
I didn't want to say anything before gyrolen's issue had been resolved, but for some reason my arduino setup is just how his was initially, but mine works.
All my libraries (including the Jeelabs ones) are in C:\Program Files\arduino-0018\libraries\ (obviously in windows, not so obviously XP) and everything works fine!
I've been playing about with arduino on and off for over a year, and been through several versions of the GUI and that's just where they have always been. As the old adage goes "If it ain't broke, don't fix it", so I've left it alone!