Hi Wojtek,

Thanks for your help. however, some problem is still there.

You had used 'zaba' as the creator. I tried using the recommended STRT, and got
the following error from build-prc:
can't open 'STRT' : no such file or directory.

What could be wrong?

- Rohit





Wojtek <[EMAIL PROTECTED]> on 05/15/2001 07:15:29 PM

Please respond to "Palm Developer Forum" <[EMAIL PROTECTED]>

To:   "Palm Developer Forum" <[EMAIL PROTECTED]>
cc:    (bcc: Rohit Kanwar/LTITLVSH)

Subject:  [Fwd: HelloWorld: Where to specify database name and type?]



Wojtek wrote:

> [EMAIL PROTECTED] wrote:
>
> > Hi,
> >
> > I just wrote the mandatory Hello World app (my first), and compiled
> > successfully.
> >
> > however, when I tried to install the app on the emulator, Pose returned this
> > error: "Could not install the PalmOS file 'HelloWorld.prc' because the
PalmOS
> > error 0x021A (dmErrInvalidDatabaseName) occured.", and thereafter crashed.
> >
> > I guess I should give a name for this PRC application, but where ? Also, I
> > haven't yet specified the database to be of type "APPL". Where do I do that?
> > Please help.
> >
> > First person to help gets the program dedicated to them :-)
> >
> > Thanks!
> >
> > --
> > For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
>

If you are using m68gcc compiler

>
> watch this file.
> (line with build-prc)
> Zaba.prc - name of the file
> Zamowienia - name of the appl database
> zaba        - creator
> Zamowienia - output file from compiler
> rsc/*.bin   - name of the files with resources  (compiled with pilrc)
>
> i think that's all
>
>   ------------------------------------------------------------------------
> CC=m68k-palmos-gcc
> CFLAGS= -02 -Wall
> R= ../rsc
> BUILD_DIR=~/.palm/install/
> RSC_DIR=rsc
>
> zaba.prc:$(RSC_DIR)/tAIB03e8.bin $(RSC_DIR)/tAIN03e8.bin Zaba
>         build-prc Zaba.prc "Zamowienia" zaba Zamowienia $(RSC_DIR)/*.bin
>
> $(RSC_DIR)/tAIB03e8.bin:$(RSC_DIR)/zabarsc.rcp
>         pilrc -H zaba.h $(RSC_DIR)/zabarsc.rcp $(RSC_DIR)
>
> Zaba:zaba.c zaba.h
>         $(CC) zaba.c -oZamowienia
>
> clean:
>         rm $(RSC_DIR)/*.bin
>         rm zaba.h
>         rm Zamowienia


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







-- 
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