I'm try how to use RTKlib (All of the library functions and APIs were written in ANSI C (C89)). The library are organize like this: rtklib.h file1.c ... file1.c ...
With QT (in ubuntu 32), I start a new project/application. In this project I Add Existing Directory directory (rtklib library) (every .c files and rtklib.h). In the rtklib.h there is:
#ifdef __cplusplus
extern "C" {
#endif
OK, now I include in my .cpp file:
#include "rtklib.h"
And in my .pro file:
INCLUDEPATH += $$PWD/src
When I try to run, there are a error: undefined reference to 'showmsg' in some .c files (18 error like that). Maybe I need to do some compilers configuration?
Can some one help me?
Thanks