GithubHelp home page GithubHelp logo

jensreimann / rtklib Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tomojitakasu/rtklib

39.0 39.0 13.0 73.17 MB

Port of RTKLIB GUI to Qt

C++ 18.11% Pascal 19.81% Batchfile 0.24% C 46.65% Makefile 0.55% Shell 0.02% HTML 0.44% Prolog 0.02% Fortran 2.62% MATLAB 5.91% Mathematica 5.65%

rtklib's People

Contributors

tomojitakasu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

rtklib's Issues

Failed to build the application under Manjaro Linux

Hi,
I try to build this application but encountered some errors.

What I did was:

- Download the rtk_2.4.3 branch
- cd to the folder
- find . -name "*_qt.pro*" -exec sed -i '$ a target.path = /usr/bin\nINSTALLS += target' {} \;    # Try to make it install to /usr/bin using package manager
- qmake -project
- qmake -recursive
- sed -i s-/local--g Makefile    # Try to make it install to /usr/bin using package manager
- make
Here is the error message
Makefile:2870: warning: overriding recipe for target 'moc_staoptdlg.cpp'
Makefile:2740: warning: ignoring old recipe for target 'moc_staoptdlg.cpp'
Makefile:2880: warning: overriding recipe for target 'moc_mondlg.cpp'
Makefile:2775: warning: ignoring old recipe for target 'moc_mondlg.cpp'
Makefile:3126: warning: overriding recipe for target 'dumpssr.o'
Makefile:3117: warning: ignoring old recipe for target 'dumpssr.o'
Makefile:3257: warning: overriding recipe for target 'main.o'
Makefile:3243: warning: ignoring old recipe for target 'main.o'
Makefile:3271: warning: overriding recipe for target 'main.o'
Makefile:3257: warning: ignoring old recipe for target 'main.o'
Makefile:3393: warning: overriding recipe for target 'staoptdlg.o'
Makefile:3247: warning: ignoring old recipe for target 'staoptdlg.o'
Makefile:3399: warning: overriding recipe for target 'mondlg.o'
Makefile:3283: warning: ignoring old recipe for target 'mondlg.o'
Makefile:3414: warning: overriding recipe for target 'aboutdlg.o'
Makefile:3150: warning: ignoring old recipe for target 'aboutdlg.o'
Makefile:3417: warning: overriding recipe for target 'cmdoptdlg.o'
Makefile:3153: warning: ignoring old recipe for target 'cmdoptdlg.o'
Makefile:3423: warning: overriding recipe for target 'console.o'
Makefile:3156: warning: ignoring old recipe for target 'console.o'
Makefile:3427: warning: overriding recipe for target 'fileoptdlg.o'
Makefile:3160: warning: ignoring old recipe for target 'fileoptdlg.o'
Makefile:3430: warning: overriding recipe for target 'freqdlg.o'
Makefile:3163: warning: ignoring old recipe for target 'freqdlg.o'
Makefile:3434: warning: overriding recipe for target 'ftpoptdlg.o'
Makefile:3167: warning: ignoring old recipe for target 'ftpoptdlg.o'
Makefile:3437: warning: overriding recipe for target 'glofcndlg.o'
Makefile:3170: warning: ignoring old recipe for target 'glofcndlg.o'
Makefile:3440: warning: overriding recipe for target 'gmview.o'
Makefile:3174: warning: ignoring old recipe for target 'gmview.o'
Makefile:3443: warning: overriding recipe for target 'graph.o'
Makefile:3177: warning: ignoring old recipe for target 'graph.o'
Makefile:3446: warning: overriding recipe for target 'keydlg.o'
Makefile:3180: warning: ignoring old recipe for target 'keydlg.o'
Makefile:3449: warning: overriding recipe for target 'maskoptdlg.o'
Makefile:3183: warning: ignoring old recipe for target 'maskoptdlg.o'
Makefile:3452: warning: overriding recipe for target 'mntpoptdlg.o'
Makefile:3186: warning: ignoring old recipe for target 'mntpoptdlg.o'
Makefile:3455: warning: overriding recipe for target 'refdlg.o'
Makefile:3189: warning: ignoring old recipe for target 'refdlg.o'
Makefile:3459: warning: overriding recipe for target 'serioptdlg.o'
Makefile:3193: warning: ignoring old recipe for target 'serioptdlg.o'
Makefile:3463: warning: overriding recipe for target 'tcpoptdlg.o'
Makefile:3197: warning: ignoring old recipe for target 'tcpoptdlg.o'
Makefile:3466: warning: overriding recipe for target 'timedlg.o'
Makefile:3200: warning: ignoring old recipe for target 'timedlg.o'
Makefile:3470: warning: overriding recipe for target 'tspandlg.o'
Makefile:3203: warning: ignoring old recipe for target 'tspandlg.o'
Makefile:3474: warning: overriding recipe for target 'viewer.o'
Makefile:3207: warning: ignoring old recipe for target 'viewer.o'
Makefile:3478: warning: overriding recipe for target 'vieweropt.o'
Makefile:3211: warning: ignoring old recipe for target 'vieweropt.o'
Makefile:3482: warning: overriding recipe for target 'codeopt.o'
Makefile:3215: warning: ignoring old recipe for target 'codeopt.o'
Makefile:3487: warning: overriding recipe for target 'convmain.o'
Makefile:3220: warning: ignoring old recipe for target 'convmain.o'
Makefile:3492: warning: overriding recipe for target 'convopt.o'
Makefile:3225: warning: ignoring old recipe for target 'convopt.o'
Makefile:3495: warning: overriding recipe for target 'rtkconv.o'
Makefile:3228: warning: ignoring old recipe for target 'rtkconv.o'
Makefile:3498: warning: overriding recipe for target 'startdlg.o'
Makefile:3231: warning: ignoring old recipe for target 'startdlg.o'
Makefile:3503: warning: overriding recipe for target 'getmain.o'
Makefile:3236: warning: ignoring old recipe for target 'getmain.o'
Makefile:3507: warning: overriding recipe for target 'getoptdlg.o'
Makefile:3240: warning: ignoring old recipe for target 'getoptdlg.o'
Makefile:3514: warning: overriding recipe for target 'staoptdlg.o'
Makefile:3393: warning: ignoring old recipe for target 'staoptdlg.o'
Makefile:3518: warning: overriding recipe for target 'launchmain.o'
Makefile:3250: warning: ignoring old recipe for target 'launchmain.o'
Makefile:3522: warning: overriding recipe for target 'launchoptdlg.o'
Makefile:3254: warning: ignoring old recipe for target 'launchoptdlg.o'
Makefile:3525: warning: overriding recipe for target 'rtklaunch.o'
Makefile:3260: warning: ignoring old recipe for target 'rtklaunch.o'
Makefile:3530: warning: overriding recipe for target 'instrdlg.o'
Makefile:3265: warning: ignoring old recipe for target 'instrdlg.o'
Makefile:3533: warning: overriding recipe for target 'logstrdlg.o'
Makefile:3268: warning: ignoring old recipe for target 'logstrdlg.o'
Makefile:3537: warning: overriding recipe for target 'mapdlg.o'
Makefile:3275: warning: ignoring old recipe for target 'mapdlg.o'
Makefile:3541: warning: overriding recipe for target 'markdlg.o'
Makefile:3280: warning: ignoring old recipe for target 'markdlg.o'
Makefile:3544: warning: overriding recipe for target 'mondlg.o'
Makefile:3399: warning: ignoring old recipe for target 'mondlg.o'
Makefile:3553: warning: overriding recipe for target 'navimain.o'
Makefile:3292: warning: ignoring old recipe for target 'navimain.o'
Makefile:3557: warning: overriding recipe for target 'naviopt.o'
Makefile:3296: warning: ignoring old recipe for target 'naviopt.o'
Makefile:3560: warning: overriding recipe for target 'outstrdlg.o'
Makefile:3299: warning: ignoring old recipe for target 'outstrdlg.o'
Makefile:3563: warning: overriding recipe for target 'rcvoptdlg.o'
Makefile:3302: warning: ignoring old recipe for target 'rcvoptdlg.o'
Makefile:3569: warning: overriding recipe for target 'conndlg.o'
Makefile:3305: warning: ignoring old recipe for target 'conndlg.o'
Makefile:3573: warning: overriding recipe for target 'fileseldlg.o'
Makefile:3309: warning: ignoring old recipe for target 'fileseldlg.o'
Makefile:3577: warning: overriding recipe for target 'mapoptdlg.o'
Makefile:3313: warning: ignoring old recipe for target 'mapoptdlg.o'
Makefile:3582: warning: overriding recipe for target 'mapview.o'
Makefile:3318: warning: ignoring old recipe for target 'mapview.o'
Makefile:3585: warning: overriding recipe for target 'mapviewopt.o'
Makefile:3321: warning: ignoring old recipe for target 'mapviewopt.o'
Makefile:3588: warning: overriding recipe for target 'plotcmn.o'
Makefile:3324: warning: ignoring old recipe for target 'plotcmn.o'
Makefile:3593: warning: overriding recipe for target 'plotdata.o'
Makefile:3329: warning: ignoring old recipe for target 'plotdata.o'
Makefile:3597: warning: overriding recipe for target 'plotdraw.o'
Makefile:3333: warning: ignoring old recipe for target 'plotdraw.o'
Makefile:3600: warning: overriding recipe for target 'plotinfo.o'
Makefile:3336: warning: ignoring old recipe for target 'plotinfo.o'
Makefile:3611: warning: overriding recipe for target 'plotmain.o'
Makefile:3347: warning: ignoring old recipe for target 'plotmain.o'
Makefile:3615: warning: overriding recipe for target 'plotopt.o'
Makefile:3351: warning: ignoring old recipe for target 'plotopt.o'
Makefile:3619: warning: overriding recipe for target 'pntdlg.o'
Makefile:3355: warning: ignoring old recipe for target 'pntdlg.o'
Makefile:3622: warning: overriding recipe for target 'rtkplot.o'
Makefile:3358: warning: ignoring old recipe for target 'rtkplot.o'
Makefile:3626: warning: overriding recipe for target 'skydlg.o'
Makefile:3362: warning: ignoring old recipe for target 'skydlg.o'
Makefile:3630: warning: overriding recipe for target 'vmapdlg.o'
Makefile:3366: warning: ignoring old recipe for target 'vmapdlg.o'
Makefile:3634: warning: overriding recipe for target 'kmzconv.o'
Makefile:3370: warning: ignoring old recipe for target 'kmzconv.o'
Makefile:3639: warning: overriding recipe for target 'postmain.o'
Makefile:3375: warning: ignoring old recipe for target 'postmain.o'
Makefile:3643: warning: overriding recipe for target 'postopt.o'
Makefile:3379: warning: ignoring old recipe for target 'postopt.o'
Makefile:3646: warning: overriding recipe for target 'rtkpost.o'
Makefile:3382: warning: ignoring old recipe for target 'rtkpost.o'
Makefile:3650: warning: overriding recipe for target 'browsmain.o'
Makefile:3386: warning: ignoring old recipe for target 'browsmain.o'
Makefile:3653: warning: overriding recipe for target 'srctblbrows.o'
Makefile:3389: warning: ignoring old recipe for target 'srctblbrows.o'
Makefile:3657: warning: overriding recipe for target 'staoptdlg.o'
Makefile:3514: warning: ignoring old recipe for target 'staoptdlg.o'
Makefile:3660: warning: overriding recipe for target 'convdlg.o'
Makefile:3396: warning: ignoring old recipe for target 'convdlg.o'
Makefile:3663: warning: overriding recipe for target 'mondlg.o'
Makefile:3544: warning: ignoring old recipe for target 'mondlg.o'
Makefile:3666: warning: overriding recipe for target 'strsvr.o'
Makefile:3402: warning: ignoring old recipe for target 'strsvr.o'
Makefile:3672: warning: overriding recipe for target 'svrmain.o'
Makefile:3408: warning: ignoring old recipe for target 'svrmain.o'
Makefile:3675: warning: overriding recipe for target 'svroptdlg.o'
Makefile:3411: warning: ignoring old recipe for target 'svroptdlg.o'
gcc -c -pipe -O2 -flto -fno-fat-lto-objects -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/qt -I/usr/include/qt/QtGui -I/usr/include/qt/QtCore -I. -I/usr/lib/qt/mkspecs/linux-g++ -o convgpx.o src/convgpx.c
gcc -c -pipe -O2 -flto -fno-fat-lto-objects -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/qt -I/usr/include/qt/QtGui -I/usr/include/qt/QtCore -I. -I/usr/lib/qt/mkspecs/linux-g++ -o convkml.o src/convkml.c
src/convkml.c: In function 'outtrack':
src/convkml.c:36:38: warning: unused parameter 'outtime' [-Wunused-parameter]
   36 |                      int outalt, int outtime)
      |                                  ~~~~^~~~~~~
gcc -c -pipe -O2 -flto -fno-fat-lto-objects -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/qt -I/usr/include/qt/QtGui -I/usr/include/qt/QtCore -I. -I/usr/lib/qt/mkspecs/linux-g++ -o convrnx.o src/convrnx.c
src/convrnx.c: In function 'dump_halfc':
src/convrnx.c:671:41: warning: unused parameter 'str' [-Wunused-parameter]
  671 | static void dump_halfc(const strfile_t *str)
      |                        ~~~~~~~~~~~~~~~~~^~~
src/convrnx.c: In function 'scan_file':
src/convrnx.c:721:5: warning: missing initializer for field 'sva' of 'eph_t' [-Wmissing-field-initializers]
  721 |     eph_t  eph0 ={0,-1,-1};
      |     ^~~~~
In file included from src/convrnx.c:47:
src/rtklib.h:595:9: note: 'sva' declared here
  595 |     int sva;            /* SV accuracy (URA index) */
      |         ^~~
src/convrnx.c:722:5: warning: missing initializer for field 'frq' of 'geph_t' [-Wmissing-field-initializers]
  722 |     geph_t geph0={0,-1};
      |     ^~~~~~
In file included from src/convrnx.c:47:
src/rtklib.h:621:9: note: 'frq' declared here
  621 |     int frq;            /* satellite frequency number */
      |         ^~~
src/convrnx.c: In function 'setopt_apppos':
src/convrnx.c:1184:5: warning: missing initializer for field 'rr' of 'sol_t' [-Wmissing-field-initializers]
 1184 |     sol_t sol={{0}};
      |     ^~~~~
In file included from src/convrnx.c:47:
src/rtklib.h:846:12: note: 'rr' declared here
  846 |     double rr[6];       /* position/velocity (m|m/s) */
      |            ^~
gcc -c -pipe -O2 -flto -fno-fat-lto-objects -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/qt -I/usr/include/qt/QtGui -I/usr/include/qt/QtCore -I. -I/usr/lib/qt/mkspecs/linux-g++ -o datum.o src/datum.c
gcc -c -pipe -O2 -flto -fno-fat-lto-objects -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/qt -I/usr/include/qt/QtGui -I/usr/include/qt/QtCore -I. -I/usr/lib/qt/mkspecs/linux-g++ -o download.o src/download.c
src/download.c: In function 'get_list':
src/download.c:333:9: warning: unused variable 'stat' [-Wunused-variable]
  333 |     int stat;
      |         ^~~~
src/download.c: In function 'test_local':
src/download.c:561:22: warning: unused variable 'remot_p' [-Wunused-variable]
  561 |     char remot[1024],remot_p[1024],dir_t[1024],local[1024],str[1024];
      |                      ^~~~~~~
src/download.c: In function 'dl_test':
src/download.c:841:12: warning: unused variable 'tow' [-Wunused-variable]
  841 |     double tow;
      |            ^~~
gcc -c -pipe -O2 -flto -fno-fat-lto-objects -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/qt -I/usr/include/qt/QtGui -I/usr/include/qt/QtCore -I. -I/usr/lib/qt/mkspecs/linux-g++ -o ephemeris.o src/ephemeris.c
gcc -c -pipe -O2 -flto -fno-fat-lto-objects -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/qt -I/usr/include/qt/QtGui -I/usr/include/qt/QtCore -I. -I/usr/lib/qt/mkspecs/linux-g++ -o geoid.o src/geoid.c
src/geoid.c: In function 'fgetgsi':
src/geoid.c:137:47: warning: unused parameter 'nlat' [-Wunused-parameter]
  137 | static double fgetgsi(FILE *fp, int nlon, int nlat, int i, int j)
      |                                           ~~~~^~~~
gcc -c -pipe -O2 -flto -fno-fat-lto-objects -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/qt -I/usr/include/qt/QtGui -I/usr/include/qt/QtCore -I. -I/usr/lib/qt/mkspecs/linux-g++ -o gis.o src/gis.c
src/gis.c: In function 'gis_read':
src/gis.c:312:25: warning: unused variable 'q' [-Wunused-variable]
  312 |     char path[1024],*p,*q;
      |                         ^
gcc -c -pipe -O2 -flto -fno-fat-lto-objects -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/qt -I/usr/include/qt/QtGui -I/usr/include/qt/QtCore -I. -I/usr/lib/qt/mkspecs/linux-g++ -o ionex.o src/ionex.c
gcc -c -pipe -O2 -flto -fno-fat-lto-objects -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/qt -I/usr/include/qt/QtGui -I/usr/include/qt/QtCore -I. -I/usr/lib/qt/mkspecs/linux-g++ -o lambda.o src/lambda.c
gcc -c -pipe -O2 -flto -fno-fat-lto-objects -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/qt -I/usr/include/qt/QtGui -I/usr/include/qt/QtCore -I. -I/usr/lib/qt/mkspecs/linux-g++ -o options.o src/options.c
gcc -c -pipe -O2 -flto -fno-fat-lto-objects -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/qt -I/usr/include/qt/QtGui -I/usr/include/qt/QtCore -I. -I/usr/lib/qt/mkspecs/linux-g++ -o pntpos.o src/pntpos.c
src/pntpos.c: In function 'tropcorr':
src/pntpos.c:221:48: warning: unused parameter 'nav' [-Wunused-parameter]
  221 | extern int tropcorr(gtime_t time, const nav_t *nav, const double *pos,
      |                                   ~~~~~~~~~~~~~^~~
src/pntpos.c: In function 'raim_fde':
src/pntpos.c:442:5: warning: missing initializer for field 'rr' of 'sol_t' [-Wmissing-field-initializers]
  442 |     sol_t sol_e={{0}};
      |     ^~~~~
In file included from src/pntpos.c:27:
src/rtklib.h:846:12: note: 'rr' declared here
  846 |     double rr[6];       /* position/velocity (m|m/s) */
      |            ^~
gcc -c -pipe -O2 -flto -fno-fat-lto-objects -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/qt -I/usr/include/qt/QtGui -I/usr/include/qt/QtCore -I. -I/usr/lib/qt/mkspecs/linux-g++ -o postpos.o src/postpos.c
src/postpos.c: In function 'procpos':
src/postpos.c:332:5: warning: missing initializer for field 'rr' of 'sol_t' [-Wmissing-field-initializers]
  332 |     sol_t sol={{0}};
      |     ^~~~~
In file included from src/postpos.c:47:
src/rtklib.h:846:12: note: 'rr' declared here
  846 |     double rr[6];       /* position/velocity (m|m/s) */
      |            ^~
src/postpos.c: In function 'combres':
src/postpos.c:420:5: warning: missing initializer for field 'rr' of 'sol_t' [-Wmissing-field-initializers]
  420 |     sol_t sols={{0}},sol={{0}};
      |     ^~~~~
In file included from src/postpos.c:47:
src/rtklib.h:846:12: note: 'rr' declared here
  846 |     double rr[6];       /* position/velocity (m|m/s) */
      |            ^~
src/postpos.c:420:5: warning: missing initializer for field 'rr' of 'sol_t' [-Wmissing-field-initializers]
  420 |     sol_t sols={{0}},sol={{0}};
      |     ^~~~~
In file included from src/postpos.c:47:
src/rtklib.h:846:12: note: 'rr' declared here
  846 |     double rr[6];       /* position/velocity (m|m/s) */
      |            ^~
src/postpos.c: In function 'avepos':
src/postpos.c:667:5: warning: missing initializer for field 'rr' of 'sol_t' [-Wmissing-field-initializers]
  667 |     sol_t sol={{0}};
      |     ^~~~~
In file included from src/postpos.c:47:
src/rtklib.h:846:12: note: 'rr' declared here
  846 |     double rr[6];       /* position/velocity (m|m/s) */
      |            ^~
src/postpos.c: In function 'antpos':
src/postpos.c:731:32: warning: unused parameter 'sta' [-Wunused-parameter]
  731 |                   const sta_t *sta, const char *posfile)
      |                   ~~~~~~~~~~~~~^~~
src/postpos.c: In function 'openses':
src/postpos.c:773:36: warning: unused parameter 'popt' [-Wunused-parameter]
  773 | static int openses(const prcopt_t *popt, const solopt_t *sopt,
      |                    ~~~~~~~~~~~~~~~~^~~~
src/postpos.c:774:49: warning: unused parameter 'nav' [-Wunused-parameter]
  774 |                    const filopt_t *fopt, nav_t *nav, pcvs_t *pcvs, pcvs_t *pcvr)
      |                                          ~~~~~~~^~~
gcc -c -pipe -O2 -flto -fno-fat-lto-objects -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/qt -I/usr/include/qt/QtGui -I/usr/include/qt/QtCore -I. -I/usr/lib/qt/mkspecs/linux-g++ -o ppp.o src/ppp.c
src/ppp.c: In function 'yaw_angle':
src/ppp.c:239:26: warning: unused parameter 'sat' [-Wunused-parameter]
  239 | extern int yaw_angle(int sat, const char *type, int opt, double beta, double mu,
      |                      ~~~~^~~
src/ppp.c:239:43: warning: unused parameter 'type' [-Wunused-parameter]
  239 | extern int yaw_angle(int sat, const char *type, int opt, double beta, double mu,
      |                               ~~~~~~~~~~~~^~~~
src/ppp.c:239:53: warning: unused parameter 'opt' [-Wunused-parameter]
  239 | extern int yaw_angle(int sat, const char *type, int opt, double beta, double mu,
      |                                                 ~~~~^~~
src/ppp.c: In function 'varerr':
src/ppp.c:323:26: warning: unused parameter 'sat' [-Wunused-parameter]
  323 | static double varerr(int sat, int sys, double el, int idx, int type,
      |                      ~~~~^~~
src/ppp.c: In function 'model_trop':
src/ppp.c:810:36: warning: unused parameter 'nav' [-Wunused-parameter]
  810 |                       const nav_t *nav, double *dtrp, double *var)
      |                       ~~~~~~~~~~~~~^~~
gcc -c -pipe -O2 -flto -fno-fat-lto-objects -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/qt -I/usr/include/qt/QtGui -I/usr/include/qt/QtCore -I. -I/usr/lib/qt/mkspecs/linux-g++ -o ppp_ar.o src/ppp_ar.c
src/ppp_ar.c: In function 'ppp_ar':
src/ppp_ar.c:17:26: warning: unused parameter 'rtk' [-Wunused-parameter]
   17 | extern int ppp_ar(rtk_t *rtk, const obsd_t *obs, int n, int *exc,
      |                   ~~~~~~~^~~
src/ppp_ar.c:17:45: warning: unused parameter 'obs' [-Wunused-parameter]
   17 | extern int ppp_ar(rtk_t *rtk, const obsd_t *obs, int n, int *exc,
      |                               ~~~~~~~~~~~~~~^~~
src/ppp_ar.c:17:54: warning: unused parameter 'n' [-Wunused-parameter]
   17 | extern int ppp_ar(rtk_t *rtk, const obsd_t *obs, int n, int *exc,
      |                                                  ~~~~^
src/ppp_ar.c:17:62: warning: unused parameter 'exc' [-Wunused-parameter]
   17 | extern int ppp_ar(rtk_t *rtk, const obsd_t *obs, int n, int *exc,
      |                                                         ~~~~~^~~
src/ppp_ar.c:18:32: warning: unused parameter 'nav' [-Wunused-parameter]
   18 |                   const nav_t *nav, const double *azel, double *x, double *P)
      |                   ~~~~~~~~~~~~~^~~
src/ppp_ar.c:18:51: warning: unused parameter 'azel' [-Wunused-parameter]
   18 |                   const nav_t *nav, const double *azel, double *x, double *P)
      |                                     ~~~~~~~~~~~~~~^~~~
src/ppp_ar.c:18:65: warning: unused parameter 'x' [-Wunused-parameter]
   18 |                   const nav_t *nav, const double *azel, double *x, double *P)
      |                                                         ~~~~~~~~^
src/ppp_ar.c:18:76: warning: unused parameter 'P' [-Wunused-parameter]
   18 |                   const nav_t *nav, const double *azel, double *x, double *P)
      |                                                                    ~~~~~~~~^
gcc -c -pipe -O2 -flto -fno-fat-lto-objects -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/qt -I/usr/include/qt/QtGui -I/usr/include/qt/QtCore -I. -I/usr/lib/qt/mkspecs/linux-g++ -o preceph.o src/preceph.c
src/preceph.c: In function 'readsp3b':
src/preceph.c:141:48: warning: unused parameter 'sats' [-Wunused-parameter]
  141 | static void readsp3b(FILE *fp, char type, int *sats, int ns, double *bfact,
      |                                           ~~~~~^~~~
gcc -c -pipe -O2 -flto -fno-fat-lto-objects -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/qt -I/usr/include/qt/QtGui -I/usr/include/qt/QtCore -I. -I/usr/lib/qt/mkspecs/linux-g++ -o rcvraw.o src/rcvraw.c
src/rcvraw.c: In function 'decode_glostr_eph':
src/rcvraw.c:904:52: warning: variable 'M' set but not used [-Wunused-but-set-variable]
  904 |     int P,P1,P2,P3,P4,tk_h,tk_m,tk_s,tb,ln,NT,slot,M,week;
      |                                                    ^
src/rcvraw.c:904:44: warning: variable 'NT' set but not used [-Wunused-but-set-variable]
  904 |     int P,P1,P2,P3,P4,tk_h,tk_m,tk_s,tb,ln,NT,slot,M,week;
      |                                            ^~
src/rcvraw.c:904:41: warning: variable 'ln' set but not used [-Wunused-but-set-variable]
  904 |     int P,P1,P2,P3,P4,tk_h,tk_m,tk_s,tb,ln,NT,slot,M,week;
      |                                         ^~
src/rcvraw.c:904:20: warning: variable 'P4' set but not used [-Wunused-but-set-variable]
  904 |     int P,P1,P2,P3,P4,tk_h,tk_m,tk_s,tb,ln,NT,slot,M,week;
      |                    ^~
src/rcvraw.c:904:17: warning: variable 'P3' set but not used [-Wunused-but-set-variable]
  904 |     int P,P1,P2,P3,P4,tk_h,tk_m,tk_s,tb,ln,NT,slot,M,week;
      |                 ^~
src/rcvraw.c:904:14: warning: variable 'P2' set but not used [-Wunused-but-set-variable]
  904 |     int P,P1,P2,P3,P4,tk_h,tk_m,tk_s,tb,ln,NT,slot,M,week;
      |              ^~
src/rcvraw.c:904:11: warning: variable 'P1' set but not used [-Wunused-but-set-variable]
  904 |     int P,P1,P2,P3,P4,tk_h,tk_m,tk_s,tb,ln,NT,slot,M,week;
      |           ^~
src/rcvraw.c:904:9: warning: variable 'P' set but not used [-Wunused-but-set-variable]
  904 |     int P,P1,P2,P3,P4,tk_h,tk_m,tk_s,tb,ln,NT,slot,M,week;
      |         ^
src/rcvraw.c: In function 'decode_frame_eph':
src/rcvraw.c:1017:22: warning: variable 'tow3' set but not used [-Wunused-but-set-variable]
 1017 |     double tow1,tow2,tow3,toc,sqrtA;
      |                      ^~~~
src/rcvraw.c:1017:17: warning: variable 'tow2' set but not used [-Wunused-but-set-variable]
 1017 |     double tow1,tow2,tow3,toc,sqrtA;
      |                 ^~~~
src/rcvraw.c: In function 'decode_frame_alm':
src/rcvraw.c:1197:31: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1197 |         if (getbitu(buff,43,3)!=frm) continue;
      |                               ^~
src/rcvraw.c: In function 'decode_frame_ion':
src/rcvraw.c:1219:31: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1219 |         if (getbitu(buff,43,3)!=frm||getbitu(buff,50,6)!=56) continue;
      |                               ^~
src/rcvraw.c: In function 'decode_frame_utc':
src/rcvraw.c:1243:31: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 1243 |         if (getbitu(buff,43,3)!=frm||getbitu(buff,50,6)!=56) continue;
      |                               ^~
src/rcvraw.c: In function 'init_raw':
src/rcvraw.c:1299:5: warning: missing initializer for field 'sat' of 'obsd_t' [-Wmissing-field-initializers]
 1299 |     obsd_t data0={{0}};
      |     ^~~~~~
In file included from src/rcvraw.c:52:
src/rtklib.h:538:13: note: 'sat' declared here
  538 |     uint8_t sat,rcv;    /* satellite/receiver number */
      |             ^~~
src/rcvraw.c:1300:5: warning: missing initializer for field 'sva' of 'eph_t' [-Wmissing-field-initializers]
 1300 |     eph_t  eph0 ={0,-1,-1};
      |     ^~~~~
In file included from src/rcvraw.c:52:
src/rtklib.h:595:9: note: 'sva' declared here
  595 |     int sva;            /* SV accuracy (URA index) */
      |         ^~~
src/rcvraw.c:1301:5: warning: missing initializer for field 'svconf' of 'alm_t' [-Wmissing-field-initializers]
 1301 |     alm_t  alm0 ={0,-1};
      |     ^~~~~
In file included from src/rcvraw.c:52:
src/rtklib.h:583:9: note: 'svconf' declared here
  583 |     int svconf;         /* as and sv config */
      |         ^~~~~~
src/rcvraw.c:1302:5: warning: missing initializer for field 'frq' of 'geph_t' [-Wmissing-field-initializers]
 1302 |     geph_t geph0={0,-1};
      |     ^~~~~~
In file included from src/rcvraw.c:52:
src/rtklib.h:621:9: note: 'frq' declared here
  621 |     int frq;            /* satellite frequency number */
      |         ^~~
gcc -c -pipe -O2 -flto -fno-fat-lto-objects -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/qt -I/usr/include/qt/QtGui -I/usr/include/qt/QtCore -I. -I/usr/lib/qt/mkspecs/linux-g++ -o rinex.o src/rinex.c
src/rinex.c: In function 'decode_gnavh':
src/rinex.c:621:45: warning: unused parameter 'nav' [-Wunused-parameter]
  621 | static void decode_gnavh(char *buff, nav_t *nav)
      |                                      ~~~~~~~^~~
src/rinex.c: In function 'decode_hnavh':
src/rinex.c:631:45: warning: unused parameter 'nav' [-Wunused-parameter]
  631 | static void decode_hnavh(char *buff, nav_t *nav)
      |                                      ~~~~~~~^~~
src/rinex.c: In function 'set_index':
src/rinex.c:910:30: warning: unused parameter 'ver' [-Wunused-parameter]
  910 | static void set_index(double ver, int sys, const char *opt,
      |                       ~~~~~~~^~~
src/rinex.c: In function 'init_rnxctr':
src/rinex.c:1718:5: warning: missing initializer for field 'sat' of 'obsd_t' [-Wmissing-field-initializers]
 1718 |     obsd_t data0={{0}};
      |     ^~~~~~
In file included from src/rinex.c:120:
src/rtklib.h:538:13: note: 'sat' declared here
  538 |     uint8_t sat,rcv;    /* satellite/receiver number */
      |             ^~~
src/rinex.c:1719:5: warning: missing initializer for field 'sva' of 'eph_t' [-Wmissing-field-initializers]
 1719 |     eph_t  eph0={0,-1,-1};
      |     ^~~~~
In file included from src/rinex.c:120:
src/rtklib.h:595:9: note: 'sva' declared here
  595 |     int sva;            /* SV accuracy (URA index) */
      |         ^~~
src/rinex.c:1720:5: warning: missing initializer for field 'frq' of 'geph_t' [-Wmissing-field-initializers]
 1720 |     geph_t geph0={0,-1};
      |     ^~~~~~
In file included from src/rinex.c:120:
src/rtklib.h:621:9: note: 'frq' declared here
  621 |     int frq;            /* satellite frequency number */
      |         ^~~
src/rinex.c: In function 'outrnx_phase_shift':
src/rinex.c:1937:76: warning: unused parameter 'nav' [-Wunused-parameter]
 1937 | static void outrnx_phase_shift(FILE *fp, const rnxopt_t *opt, const nav_t *nav)
      |                                                               ~~~~~~~~~~~~~^~~
gcc -c -pipe -O2 -flto -fno-fat-lto-objects -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/qt -I/usr/include/qt/QtGui -I/usr/include/qt/QtCore -I. -I/usr/lib/qt/mkspecs/linux-g++ -o rtcm.o src/rtcm.c
src/rtcm.c: In function 'init_rtcm':
src/rtcm.c:69:5: warning: missing initializer for field 'sat' of 'obsd_t' [-Wmissing-field-initializers]
   69 |     obsd_t data0={{0}};
      |     ^~~~~~
In file included from src/rtcm.c:48:
src/rtklib.h:538:13: note: 'sat' declared here
  538 |     uint8_t sat,rcv;    /* satellite/receiver number */
      |             ^~~
src/rtcm.c:70:5: warning: missing initializer for field 'sva' of 'eph_t' [-Wmissing-field-initializers]
   70 |     eph_t  eph0 ={0,-1,-1};
      |     ^~~~~
In file included from src/rtcm.c:48:
src/rtklib.h:595:9: note: 'sva' declared here
  595 |     int sva;            /* SV accuracy (URA index) */
      |         ^~~
src/rtcm.c:71:5: warning: missing initializer for field 'frq' of 'geph_t' [-Wmissing-field-initializers]
   71 |     geph_t geph0={0,-1};
      |     ^~~~~~
In file included from src/rtcm.c:48:
src/rtklib.h:621:9: note: 'frq' declared here
  621 |     int frq;            /* satellite frequency number */
      |         ^~~
src/rtcm.c:72:5: warning: missing initializer for field 'udi' of 'ssr_t' [-Wmissing-field-initializers]
   72 |     ssr_t ssr0={{{0}}};
      |     ^~~~~
In file included from src/rtcm.c:48:
src/rtklib.h:771:12: note: 'udi' declared here
  771 |     double udi[6];      /* SSR update interval (s) */
      |            ^~~
gcc -c -pipe -O2 -flto -fno-fat-lto-objects -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/qt -I/usr/include/qt/QtGui -I/usr/include/qt/QtCore -I. -I/usr/lib/qt/mkspecs/linux-g++ -o rtcm2.o src/rtcm2.c
src/rtcm2.c: In function 'decode_type23':
src/rtcm2.c:331:34: warning: unused parameter 'rtcm' [-Wunused-parameter]
  331 | static int decode_type23(rtcm_t *rtcm)
      |                          ~~~~~~~~^~~~
src/rtcm2.c: In function 'decode_type24':
src/rtcm2.c:336:34: warning: unused parameter 'rtcm' [-Wunused-parameter]
  336 | static int decode_type24(rtcm_t *rtcm)
      |                          ~~~~~~~~^~~~
src/rtcm2.c: In function 'decode_type31':
src/rtcm2.c:341:34: warning: unused parameter 'rtcm' [-Wunused-parameter]
  341 | static int decode_type31(rtcm_t *rtcm)
      |                          ~~~~~~~~^~~~
src/rtcm2.c: In function 'decode_type32':
src/rtcm2.c:346:34: warning: unused parameter 'rtcm' [-Wunused-parameter]
  346 | static int decode_type32(rtcm_t *rtcm)
      |                          ~~~~~~~~^~~~
src/rtcm2.c: In function 'decode_type34':
src/rtcm2.c:351:34: warning: unused parameter 'rtcm' [-Wunused-parameter]
  351 | static int decode_type34(rtcm_t *rtcm)
      |                          ~~~~~~~~^~~~
src/rtcm2.c: In function 'decode_type36':
src/rtcm2.c:356:34: warning: unused parameter 'rtcm' [-Wunused-parameter]
  356 | static int decode_type36(rtcm_t *rtcm)
      |                          ~~~~~~~~^~~~
src/rtcm2.c: In function 'decode_type37':
src/rtcm2.c:361:34: warning: unused parameter 'rtcm' [-Wunused-parameter]
  361 | static int decode_type37(rtcm_t *rtcm)
      |                          ~~~~~~~~^~~~
src/rtcm2.c: In function 'decode_type59':
src/rtcm2.c:366:34: warning: unused parameter 'rtcm' [-Wunused-parameter]
  366 | static int decode_type59(rtcm_t *rtcm)
      |                          ~~~~~~~~^~~~
gcc -c -pipe -O2 -flto -fno-fat-lto-objects -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/qt -I/usr/include/qt/QtGui -I/usr/include/qt/QtCore -I. -I/usr/lib/qt/mkspecs/linux-g++ -o rtcm3.o src/rtcm3.c
src/rtcm3.c: In function 'decode_type1013':
src/rtcm3.c:728:36: warning: unused parameter 'rtcm' [-Wunused-parameter]
  728 | static int decode_type1013(rtcm_t *rtcm)
      |                            ~~~~~~~~^~~~
src/rtcm3.c: In function 'decode_type1021':
src/rtcm3.c:878:36: warning: unused parameter 'rtcm' [-Wunused-parameter]
  878 | static int decode_type1021(rtcm_t *rtcm)
      |                            ~~~~~~~~^~~~
src/rtcm3.c: In function 'decode_type1022':
src/rtcm3.c:884:36: warning: unused parameter 'rtcm' [-Wunused-parameter]
  884 | static int decode_type1022(rtcm_t *rtcm)
      |                            ~~~~~~~~^~~~
src/rtcm3.c: In function 'decode_type1023':
src/rtcm3.c:890:36: warning: unused parameter 'rtcm' [-Wunused-parameter]
  890 | static int decode_type1023(rtcm_t *rtcm)
      |                            ~~~~~~~~^~~~
src/rtcm3.c: In function 'decode_type1024':
src/rtcm3.c:896:36: warning: unused parameter 'rtcm' [-Wunused-parameter]
  896 | static int decode_type1024(rtcm_t *rtcm)
      |                            ~~~~~~~~^~~~
src/rtcm3.c: In function 'decode_type1025':
src/rtcm3.c:902:36: warning: unused parameter 'rtcm' [-Wunused-parameter]
  902 | static int decode_type1025(rtcm_t *rtcm)
      |                            ~~~~~~~~^~~~
src/rtcm3.c: In function 'decode_type1026':
src/rtcm3.c:908:36: warning: unused parameter 'rtcm' [-Wunused-parameter]
  908 | static int decode_type1026(rtcm_t *rtcm)
      |                            ~~~~~~~~^~~~
src/rtcm3.c: In function 'decode_type1027':
src/rtcm3.c:914:36: warning: unused parameter 'rtcm' [-Wunused-parameter]
  914 | static int decode_type1027(rtcm_t *rtcm)
      |                            ~~~~~~~~^~~~
src/rtcm3.c: In function 'decode_type1029':
src/rtcm3.c:923:39: warning: variable 'cunit' set but not used [-Wunused-but-set-variable]
  923 |     int i=24+12,j,staid,mjd,tod,nchar,cunit;
      |                                       ^~~~~
src/rtcm3.c:923:29: warning: variable 'tod' set but not used [-Wunused-but-set-variable]
  923 |     int i=24+12,j,staid,mjd,tod,nchar,cunit;
      |                             ^~~
src/rtcm3.c:923:25: warning: variable 'mjd' set but not used [-Wunused-but-set-variable]
  923 |     int i=24+12,j,staid,mjd,tod,nchar,cunit;
      |                         ^~~
src/rtcm3.c: In function 'decode_type1030':
src/rtcm3.c:952:36: warning: unused parameter 'rtcm' [-Wunused-parameter]
  952 | static int decode_type1030(rtcm_t *rtcm)
      |                            ~~~~~~~~^~~~
src/rtcm3.c: In function 'decode_type1031':
src/rtcm3.c:958:36: warning: unused parameter 'rtcm' [-Wunused-parameter]
  958 | static int decode_type1031(rtcm_t *rtcm)
      |                            ~~~~~~~~^~~~
src/rtcm3.c: In function 'decode_type1032':
src/rtcm3.c:964:36: warning: unused parameter 'rtcm' [-Wunused-parameter]
  964 | static int decode_type1032(rtcm_t *rtcm)
      |                            ~~~~~~~~^~~~
src/rtcm3.c: In function 'decode_type1034':
src/rtcm3.c:1027:36: warning: unused parameter 'rtcm' [-Wunused-parameter]
 1027 | static int decode_type1034(rtcm_t *rtcm)
      |                            ~~~~~~~~^~~~
src/rtcm3.c: In function 'decode_type1035':
src/rtcm3.c:1033:36: warning: unused parameter 'rtcm' [-Wunused-parameter]
 1033 | static int decode_type1035(rtcm_t *rtcm)
      |                            ~~~~~~~~^~~~
src/rtcm3.c: In function 'decode_type1037':
src/rtcm3.c:1039:36: warning: unused parameter 'rtcm' [-Wunused-parameter]
 1039 | static int decode_type1037(rtcm_t *rtcm)
      |                            ~~~~~~~~^~~~
src/rtcm3.c: In function 'decode_type1038':
src/rtcm3.c:1045:36: warning: unused parameter 'rtcm' [-Wunused-parameter]
 1045 | static int decode_type1038(rtcm_t *rtcm)
      |                            ~~~~~~~~^~~~
src/rtcm3.c: In function 'decode_type1039':
src/rtcm3.c:1051:36: warning: unused parameter 'rtcm' [-Wunused-parameter]
 1051 | static int decode_type1039(rtcm_t *rtcm)
      |                            ~~~~~~~~^~~~
src/rtcm3.c: In function 'decode_type1045':
src/rtcm3.c:1206:45: warning: variable 'rsv' set but not used [-Wunused-but-set-variable]
 1206 |     int i=24+12,prn,sat,week,e5a_hs,e5a_dvs,rsv,sys=SYS_GAL;
      |                                             ^~~
src/rtcm3.c: In function 'decode_ssr7':
src/rtcm3.c:1885:15: warning: variable 'sdc' set but not used [-Wunused-but-set-variable]
 1885 |     int dispe,sdc,yaw_ang,yaw_rate;
      |               ^~~
src/rtcm3.c:1884:68: warning: variable 'swl' set but not used [-Wunused-but-set-variable]
 1884 |     int i,j,k,type,mode,sync,iod,nsat,prn,sat,nbias,np,mw,offp,sii,swl;
      |                                                                    ^~~
src/rtcm3.c:1884:64: warning: variable 'sii' set but not used [-Wunused-but-set-variable]
 1884 |     int i,j,k,type,mode,sync,iod,nsat,prn,sat,nbias,np,mw,offp,sii,swl;
      |                                                                ^~~
src/rtcm3.c: In function 'decode_msm_head':
src/rtcm3.c:2106:16: warning: variable 'dow' set but not used [-Wunused-but-set-variable]
 2106 |     int i=24,j,dow,mask,staid,type,ncell=0;
      |                ^~~
gcc -c -pipe -O2 -flto -fno-fat-lto-objects -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/qt -I/usr/include/qt/QtGui -I/usr/include/qt/QtCore -I. -I/usr/lib/qt/mkspecs/linux-g++ -o rtcm3e.o src/rtcm3e.c
src/rtcm3e.c: In function 'encode_type1045':
src/rtcm3e.c:1105:42: warning: variable 'bgd2' set but not used [-Wunused-but-set-variable]
 1105 |     int cus,cuc,cis,cic,af0,af1,af2,bgd1,bgd2,oshs,osdvs;
      |                                          ^~~~
src/rtcm3e.c: In function 'gen_msm_sat':
src/rtcm3e.c:1943:52: warning: unused parameter 'nsat' [-Wunused-parameter]
 1943 | static void gen_msm_sat(rtcm_t *rtcm, int sys, int nsat, const uint8_t *sat_ind,
      |                                                ~~~~^~~~
src/rtcm3e.c: In function 'gen_msm_sig':
src/rtcm3e.c:1976:52: warning: unused parameter 'nsat' [-Wunused-parameter]
 1976 | static void gen_msm_sig(rtcm_t *rtcm, int sys, int nsat, int nsig, int ncell,
      |                                                ~~~~^~~~
src/rtcm3e.c: In function 'encode_type4073':
src/rtcm3e.c:2551:36: warning: unused parameter 'rtcm' [-Wunused-parameter]
 2551 | static int encode_type4073(rtcm_t *rtcm, int subtype, int sync)
      |                            ~~~~~~~~^~~~
src/rtcm3e.c:2551:59: warning: unused parameter 'sync' [-Wunused-parameter]
 2551 | static int encode_type4073(rtcm_t *rtcm, int subtype, int sync)
      |                                                       ~~~~^~~~
gcc -c -pipe -O2 -flto -fno-fat-lto-objects -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/qt -I/usr/include/qt/QtGui -I/usr/include/qt/QtCore -I. -I/usr/lib/qt/mkspecs/linux-g++ -o rtkcmn.o src/rtkcmn.c
src/rtkcmn.c:206:5: warning: missing initializer for field 'mask' of 'snrmask_t' [-Wmissing-field-initializers]
  206 |     15.0*D2R,{{0,0}},           /* elmin,snrmask */
      |     ^~~~
In file included from src/rtkcmn.c:157:
src/rtklib.h:955:12: note: 'mask' declared here
  955 |     double mask[NFREQ][9]; /* mask (dBHz) at 5,10,...85 deg */
      |            ^~~~
src/rtkcmn.c:223:1: warning: missing initializer for field 'maxaveep' of 'prcopt_t' [-Wmissing-field-initializers]
  223 | };
      | ^
In file included from src/rtkcmn.c:157:
src/rtklib.h:1008:10: note: 'maxaveep' declared here
 1008 |     int  maxaveep;      /* max averaging epoches */
      |          ^~~~~~~~
src/rtkcmn.c:230:1: warning: missing initializer for field 'maxsolstd' of 'solopt_t' [-Wmissing-field-initializers]
  230 | };
      | ^
In file included from src/rtkcmn.c:157:
src/rtklib.h:1038:12: note: 'maxsolstd' declared here
 1038 |     double maxsolstd;   /* max std-dev for solution output (m) (0:all) */
      |            ^~~~~~~~~
src/rtkcmn.c: In function 'traceopen':
src/rtkcmn.c:3217:35: warning: unused parameter 'file' [-Wunused-parameter]
 3217 | extern void traceopen(const char *file) {}
      |                       ~~~~~~~~~~~~^~~~
src/rtkcmn.c: In function 'tracelevel':
src/rtkcmn.c:3219:28: warning: unused parameter 'level' [-Wunused-parameter]
 3219 | extern void tracelevel(int level) {}
      |                        ~~~~^~~~~
src/rtkcmn.c: In function 'trace':
src/rtkcmn.c:3220:26: warning: unused parameter 'level' [-Wunused-parameter]
 3220 | extern void trace   (int level, const char *format, ...) {}
      |                      ~~~~^~~~~
src/rtkcmn.c:3220:45: warning: unused parameter 'format' [-Wunused-parameter]
 3220 | extern void trace   (int level, const char *format, ...) {}
      |                                 ~~~~~~~~~~~~^~~~~~
src/rtkcmn.c: In function 'tracet':
src/rtkcmn.c:3221:26: warning: unused parameter 'level' [-Wunused-parameter]
 3221 | extern void tracet  (int level, const char *format, ...) {}
      |                      ~~~~^~~~~
src/rtkcmn.c:3221:45: warning: unused parameter 'format' [-Wunused-parameter]
 3221 | extern void tracet  (int level, const char *format, ...) {}
      |                                 ~~~~~~~~~~~~^~~~~~
src/rtkcmn.c: In function 'tracemat':
src/rtkcmn.c:3222:26: warning: unused parameter 'level' [-Wunused-parameter]
 3222 | extern void tracemat(int level, const double *A, int n, int m, int p, int q) {}
      |                      ~~~~^~~~~
src/rtkcmn.c:3222:47: warning: unused parameter 'A' [-Wunused-parameter]
 3222 | extern void tracemat(int level, const double *A, int n, int m, int p, int q) {}
      |                                 ~~~~~~~~~~~~~~^
src/rtkcmn.c:3222:54: warning: unused parameter 'n' [-Wunused-parameter]
 3222 | extern void tracemat(int level, const double *A, int n, int m, int p, int q) {}
      |                                                  ~~~~^
src/rtkcmn.c:3222:61: warning: unused parameter 'm' [-Wunused-parameter]
 3222 | extern void tracemat(int level, const double *A, int n, int m, int p, int q) {}
      |                                                         ~~~~^
src/rtkcmn.c:3222:68: warning: unused parameter 'p' [-Wunused-parameter]
 3222 | extern void tracemat(int level, const double *A, int n, int m, int p, int q) {}
      |                                                                ~~~~^
src/rtkcmn.c:3222:75: warning: unused parameter 'q' [-Wunused-parameter]
 3222 | extern void tracemat(int level, const double *A, int n, int m, int p, int q) {}
      |                                                                       ~~~~^
src/rtkcmn.c: In function 'traceobs':
src/rtkcmn.c:3223:26: warning: unused parameter 'level' [-Wunused-parameter]
 3223 | extern void traceobs(int level, const obsd_t *obs, int n) {}
      |                      ~~~~^~~~~
src/rtkcmn.c:3223:47: warning: unused parameter 'obs' [-Wunused-parameter]
 3223 | extern void traceobs(int level, const obsd_t *obs, int n) {}
      |                                 ~~~~~~~~~~~~~~^~~
src/rtkcmn.c:3223:56: warning: unused parameter 'n' [-Wunused-parameter]
 3223 | extern void traceobs(int level, const obsd_t *obs, int n) {}
      |                                                    ~~~~^
src/rtkcmn.c: In function 'tracenav':
src/rtkcmn.c:3224:26: warning: unused parameter 'level' [-Wunused-parameter]
 3224 | extern void tracenav(int level, const nav_t *nav) {}
      |                      ~~~~^~~~~
src/rtkcmn.c:3224:46: warning: unused parameter 'nav' [-Wunused-parameter]
 3224 | extern void tracenav(int level, const nav_t *nav) {}
      |                                 ~~~~~~~~~~~~~^~~
src/rtkcmn.c: In function 'tracegnav':
src/rtkcmn.c:3225:27: warning: unused parameter 'level' [-Wunused-parameter]
 3225 | extern void tracegnav(int level, const nav_t *nav) {}
      |                       ~~~~^~~~~
src/rtkcmn.c:3225:47: warning: unused parameter 'nav' [-Wunused-parameter]
 3225 | extern void tracegnav(int level, const nav_t *nav) {}
      |                                  ~~~~~~~~~~~~~^~~
src/rtkcmn.c: In function 'tracehnav':
src/rtkcmn.c:3226:27: warning: unused parameter 'level' [-Wunused-parameter]
 3226 | extern void tracehnav(int level, const nav_t *nav) {}
      |                       ~~~~^~~~~
src/rtkcmn.c:3226:47: warning: unused parameter 'nav' [-Wunused-parameter]
 3226 | extern void tracehnav(int level, const nav_t *nav) {}
      |                                  ~~~~~~~~~~~~~^~~
src/rtkcmn.c: In function 'tracepeph':
src/rtkcmn.c:3227:27: warning: unused parameter 'level' [-Wunused-parameter]
 3227 | extern void tracepeph(int level, const nav_t *nav) {}
      |                       ~~~~^~~~~
src/rtkcmn.c:3227:47: warning: unused parameter 'nav' [-Wunused-parameter]
 3227 | extern void tracepeph(int level, const nav_t *nav) {}
      |                                  ~~~~~~~~~~~~~^~~
src/rtkcmn.c: In function 'tracepclk':
src/rtkcmn.c:3228:27: warning: unused parameter 'level' [-Wunused-parameter]
 3228 | extern void tracepclk(int level, const nav_t *nav) {}
      |                       ~~~~^~~~~
src/rtkcmn.c:3228:47: warning: unused parameter 'nav' [-Wunused-parameter]
 3228 | extern void tracepclk(int level, const nav_t *nav) {}
      |                                  ~~~~~~~~~~~~~^~~
src/rtkcmn.c: In function 'traceb':
src/rtkcmn.c:3229:26: warning: unused parameter 'level' [-Wunused-parameter]
 3229 | extern void traceb  (int level, const uint8_t *p, int n) {}
      |                      ~~~~^~~~~
src/rtkcmn.c:3229:48: warning: unused parameter 'p' [-Wunused-parameter]
 3229 | extern void traceb  (int level, const uint8_t *p, int n) {}
      |                                 ~~~~~~~~~~~~~~~^
src/rtkcmn.c:3229:55: warning: unused parameter 'n' [-Wunused-parameter]
 3229 | extern void traceb  (int level, const uint8_t *p, int n) {}
      |                                                   ~~~~^
src/rtkcmn.c: In function 'tropmodel':
src/rtkcmn.c:3696:33: warning: unused parameter 'time' [-Wunused-parameter]
 3696 | extern double tropmodel(gtime_t time, const double *pos, const double *azel,
      |                         ~~~~~~~~^~~~
gcc -c -pipe -O2 -flto -fno-fat-lto-objects -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/qt -I/usr/include/qt/QtGui -I/usr/include/qt/QtCore -I. -I/usr/lib/qt/mkspecs/linux-g++ -o rtkpos.o src/rtkpos.c
src/rtkpos.c: In function 'varerr':
src/rtkpos.c:386:26: warning: unused parameter 'sat' [-Wunused-parameter]
  386 | static double varerr(int sat, int sys, double el, double bl, double dt, int f,
      |                      ~~~~^~~
src/rtkpos.c: In function 'udtrop':
src/rtkpos.c:550:50: warning: unused parameter 'bl' [-Wunused-parameter]
  550 | static void udtrop(rtk_t *rtk, double tt, double bl)
      |                                           ~~~~~~~^~
src/rtkpos.c: In function 'detslp_dop':
src/rtkpos.c:671:31: warning: unused parameter 'rtk' [-Wunused-parameter]
  671 | static void detslp_dop(rtk_t *rtk, const obsd_t *obs, int i, int rcv,
      |                        ~~~~~~~^~~
src/rtkpos.c:671:50: warning: unused parameter 'obs' [-Wunused-parameter]
  671 | static void detslp_dop(rtk_t *rtk, const obsd_t *obs, int i, int rcv,
      |                                    ~~~~~~~~~~~~~~^~~
src/rtkpos.c:671:59: warning: unused parameter 'i' [-Wunused-parameter]
  671 | static void detslp_dop(rtk_t *rtk, const obsd_t *obs, int i, int rcv,
      |                                                       ~~~~^
src/rtkpos.c:671:66: warning: unused parameter 'rcv' [-Wunused-parameter]
  671 | static void detslp_dop(rtk_t *rtk, const obsd_t *obs, int i, int rcv,
      |                                                              ~~~~^~~
src/rtkpos.c:672:37: warning: unused parameter 'nav' [-Wunused-parameter]
  672 |                        const nav_t *nav)
      |                        ~~~~~~~~~~~~~^~~
src/rtkpos.c: In function 'ddres':
src/rtkpos.c:1042:43: warning: unused parameter 'nav' [-Wunused-parameter]
 1042 | static int ddres(rtk_t *rtk, const nav_t *nav, double dt, const double *x,
      |                              ~~~~~~~~~~~~~^~~
src/rtkpos.c: In function 'restamb':
src/rtkpos.c:1279:57: warning: unused parameter 'nb' [-Wunused-parameter]
 1279 | static void restamb(rtk_t *rtk, const double *bias, int nb, double *xa)
      |                                                     ~~~~^~
src/rtkpos.c: In function 'rtkinit':
src/rtkpos.c:1660:5: warning: missing initializer for field 'rr' of 'sol_t' [-Wmissing-field-initializers]
 1660 |     sol_t sol0={{0}};
      |     ^~~~~
In file included from src/rtkpos.c:51:
src/rtklib.h:846:12: note: 'rr' declared here
  846 |     double rr[6];       /* position/velocity (m|m/s) */
      |            ^~
src/rtkpos.c:1661:5: warning: missing initializer for field 'n' of 'ambc_t' [-Wmissing-field-initializers]
 1661 |     ambc_t ambc0={{{0}}};
      |     ^~~~~~
In file included from src/rtkpos.c:51:
src/rtklib.h:1121:9: note: 'n' declared here
 1121 |     int n[4];           /* number of epochs */
      |         ^
src/rtkpos.c: In function 'rtkpos':
src/rtkpos.c:1760:5: warning: missing initializer for field 'rr' of 'sol_t' [-Wmissing-field-initializers]
 1760 |     sol_t solb={{0}};
      |     ^~~~~
In file included from src/rtkpos.c:51:
src/rtklib.h:846:12: note: 'rr' declared here
  846 |     double rr[6];       /* position/velocity (m|m/s) */
      |            ^~
gcc -c -pipe -O2 -flto -fno-fat-lto-objects -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/qt -I/usr/include/qt/QtGui -I/usr/include/qt/QtCore -I. -I/usr/lib/qt/mkspecs/linux-g++ -o rtksvr.o src/rtksvr.c
src/rtksvr.c: In function 'send_nmea':
src/rtksvr.c:511:9: warning: missing initializer for field 'rr' of 'sol_t' [-Wmissing-field-initializers]
  511 |         sol_t sol_nmea={{0}};
      |         ^~~~~
In file included from src/rtksvr.c:46:
src/rtklib.h:846:12: note: 'rr' declared here
  846 |     double rr[6];       /* position/velocity (m|m/s) */
      |            ^~
src/rtksvr.c: In function 'rtksvrthread':
src/rtksvr.c:570:5: warning: missing initializer for field 'rr' of 'sol_t' [-Wmissing-field-initializers]
  570 |     sol_t sol={{0}};
      |     ^~~~~
In file included from src/rtksvr.c:46:
src/rtklib.h:846:12: note: 'rr' declared here
  846 |     double rr[6];       /* position/velocity (m|m/s) */
      |            ^~
src/rtksvr.c: In function 'rtksvrinit':
src/rtksvr.c:698:5: warning: missing initializer for field 'rr' of 'sol_t' [-Wmissing-field-initializers]
  698 |     sol_t  sol0 ={{0}};
      |     ^~~~~
In file included from src/rtksvr.c:46:
src/rtklib.h:846:12: note: 'rr' declared here
  846 |     double rr[6];       /* position/velocity (m|m/s) */
      |            ^~
src/rtksvr.c:699:5: warning: missing initializer for field 'sva' of 'eph_t' [-Wmissing-field-initializers]
  699 |     eph_t  eph0 ={0,-1,-1};
      |     ^~~~~
In file included from src/rtksvr.c:46:
src/rtklib.h:595:9: note: 'sva' declared here
  595 |     int sva;            /* SV accuracy (URA index) */
      |         ^~~
src/rtksvr.c:700:5: warning: missing initializer for field 'frq' of 'geph_t' [-Wmissing-field-initializers]
  700 |     geph_t geph0={0,-1};
      |     ^~~~~~
In file included from src/rtksvr.c:46:
src/rtklib.h:621:9: note: 'frq' declared here
  621 |     int frq;            /* satellite frequency number */
      |         ^~~
gcc -c -pipe -O2 -flto -fno-fat-lto-objects -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/qt -I/usr/include/qt/QtGui -I/usr/include/qt/QtCore -I. -I/usr/lib/qt/mkspecs/linux-g++ -o sbas.o src/sbas.c
src/sbas.c: In function 'searchigp':
src/sbas.c:601:31: warning: unused parameter 'time' [-Wunused-parameter]
  601 | static void searchigp(gtime_t time, const double *pos, const sbsion_t *ion,
      |                       ~~~~~~~~^~~~
gcc -c -pipe -O2 -flto -fno-fat-lto-objects -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/qt -I/usr/include/qt/QtGui -I/usr/include/qt/QtCore -I. -I/usr/lib/qt/mkspecs/linux-g++ -o solution.o src/solution.c
src/solution.c: In function 'decode_solgsi':
src/solution.c:589:54: warning: unused parameter 'opt' [-Wunused-parameter]
  589 | static int decode_solgsi(char *buff, const solopt_t *opt, sol_t *sol)
      |                                      ~~~~~~~~~~~~~~~~^~~
src/solution.c: In function 'decode_solpos':
src/solution.c:607:5: warning: missing initializer for field 'rr' of 'sol_t' [-Wmissing-field-initializers]
  607 |     sol_t sol0={{0}};
      |     ^~~~~
In file included from src/solution.c:58:
src/rtklib.h:846:12: note: 'rr' declared here
  846 |     double rr[6];       /* position/velocity (m|m/s) */
      |            ^~
src/solution.c: In function 'inputsol':
src/solution.c:747:5: warning: missing initializer for field 'rr' of 'sol_t' [-Wmissing-field-initializers]
  747 |     sol_t sol={{0}};
      |     ^~~~~
In file included from src/solution.c:58:
src/rtklib.h:846:12: note: 'rr' declared here
  846 |     double rr[6];       /* position/velocity (m|m/s) */
      |            ^~
src/solution.c: In function 'decode_solstat':
src/solution.c:1012:5: warning: missing initializer for field 'sat' of 'solstat_t' [-Wmissing-field-initializers]
 1012 |     static const solstat_t stat0={{0}};
      |     ^~~~~~
In file included from src/solution.c:58:
src/rtklib.h:874:13: note: 'sat' declared here
  874 |     uint8_t sat;        /* satellite number */
      |             ^~~
src/solution.c: In function 'readsolstatdata':
src/solution.c:1074:5: warning: missing initializer for field 'sat' of 'solstat_t' [-Wmissing-field-initializers]
 1074 |     solstat_t stat={{0}};
      |     ^~~~~~~~~
In file included from src/solution.c:58:
src/rtklib.h:874:13: note: 'sat' declared here
  874 |     uint8_t sat;        /* satellite number */
      |             ^~~
src/solution.c: In function 'outnmea_gsv':
src/solution.c:1359:52: warning: unused parameter 'sol' [-Wunused-parameter]
 1359 | extern int outnmea_gsv(uint8_t *buff, const sol_t *sol, const ssat_t *ssat)
      |                                       ~~~~~~~~~~~~~^~~
gcc -c -pipe -O2 -flto -fno-fat-lto-objects -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/qt -I/usr/include/qt/QtGui -I/usr/include/qt/QtCore -I. -I/usr/lib/qt/mkspecs/linux-g++ -o stream.o src/stream.c
src/stream.c:85: warning: "__USE_MISC" redefined
   85 | #define __USE_MISC
      | 
In file included from /usr/include/ctype.h:25,
                 from src/stream.c:78:
/usr/include/features.h:395: note: this is the location of the previous definition
  395 | # define __USE_MISC     1
      | 
src/stream.c: In function 'readserial':
src/stream.c:502:69: warning: unused parameter 'msg' [-Wunused-parameter]
  502 | static int readserial(serial_t *serial, uint8_t *buff, int n, char *msg)
      |                                                               ~~~~~~^~~
src/stream.c: In function 'writeserial':
src/stream.c:526:70: warning: unused parameter 'msg' [-Wunused-parameter]
  526 | static int writeserial(serial_t *serial, uint8_t *buff, int n, char *msg)
      |                                                                ~~~~~~^~~
src/stream.c: In function 'opentcpsvr':
src/stream.c:1156:5: warning: missing initializer for field 'cli' of 'tcpsvr_t' {aka 'struct tcpsvr_tag'} [-Wmissing-field-initializers]
 1156 |     tcpsvr_t *tcpsvr,tcpsvr0={{0}};
      |     ^~~~~~~~
src/stream.c:178:11: note: 'cli' declared here
  178 |     tcp_t cli[MAXCLI];      /* tcp client controls */
      |           ^~~
src/stream.c: In function 'opentcpcli':
src/stream.c:1391:5: warning: missing initializer for field 'toinact' of 'tcpcli_t' [-Wmissing-field-initializers]
 1391 |     tcpcli_t *tcpcli,tcpcli0={{0}};
      |     ^~~~~~~~
src/stream.c:183:9: note: 'toinact' declared here
  183 |     int toinact;            /* inactive timeout (ms) (0:no timeout) */
      |         ^~~~~~~
src/stream.c: In function 'statextcpcli':
src/stream.c:1493:49: warning: unused parameter 'msg' [-Wunused-parameter]
 1493 | static int statextcpcli(tcpcli_t *tcpcli, char *msg)
      |                                           ~~~~~~^~~
src/stream.c: In function 'readudpsvr':
src/stream.c:2131:66: warning: unused parameter 'msg' [-Wunused-parameter]
 2131 | static int readudpsvr(udp_t *udpsvr, uint8_t *buff, int n, char *msg)
      |                                                            ~~~~~~^~~
src/stream.c: In function 'writeudpcli':
src/stream.c:2190:67: warning: unused parameter 'msg' [-Wunused-parameter]
 2190 | static int writeudpcli(udp_t *udpcli, uint8_t *buff, int n, char *msg)
      |                                                             ~~~~~~^~~
src/stream.c: In function 'statexftp':
src/stream.c:2468:40: warning: unused parameter 'msg' [-Wunused-parameter]
 2468 | static int statexftp(ftp_t *ftp, char *msg)
      |                                  ~~~~~~^~~
src/stream.c: In function 'readmembuf':
src/stream.c:2508:69: warning: unused parameter 'msg' [-Wunused-parameter]
 2508 | static int readmembuf(membuf_t *membuf, uint8_t *buff, int n, char *msg)
      |                                                               ~~~~~~^~~
gcc -c -pipe -O2 -flto -fno-fat-lto-objects -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/qt -I/usr/include/qt/QtGui -I/usr/include/qt/QtCore -I. -I/usr/lib/qt/mkspecs/linux-g++ -o streamsvr.o src/streamsvr.c
src/streamsvr.c: In function 'write_nav':
src/streamsvr.c:309:31: warning: unused parameter 'time' [-Wunused-parameter]
  309 | static void write_nav(gtime_t time, stream_t *str, strconv_t *conv)
      |                       ~~~~~~~~^~~~
src/streamsvr.c: In function 'strsvrthread':
src/streamsvr.c:485:5: warning: missing initializer for field 'rr' of 'sol_t' [-Wmissing-field-initializers]
  485 |     sol_t sol_nmea={{0}};
      |     ^~~~~
In file included from src/streamsvr.c:35:
src/rtklib.h:846:12: note: 'rr' declared here
  846 |     double rr[6];       /* position/velocity (m|m/s) */
      |            ^~
gcc -c -pipe -O2 -flto -fno-fat-lto-objects -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/qt -I/usr/include/qt/QtGui -I/usr/include/qt/QtCore -I. -I/usr/lib/qt/mkspecs/linux-g++ -o tides.o src/tides.c
gcc -c -pipe -O2 -flto -fno-fat-lto-objects -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/qt -I/usr/include/qt/QtGui -I/usr/include/qt/QtCore -I. -I/usr/lib/qt/mkspecs/linux-g++ -o tle.o src/tle.c
src/tle.c: In function 'SGP4_STR3':
src/tle.c:45:50: warning: variable 'xndd6o' set but not used [-Wunused-but-set-variable]
   45 |     double xnodeo,omegao,xmo,eo,xincl,xno,xndt2o,xndd6o,bstar;
      |                                                  ^~~~~~
src/tle.c:45:43: warning: variable 'xndt2o' set but not used [-Wunused-but-set-variable]
   45 |     double xnodeo,omegao,xmo,eo,xincl,xno,xndt2o,xndd6o,bstar;
      |                                           ^~~~~~
src/tle.c: In function 'tle_read':
src/tle.c:391:5: warning: missing initializer for field 'alias' of 'tled_t' [-Wmissing-field-initializers]
  391 |     tled_t data={{0}};
      |     ^~~~~~
In file included from src/tle.c:19:
src/rtklib.h:664:10: note: 'alias' declared here
  664 |     char alias[32];     /* alias name */
      |          ^~~~~
gcc -c -pipe -O2 -flto -fno-fat-lto-objects -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/qt -I/usr/include/qt/QtGui -I/usr/include/qt/QtCore -I. -I/usr/lib/qt/mkspecs/linux-g++ -o binex.o src/rcv/binex.c
src/rcv/binex.c:34:10: fatal error: rtklib.h: No such file or directory
   34 | #include "rtklib.h"
      |          ^~~~~~~~~~
compilation terminated.
make: *** [Makefile:3000: binex.o] Error 1

Here's my qmake information:

QMake version 3.1
Using Qt version 5.15.2 in /usr/lib

Let me know if you need further information.

Debian package created

Hi -- I managed to create a set of Debian packages for rtklib by starting with the distro version (2.4.3b8) and laying your port on top. With a few edits to the Debian control files, it builds and runs OK, though I am sure that the dependencies list is not correct.

I've built on amd64 and plan to create a set for Raspberry Pi as well. I'll gladly share these once the but I'm reporting next has been resolved.

NTRIP caster User-ID can't contain @

rtknavi_qt
I am trying to set the NTRIP Caster Host User-ID. My user id for this caster is my e-mail address and when I enter it into the field, it doesn't save to the rtknavi_qt.ini file. The User-ID is truncated at the @ and the password I entered in the field disappears.
The Windows version of rtknavi behaves properly.
The Qt version using a different caster with a different User-ID not containing @ also behaves properly.
I tried entering the proper UserID:password@host:port/mountpoint in the rtknavi.ini file, but the User-ID comes into the NTRIP Caster dialog truncated at the @.

rtkplot_qt and Google Maps?

I see that the Google Earth support files (geview.cpp etc.) are in the rtkplot_qt directory, but the ones for Google Maps don't appear to have been ported. I'm willing to dig into that but first wanted to make sure there wasn't some underlying reason why it wasn't ported, or some incompatibility that makes it difficult to do.

Would it be feasible to use the geview files as a template for the maps interface?

Thanks,
John

Building under OS X

I am trying to build the QT apps on OS X, but having issues.

First a qmake -recursive is giving me the Makefile. It seems fine.
Unfortunately, during linking of libRTKLib there are missing symbols.

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -headerpad_max_install_names -stdlib=libc++ -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -mmacosx-version-min=10.9  -single_module -dynamiclib -compatibility_version	1.0 -current_version	1.0.0 -install_name	libRTKLib.1.dylib -o libRTKLib.1.0.0.dylib rtkcmn.o convkml.o convrnx.o convgpx.o datum.o download.o ephemeris.o geoid.o gis.o ionex.o lambda.o options.o pntpos.o postpos.o ppp.o ppp_ar.o ppp_corr.o preceph.o qzslex.o rcvraw.o rinex.o rtcm.o rtcm2.o rtcm3.o rtcm3e.o rtkpos.o rtksvr.o sbas.o solution.o stream.o streamsvr.o tides.o tle.o binex.o crescent.o gw10.o javad.o novatel.o nvs.o rcvlex.o rt17.o septentrio.o skytraq.o ss2.o ublox.o cmr.o    
Undefined symbols for architecture x86_64:
  "_settime", referenced from:
      _procpos in postpos.o
  "_settspan", referenced from:
      _postpos in postpos.o
      _execses in postpos.o
  "_showmsg", referenced from:
      _convrnx in convrnx.o
      _convrnx_s in convrnx.o
      _gen_strfile in convrnx.o
      _open_strfile in convrnx.o
      _showstat in convrnx.o
      _dl_exec in download.o
      _test_local in download.o
      ...
ld: symbol(s) not found for architecture x86_64

Any ideas?

Edit: problem is there on both 2.4.3 branches.

OSX with Homebrew qt error on navimain.cpp:2662:37 ... settings.setValue("solopt/sep", SolOpt.sep);

Using Homebrew's Qt version 6.4.2 on a Mac:

qmake --version              
QMake version 3.1
Using Qt version 6.4.2 in /usr/local/lib

...and following this guidance from https://github.com/rinex20/RTKLIB-demo5

GUIs (Qt based):

  1. cd app/qtapp
  2. qmake
  3. make
  4. ./install_qtapp

I get this error:

navimain.cpp:2662:37: error: attempt to use a deleted function
    settings.setValue("solopt/sep", SolOpt.sep);
                                    ^
/usr/local/lib/QtCore.framework/Headers/qvariant.h:199:5: note: 'QVariant<char *, false>' has been explicitly marked deleted here
    QVariant(T) = delete;
    ^
2 warnings and 1 error generated.
make: *** [navimain.o] Error 1

I think it happens because strings have to be handled differently than other values, and it doesn't quite copy the string into the structure. Other strings seem to have top-level static variables in src/options.c.

Base Station Monitor does not display RTCM3 decoded packets

rthnavi_qt
When receiving NTRIP RTCM3 data from an NTRIP caster, the monitor display does not decode the RTCM3 packets as does the windows version.
If I switch to HEX or ASCII, I get data displayed in the monitor window.
In the windows version I get:
RTCM 1004 ( 183) xxxxxxxx
RTCM 1012 ( 109) yyyyyyyyyyyyy
RTCM 1032 ( 23) zzz
etc.
If I use a serial interface and get data from a u-blox receiver (for rover or base) , and choose ublox format, the monitor displays ublox packets as does the windows version.

My fear is that the RTCM3 decoding is not happening in other places as well.
This using the latest 2.4.3 update that does fix my earlier issue.

minor bugs in rtkpost

I notice 2 bugs in rtkpost :

  • in "Options" > "Positions" tab, station position file is filtered with wrong extension (atx instead pos). Moreover, the interactive choice does not work on my system, I have to enter manually the file path.
  • Still in position tab, when I choose to get Position from file with antenna type and delta-E/N/U read automatically from rinex file, delta-E/N/U is used twice during the processing and one have to correct it.
    thanks for your work

How to build under Linux

Hi nice idea to port to QT,

I want to try Qt port on Rtklib under Linux.
How can I simply build it.

What I do :

  • In app folder just running make
  • openning RTKlib.pro with qtcreator and tried to compile it but without success
  • resulting usage of qtcreator, it generate for example a Makefile in rtkplot_qt. I run make in this folder with no success

Could you tell how to compile it please,

Sincerely,

Sylvain

Draging plots in rtkplot_qt and rtknavi_qt

When I have a data set plotted in rtkplot_qt or a ground track in rtknavi_qt clicking on the graph and trying to drag it often results in the graph moving out of the window. It is as if the mouse were being moved excessively. Just clicking and not moving the mouse causes the data to be replotted in the same spot, but moving the mouse even just a few pixels results in the plot moving excessively.
Using the scroll wheel to zoom in and out works as expected in rtkplot_qt, but does not in rtknavi_qt and clicking on the + or - icons does not work either. Dragging and zooming works as expected in the Windows version.

Qt pro files

Jens, perhaps a dumb question but here goes... I thought I would find a download with a Qt *.pro files from your work I could feed to my Qt 5.9 environment and quick jump into this. But not such luck, do not seem to find any make files, I think I am missing something simple, help.

Trivial bug in rtknavi_qt/navimain.cpp

Hi Jens --

The changes to navimain.cpp around the call to rtkplot had a 1 character bug that prevented the call from working.

In this line:
if (!ExecCmd(cmd + opts, 1) && !ExecCmd(cmd2 + opts, 1) && !ExecCmd(cmd3 + opts, 1))

the first cmd needs to be changed to cmd1 or else the call relying on the user's path will fail.
Fixed with:

if (!ExecCmd(cmd1 + opts, 1) && !ExecCmd(cmd2 + opts, 1) && !ExecCmd(cmd3 + opts, 1))

Sync with official 2.4.3-b34 release?

Hi Jens!

Any chance you could sync your repository with Tomoji's for core code?
I'm officially packaging RTKLIB for Debian to b33 at the moment, but jumping to b34 would be great.

Thanks in advance for your efforts on this issue.

lRTKLib

Hello.. I am very first time using this rtklib
I compiled this program on my Qt 5.9
but it shows some error
cannot find -lRTKLib

Do you know how to remove this error? Thank you

My updates

Hi Jens --
I made a patch of all my changes against your latest commit. In order to keep the size reasonable I diff'd only the app/ and src/ directories; there was lots and lots of stuff in test/ and especially utilities that I suspect came from the original Debian source. I don't think any of my changes touch anything other than app/ and src/. I still don't know why so many files changed even in those directories; I suspect they were changes made in the original Debian packaging. I think the substantive changes I've made are:

  1. Add -DLINUX to all the makefiles.

  2. Change the inifile handling for both the command line and _qt programs based on the #ifdef LINUX directive.

  3. Change the rtklib_gm.htm file into app/appcmn_qt/gm_template.h and modify gmview.cpp to use that. This involved a change to rtkplot_qt.pro to add gm_template.h to the build. (I'd really like to remove all the .htm files from the tree now that they aren't be used, but I'm not sure if that complicates things upstream.)

John

n8ur-6May2019.patch.zip

Build in windows

I deeply apologize for the stupid question. is there a step by step guide as to how to build this in windows? namely:

  1. How do I build the source libraries so I don't get the "cant read rtklib.lib file"?
  2. After than can I just go to the application I want and run qmake then build?

interfering symbols

rtklib functions uncompress, crc32 interfere with symbols from other libraries.

  • crc32 is only used in novatel.c

currently fixed adding a rtklib_ prefix

strsvr_qt producing corrupt files

While doing some tests with a 3DR telemetry radio I found that the resulting file had what appeared to be large gaps in the data. On further investigation I found that the data was being corrupted.
The Windows version produces a non corrupted file using the same radios and setup.
I found that having the input stream connected to a serial port with no data coming in, that the output file started at zero bytes and grew by about 22 bytes per second.
Looking further, I found that if you used strsvr_qt to copy ( no conversion) a file, the resulting file did not match the original. The amount varied maybe related to how large the input file was.
While I was doing the telemetry tests I noticed that the bytes stored counter started the same as the bytes received counter but diverged as time went by. The data was arriving at 1 sec intervals and I could see the stored counter climb after each burst of data was received.
Data rate was 57600 8 bits no parity.
If the output file is null you can see the results on stdout.

QT port for rtkexplorer

Any chance of a new branch to address the improvements that Tim has made in his fork:
https://github.com/rtklibexplorer/RTKLIB
He is changing the windoze code and the /src of RTKLIB to reflect his new api changes, but not the _qt code. I have built your _qt code for several ARM SBC's and it works quite well. I'd love to see the cross platform QT replace the windoze only code.

issue with ToPoint method in graph.cpp

There seems to be an issue with the translation to qt:
In the Tomoji implementation, it was:
int TGraph::ToPoint(double x, double y, TPoint &p)
{
const double xt=0.1;
x=X+(Width-1)/2.0+(x-XCent)/XScale;
y=Y+(Height-1)/2.0-(y-YCent)/YScale;

p.x=(int)floor(x+0.5); p.y=(int)floor(y+0.5);
return X-xt<x&&x<X+Width-1+xt&&Y-xt<y&&y<Y+Height-1+xt;
}

Note that there is a x on the right side of the assignment and this is causing some plotting issues.

the x and y values need to be returned to work properly instead of being protected by the const in the method declaration.

Thanks for the great work and maintenance that you are doing.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.