Hi,

I have a relatively big project that hasn't had any problems until yesterday I wanted 
to add:

#include <68k/Hs.h>

...and a few other HS headers from the HandSpring5 SDK to one of the files.  But when 
I tried to compile with CW8 (Windows) I get: 

"Error: the file '68k/Hs.h' cannot be opened"

Of course I have added the the Handspring directory to my access path.  The thing that 
makes this error seem bizzare to me are:

- If I ctrl-D on the Hs.h file in CW, it does open the correct header in the path I 
have given it.
- If I include the exact same line from other files in my project, it works.  About 
2/3 of the files will allow me to compile that header, and the rest give the "cannot 
be opened" error.
- If I open a file with that include line in CW that does not allow it to compile, but 
_individually_ compile that file with Ctrl-F7, it appears to compile with no errors 
(and the red checkmark next to the file in the project window goes away), but then 
when I try to compile and link with F7 immediately afterward, it tries to recompile 
the same file again and reports the error.

Here are some random things I've already tried:

- Reboot machine and restart CW
- Check permissions, etc on the header files, and also included a couple of alternate 
HandSpring5 directories in use by other projects that build successfully.
- Add fresh new .c file to project, try to include from there, no go.
- Use quotation marks around "68k/Hs.h" instead of brackets
- Try including just "Hs.h" and change access path to 68k.
- Add the Handspring access path to both System and User portions (top of list, making 
sure check User Paths set)
- Removed precompiled headers from project
 
Any suggestions?

Thanks,
Jason

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

Reply via email to