Include Problem

ChibiOS public support forum for all topics not covered by a specific support forum.

Moderators: RoccoMarco, lbednarz, tfAteba

Post Reply
valeriest26
Posts: 1
Joined: Thu Nov 17, 2016 10:50 pm

Include Problem

Post 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.
User avatar
RoccoMarco
Posts: 655
Joined: Wed Apr 24, 2013 4:11 pm
Has thanked: 83 times
Been thanked: 67 times

Re: Include Problem

Post 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
Post Reply