At 04:52 PM 9/6/2002 +1000, you wrote:
>I've got the latest copy of MathLib.h, and I'm trying to include it in my
>project. I'm using Codewarrior, with SDK 5.0. I've added MathLib.c to my
>project, but when I compile it says:
>
>Error : the file 'PalmOS.h' cannot be opened
>MathLib.c line 42 #include <PalmOS.h>
>
>There's also 100 other errors relating to incorrectly identified syntax
>errors from MathLib.h, that I'm thinking will go away once this first bit
>is sorted out. Has anyone got any ideas what I can do?
This all points to your access paths being wrong. You need to be sure that
you have "{Compiler}Palm OS Support" as a system access path for your
project. Having it as a user path means that <FILE> references won't be
resolved.
If your project started out on SDK 3.1 or earlier, you'll need to change
these settings for every target.
--
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/