Go Down

Topic: 0018 bug or java? ( 20: error: Keypad.h:) (Read 839 times) previous topic - next topic

m3a4

Feb 02, 2010, 08:20 pm Last Edit: Feb 03, 2010, 11:51 am by m3a4 Reason: 1
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  



PaulS

#1
Feb 02, 2010, 08:41 pm Last Edit: Feb 02, 2010, 08:43 pm by PaulS Reason: 1
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.

m3a4

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.

wayoda

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

m3a4

#4
Feb 03, 2010, 11:40 am Last Edit: Feb 03, 2010, 11:40 am by m3a4 Reason: 1
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...


wayoda

#5
Feb 03, 2010, 01:25 pm Last Edit: Feb 03, 2010, 01:26 pm by wayoda Reason: 1
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

Go Up