Hi Raphael,
PIC18fregs.h is indeed in /usr/share/sdcc/include/pic16. I think the problem
is that SDCC does not look into pic16 directory on its own. Only my source
files are in folders with names that have white space. I did indeed install
SDCC into a blank-free path, which is in /usr/share/sdcc/.
Stanley
On 9/15/07, Raphael Neider <[EMAIL PROTECTED]> wrote:
>
> Hi Stanley,
>
> > [EMAIL PROTECTED]:/media/sda5/Dairy Cow Research/datalogging
> > scale/software/LED_toggle$ sdcc main.c
> > main.c:1:24: pic18fregs.h: No such file or directory
>
> SDCC cannot find pic18fregs.h, which should reside in
> /usr/share/sdcc/include/pic16.
> You can either add the (correct) path to pic18fregs.h to your SDCC
> command line via -I "correct/path/goes/here" or try to include
> #include <pic16/pic18fregs.h>
> maybe SDCC does not look into the pic16 directory on its own?!?
>
> Another problem might be caused by whitespace in the search paths (Dairy
> Cow Research?!?) Try to install SDCC into a blank-free path, e.g.,
> $HOME/local.
>
> Regards,
> Raphael
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Sdcc-user mailing list
> Sdcc-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sdcc-user
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user