I want to import rtklib api to my C Codeblock project. I've include link to
rtklib.h on build_option/Search_directories and added all the file of
RTKLIB/src/ to my project.
However, when I compiled my project, I always got this error
/Documents/RTKLIB/src/postpos.c|735|undefined reference to `showmsg'
/Documents/RTKLIB/src/postpos.c|197|undefined reference to `settime'
/Documents/RTKLIB/src/postpos.c|599|undefined reference to `settspan'
'showmsg', 'settime', 'settspan' are 3 external functions of rtklib.h (line
yes, I did. I actually used hitarget GPS receiver with Panasonic notebook laptop that has VGA port. My receiver to laptop connection was with serial and the bitrate, byte size, stop bit etc for both receiver and the RTKNAVI version 2.4.2 on my laptop was configured same. The correction type was ntrip and the mountpoint was IGS02. 2101 was used for ntrip client option port. The input stream format was RTCM 2.
Thank your for your response.
I actually found the reason of these errors.
'showmsg', 'settime', 'settspan' are functions that are not included in le
rtklib library but are defined in the .c file (rnx2rtkp.c for example) of
the application using the lib .
If one want to create a project from scratch (linking the rtklib.a)
'showmsg', 'settime' and 'settspan' need to be defined prior to the
Hope it will help for those who create project from scartch with rtklib !