Pages: [1]   Go Down
Author Topic: 0018 bug or java? ( 20: error: Keypad.h:)  (Read 662 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 35
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Sorry if this is a false alarm and a local problem;

[size=12]EDIT;Sorry, this looks like it was my choice of installation folder that caused the screen misbehaving part of this error
[/size]

Just installed 0018 a sketch that compiled in 0017 no longer compiles, with the error;

20: error: Keypad.h: No such file or directory In function 'void loop()':

Keypad.h and a couple of other libraries are no longer displayed in the drop down list at SKETCH / IMPORT LIBRARYS although the files are in the hardware/library folder.

Also, going from the default size window on opening to full screen (twin screen setup) the compile open, save close icons etc vanish!

Someone had a similar problem on 0017, where the IDE tiled across the screen, that was thought to be a java problem... Before I start messing with the java, can anyone else see if this happens to them with 0018 and a sketch that includes keypad.h?

OS in XP. 0017 showed no problems.


Many thanks  


« Last Edit: February 03, 2010, 05:51:04 am by m3a4 » Logged

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 549
Posts: 46154
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The libraries installed with 17 do not re-install themselves with 18. You need to do that. On 18, they go in the libraries folder, rather than the hardware/libraries folder.

I tried the full screen thing. My icons did not go away, but I restrict windows to a single screen.
« Last Edit: February 02, 2010, 02:43:20 pm by PaulS » Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 35
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks Paul,

Noted about the new library location, I didn't see that on the button library page.
  
Just to clarify, I was dragging the window to the 2nd screen and then going full screen, but it happened then on either screen.

I've gone back to 0017 for the moment, at least until I finish this project.  I'll try it again then.

Looks rather like a local problem on this PC.
Logged

Wuppertal/Germany
Offline Offline
God Member
*****
Karma: 1
Posts: 895
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,
starting with 0017 the IDE also finds libraries in a folder located in the sketchbook directory.

Just create new folder <libraries> under sketchbook and move the libs under hardware/libraries into it.

Eberhard
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 35
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I think the problem is down to my installing 0018 OVER the top of 0017!

Is there a suggested / preferable way of going from one version to the next version so as to avoid any problems? (eg from 0016 to 0017 to 0018 etc)

perhaps something like

folder arduino
sub folder 0016
sub folder  0017
sub folder 0018

or
root
ssub folder 0016
sub folder  0017
sub folder 0018

or is it better to uninstall / delete the older version and replace with the newer one?
 
I seem to recall I had problems finding sketches when going from 0016 to 0017 by not using the default folder somewhere under my documents...

« Last Edit: February 03, 2010, 05:40:25 am by m3a4 » Logged

Wuppertal/Germany
Offline Offline
God Member
*****
Karma: 1
Posts: 895
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,
Quote
Is there a suggested / preferable way of going from one version to the next version ....
This depends on the operating system I guess.
I use linux and the IDE download automatically unpacks in a directory that has the version-number in it. Arduino 0018 installs into arduino-0018.

If you want to keep old versions around I suggest you use the scheme arduino/arduino-<version>

The only problem with deleting older versions are third party libraries that are local to a specific version. Copy them to the new sketchbook/libraries dir to make them available across versions.

Eberhard
« Last Edit: February 03, 2010, 07:26:18 am by wayoda » Logged

Pages: [1]   Go Up
Jump to: