Behdad Esfahbod wrote:
> m68k-palmos-gcc -c -Wall -O2   -o obj/happydays.o happydays.c
> happydays.c:21: HandEra/Vga.h: No such file or directory
> happydays.c:22: HandEra/Silk.h: No such file or directory
> make: *** [ENGLISH] Error 1
> 
> trivially I have not HandEra/Vga.h and the other one, but
> 1. what are them?

They are header files supplied by HandEra's SDK, which declare various
things including HandEra's API functions.

> 2. where can I find them?

You can download them from HandEra's website.

You forgot to ask

  3. What should I do with them when I've downloaded them?

You don't say what version of prc-tools you have installed.  Since you
have posted with Pine on Linux, I'll assume you're developing on Linux.
I'll also assume that you're using the current prc-tools (2.0.92).

I suggest you create a HandEra directory in /opt/palmdev/include and
put the header files there.  Putting them in /opt/palmdev/include,
outside the sdk-* part of the PalmDev hierarchy, means that they will
be available whichever SDK you select with -palmosN options, and keeps
them separate which makes updating the various components simpler.

So for example Vga.h will be in /opt/palmdev/include/HandEra/Vga.h.
The sdkfind utility used by m68k-palmos-gcc in 2.0.92 will automatically
find it here, so you will be able to use either

        #include <HandEra/Vga.h>  or  #include <Vga.h>

without having to do anything special such as play around with -I options
yourself.

If you download eg the handera-sdkv104.zip file, you will get header
files with DOS-style CR-LF line endings.  You will want to convert them
to Unix-style LF line endings when you install them. [1]

Similar advice applies with other licensees' SDKs, such as Sony's.

    John

[1] Yes, there are plans to make the compiler less susceptible to line
    termination problems in the future.

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

Reply via email to