Did you fix it? 

Judging by the folder hierarchy that you indicate, it looks like you've 
installed the PalmOne/Palm stuff into folders within the PalmSource folders 
under Program Files. I kept my PalmOne/Palm stuff separate from the PalmSource 
stuff. 

The PalmSource stuff went into the default folders: C:\Program 
Files\PalmSource\Palm OS Developer Suite\sdk-5r4  etc. (same as Carmine 
indicates).

My PalmOne/Palm stuff went into the folder layout: 
C:\PalmOne\sdk5_1\Palm_SDK_Headers\PalmSDK\Incs  etc.

PODS finds the PalmSource stuff without issues since the files are in the 
default locations (and they belong to PalmSource!) but to support my PalmOne 
folder setup, I added the following to the makefile (it's one long line in the 
makefile but in this msg it will get parsed!). Drop this into the makefile in 
the place of the "LOCAL_INCLUDE_PATHS =" line. Note that there must be a space 
before each -I

LOCAL_INCLUDE_PATHS = -I"C:\PalmOne\sdk5_1\Palm_SDK_Headers\PalmSDK\Incs" 
-I"C:\PalmOne\sdk5_1\Palm_SDK_Headers\PalmSDK\Incs\common\system" -IRsc

(Perhaps the utility that Carmine refers to will do this for you.)

This makes everything work for me (with the includes at the top of each source 
file in my projects, as I mentioned earlier in the thread).

One last note: my setting up of the PalmOne/Palm stuff in separate folders 
permits me to cleanly maintain a copy of each SDK that comes out from PalmOne. 
I must admit to being a bit paranoid here in that I like to hold on to older 
SDKs in case something in a newer one causes me problems where reverting back 
might prove a useful and quick test/solution. This has yet to be an issue but 
it's not hard to imagine that some function prototype, that I need, might 
disappear. 

So... for the new PalmOne/Palm SDK 5.2 (which I have yet to install), I simply 
create an sdk5_2 subfolder and drop everything into it. Now a quick change to 
the makefile switches me to whichever set I wish to use.

Sorry for the novel. I suddenly realize that I've been doin' some typin' here.
-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to