On Fri, Nov 22, 2002 at 09:43:34PM +0200, Alf C Stockton wrote:
> I have just installed sdk-5 on my Linux system were I previously built
> successfully for sdk-3.5 but now when I make my program I get :-
[...]
> PalmOptErrorCheckLevel.h: No such file or directory
[...]
> LibTraps.h: No such file or directory

In the olden days (ancient SDKs to 3.1), Palm OS SDKs contained headers
arranged in directories called Hardware, System, System/Unix, and UI.
The (now ancient) versions of prc-tools of the time had those paths
burnt into them, because that was both simple and adequate.

But more recent SDKs contain more variety in subdirectories.  Since
the hard-coded paths of prc-tools 2.0, prc-tools has been through two
complete rewrites of its SDK searching, and IMHO the current version
(palmdev-prep) is the most flexible, transparent, and user-friendly.
In particular, it deals with all existing and likely future SDKs just
fine.

The headers for which you've received error messages are the canonical
examples of headers in subdirectories that weren't present in ancient
Palm OS SDKs (namely Dynamic and Libraries).  The 3.5 and 4.0 SDKs
contained a nasty hack (header.gcc) that allowed these headers to be
found even by the old hard-coded prc-tools 2.0, but the 5.0 SDK does
not.

What you have found is that the ancient version of prc-tools that you
are using cannot automatically handle the 5.0 SDK, which was released
over two years later (well, I suppose you could be using 2.0.90, which
predates the 5.0 SDK by a mere 18 months).

You could use similar specs file hacks to those which were discussed
around the release of the 4.0 SDK to add to the hard-coded list of
expected SDK subdirectories.  But it would be more sensible to update
to a more recent palmdev-prep-using (2.1+) version of prc-tools, which
will Just Work.

    John

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to