OSX Skeleton Make Problem

2 posts in this topic

Hello everyone,

at first I want to thank everyone who pushed along this project, I'm quite impressed about what I have seen in this forum and on ucapps !! 

My problem is that everytime I try to make the skeleton version 1.1 I'm getting an error saying that pic18f452.h is not found.

I checked all the PATH variables and the mios toolchain is located at usr/local.

Hopefully some can help me please, my hairs already stand to the mountain and I don't know what to try anymore.

Osx version: 10.14.2

Gputils version: 1.5.0-1

Sdcc version: 3.8.0

My Error Code:

WARNING: Command line option --use-non-free not present.

         When compiling for PIC14/PIC16, please provide --use-non-free

         to get access to device headers and libraries.

         If you do not use these, you may provide --no-warn-non-free

         to suppress this warning (not recommended).

In file included from main.c:20:

/usr/local/bin/../share/sdcc/include/pic16/pic18fregs.h:427:25: fatal error: pic18f452.h: No such file or directory

compilation terminated.

./include/c/cmios.h:250: syntax error: token -> 'char' ; column 43

make: *** [_output/main.o] Error 1


best regards 




Edited by Munnopsis

Share this post

Link to post
Share on other sites

Problem was the sdcc version, with 2.8 everything works fine !

Edited by Munnopsis

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now