[etherlab-users] Problem with including /lib folder

Juri Gerke juri.gerke at afpt.de
Wed Sep 15 16:43:05 CEST 2010


I am building a new project with codeblocks. The user-example main.c is used as a base with included ecrt.h from /include folder directly. If I start to compile my project, the linker can`t find functions from files of /lib folder.
If I add e.g. domain.h, it can`t find ecrt.h. The /include folder as a search directory doesn`t help.

If I change the include command in domain.h to an absolute path e.g

#include /home/user/ethercat../include/ecrt.h the error disappears. But I think this is not the right way to solve my problem.

So anyone can tell me how include the master /include and /lib folder correctly?

Kind regards

Juri Gerke

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20100915/6b804543/attachment-0002.htm>

More information about the Etherlab-users mailing list