PDA

View Full Version : Palm Programming 4 Free - HOW TO ( Clie & not Clie )


cryoglobe
05-17-2003, 05:17 AM
Hello guys ..

After reading all the threads , but nothing about free solutions !!

I just decided 3 days ago to start to develop for Palm
( I already know C , C++ ... etc ) but C seems to be the best languages
( if I thrust all the advices & informations I've read on the net )

As far as I know ..

Cygwin seems to be the good tool under windows
another one : Prc-tool

but you'll need the SDK kits , etc.

cryoglobe
05-17-2003, 05:28 AM
My first compilation ...

After installing Cygwin ( and package such prc-tools ( for ARM or not ) pilrc, make .. )
I then installed
the Clie SDK 5 ( cliesdk50e.zip )
the Palm OS SDK 5
the clie Simulator ( CliePalmSim.zip )

Take a " hello world " example from a web site.

Run "palmdev-prep" to make the cygwin knowing the that the SDK are there.

Try the make on the example folder ... and it' crash

In fact .. There are a lot of .h missing
( strange as I took the official SDK from sony's website or Palm site )

missing header :
ErrorBase.h
HwrMiscFlags.h
SystemRessources.h
UIRessources.h
SystemMgr.h
NotifyMgr.h

What the hell is it ... where am I suppose to find such files ?

Thanks in advance for your help

CliePet
05-17-2003, 11:53 AM
> In fact .. There are a lot of .h missing
> ... ErrorBase.h ... SystemMgr.h

These are some of the core Palm headers.
It sounds like you didn't install the Palm OS SDK correctly (version 5, or version 5 R2 which is more complete) OR

The files are ony your computer (in ???\Incs\Core\System, ???\Incs\Core\UI etc) but you don't have the include paths setup correctly, OR

the program is including them incorrectly
[ie. the program shound not explicitly include "ErrorBase.h", it is included by other headers like <PalmOS.h>

hansschmucker
06-24-2003, 04:08 PM
Also, there used to be an error in the Sony OS5 SDK when using GCC. There was an inofficial fix for that, but I'm not sure if Sony iver integrated it into the official version....

exjoburger
06-28-2003, 01:41 PM
Palmphi is a free (GPL with source code available) Visual IDE for creating Palm programs. It generates and compiles the code using the GCC toolchain, and the language used is C.

It's available at http://www.digital-kingdoms.net/palmphi/

a_clie_er
06-30-2003, 01:24 AM
is there a free C++ IDE for creating palm programs? i ask because im going to take a C++ programming class starting this Fall at my school

othermark
07-03-2003, 11:43 PM
Originally posted by a_clie_er
is there a free C++ IDE for creating palm programs? i ask because im going to take a C++ programming class starting this Fall at my school

None that I know of. I didn't search very hard however.

othermark
07-03-2003, 11:47 PM
Originally posted by cryoglobe
My first compilation ...
...
missing header :
ErrorBase.h
HwrMiscFlags.h
SystemRessources.h
UIRessources.h
SystemMgr.h
NotifyMgr.h


The palmos sdk install will look for one of the commercial programming environments it supports, when it doesn't find it, it will just install some docs and a simulator. No libs, no headers.

The headers and static libs you need are in a .tar ball at the bottom of the palm os developer download page. Place these in the c:\PalmDev location and run the prc-tools config script after mounting this location in your cygwin environment.

It's all Free too!