|Undefined reference to Function [message #1073862]
||Thu, 25 July 2013 16:45
| Christian Lorei
Registered: July 2013
Hi, I just try to use Eclipse CDT Juno mspgcc and it works. But if i try to use some 3rd party Libraries I got the Error undefined reference to `lcd_init'. lcd_init is declared in dsiplay.h and defined in display.c. |
The Headerfile is Included to my project (Project > Property > C/C++General > Path and Symbols > Add... > File System.. Path to the 3rd party Libraries)
So if I use #include "display.h" there is no error, when I debugg the code. If I call lcd_init() in the main() or any other functions out of the dsiplay.h-File I get the undefined reference Error to the functions.
When I also include the display.c file (#include "display.c") i got other Errors. Depending to display.c because the compiler miss some other Functions which are defined / declared in other C-Files.
So my question is how can I told Eclipse to include the C-Files from the 3rd party Folders.
Powered by FUDForum
. Page generated in 0.02127 seconds