Welcome, Guest. Please login or register.

Author Topic: keymap.library not found  (Read 1921 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline hayashiTopic starter

  • Jr. Member
  • **
  • Join Date: Jan 2009
  • Posts: 82
    • Show only replies by hayashi
    • http://www.d-linc.co.uk
keymap.library not found
« on: September 06, 2009, 06:08:30 PM »
Hi,

I tried to use a program under OS3.0, and it's complaining about keymap.library V39 being unavailable.

I thought this was a ROM library >.<;;

I've also noticed that everything has suddenly switched to a US English keyboard layout. Is this related?

Thanks, Matt

EDIT: I found this while Googling for help: "keymap.library is now opened with version 37 (version 39 does not exist)"

In that case, looks like I'm gonna have to get 3.1 ROMS =(
« Last Edit: September 06, 2009, 06:16:16 PM by hayashi »
[UK] A1200 with 2GB hard drive and Apollo 1240 040/33MHz/16MB FastRAM | A500+ with trapdoor memory upgrade and A520 modulator and no battery or power supply

Floppy Drive Grim Reaper and DPaint lover
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16881
  • Country: gb
  • Thanked: 5 times
    • Show only replies by Karlos
Re: keymap.library not found
« Reply #1 on: September 06, 2009, 06:26:19 PM »
Does the program require OS3.1?

If it is designed for 3.1, it's not unusual for it to request release 3.1 versions of libraries. Regardless of whether or not V39 exists, the OpenLibrary() call interprets the requested version to be the minimum required and hence will succeed on any higher version.
« Last Edit: September 06, 2009, 06:29:12 PM by Karlos »
int p; // A
 

Offline x303

Re: keymap.library not found
« Reply #2 on: September 06, 2009, 08:01:51 PM »
If you look at the NDK's autodoc, you will see that keymap.library already existed  in OS 2.0 (V36). Have you tried opening the library like this ?

struct Library *KeymapBase = NULL;
..
KeymapBase = OpenLibrary("keymap.library", 0);
..

x303 :D :D :D
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show only replies by Piru
    • http://www.iki.fi/sintonen/
Re: keymap.library not found
« Reply #3 on: September 06, 2009, 08:09:29 PM »
Quote from: x303;522299
If you look at the NDK's autodoc, you will see that keymap.library already existed  in OS 2.0 (V36). Have you tried opening the library like this ?

struct Library *KeymapBase = NULL;
..
KeymapBase = OpenLibrary("keymap.library", 0);
..

x303 :D :D :D


Excuse me?

He was trying to use a program, not write it.
 

Offline x303

Re: keymap.library not found
« Reply #4 on: September 06, 2009, 08:21:10 PM »
Quote from: Piru;522300
Excuse me?

He was trying to use a program, not write it.
Ahhh ;)

x303 :D :D :D
 

Offline Matt_H

Re: keymap.library not found
« Reply #5 on: September 06, 2009, 10:41:10 PM »
That looks like a bug in the program - trying to open v39, which doesn't exist. (Even though the ROM is v39, that doesn't mean everything in it is - audio.device, for example, is still v37 in v40 ROMs, so an attempt to open audio.device v40 would fail similarly).

It looks like your Google results turned up a changelog for a newer version of the program with the bug fixed. Try to find that version of the executable.
 

Offline mr_a500

  • Hero Member
  • *****
  • Join Date: May 2004
  • Posts: 865
    • Show only replies by mr_a500
Re: keymap.library not found
« Reply #6 on: September 07, 2009, 03:54:51 AM »
Quote from: Matt_H;522313
That looks like a bug in the program - trying to open v39, which doesn't exist. (Even though the ROM is v39, that doesn't mean everything in it is - audio.device, for example, is still v37 in v40 ROMs, so an attempt to open audio.device v40 would fail similarly).

It looks like your Google results turned up a changelog for a newer version of the program with the bug fixed. Try to find that version of the executable.

Exactly. Years ago, I found and reported this bug in quite a few programs. Usually the programmer writing the program was using 3.1 and assumed 3.0 keymap.library is v39 - which it isn't. (...and for some reason, the programmer never tests his program with 3.0, assuming that what works in 3.1 will work in 3.0)