Page 1 of 1

Include Problem

Posted: Fri Nov 18, 2016 4:34 am
by valeriest26
I'm a Telematic Engineering Student, I'm using ChibiOS in one of my classes , I'm new to programming in C and I need help so I was wondering if you can
help me.

In a brief way I'm trying to include a library in ChibiOS, is an arduino library for a GLCD and it doesn't have a makefile, so I put the folder where I have the library in the file of the project, and in the makefile I add in the source files the name of the library without the path, in theory that should work, but when I build the project to make sure I'm including the library in the right way it throws me the next error:

"fatal error: u8g.h: No such file or directory"

If anyone can help me it would be a great pleasure.

Re: Include Problem

Posted: Fri Nov 18, 2016 10:27 am
by RoccoMarco
Hi,
some time ago I wrote an article about this problem. I think you should read. This would be helpful somehow.

C Library design for embedded applications: tips and hints

Note that your problem is not only related to the inclusion of the library but also to the integration of the library with ChibiOS
Ciao