Closed dobedobedo closed 1 year ago
Hi, May I ask that what is the right way to build the application? I tried to use
qmake -recursive
make
directly, but it always just show me the help message
qmake -recursive ✔
Usage: qmake [mode] [options] [files]
QMake has two modes, one mode for generating project files based on
some heuristics, and the other for generating makefiles. Normally you
shouldn't need to specify a mode, as makefile generation is the default
mode for qmake, but you may use this to test qmake on an existing project
Mode:
-project Put qmake into project file generation mode
In this mode qmake interprets [files] as files to
be added to the .pro file. By default, all files with
known source extensions are added.
Note: The created .pro file probably will
need to be edited. For example add the QT variable to
specify what modules are required.
-makefile Put qmake into makefile generation mode (default)
In this mode qmake interprets files as project files to
be processed, if skipped qmake will try to find a project
file in your current working directory
Warnings Options:
-Wnone Turn off all warnings; specific ones may be re-enabled by
later -W options
-Wall Turn on all warnings
-Wparser Turn on parser warnings
-Wlogic Turn on logic warnings (on by default)
-Wdeprecated Turn on deprecation warnings (on by default)
Options:
* You can place any variable assignment in options and it will be *
* processed as if it was in [files]. These assignments will be *
* processed before [files] by default. *
-o file Write output to file
-d Increase debug level
-t templ Overrides TEMPLATE as templ
-tp prefix Overrides TEMPLATE so that prefix is prefixed into the value
-help This help
-v Version information
-early All subsequent variable assignments will be
parsed right before default_pre.prf
-before All subsequent variable assignments will be
parsed right before [files] (the default)
-after All subsequent variable assignments will be
parsed after [files]
-late All subsequent variable assignments will be
parsed right after default_post.prf
-norecursive Don't do a recursive search
-recursive Do a recursive search
-set <prop> <value> Set persistent property
-unset <prop> Unset persistent property
-query <prop> Query persistent property. Show all if <prop> is empty.
-qtconf file Use file instead of looking for qt.conf
-cache file Use file as cache [makefile mode only]
-spec spec Use spec as QMAKESPEC [makefile mode only]
-nocache Don't use a cache file [makefile mode only]
-nodepend Don't generate dependencies [makefile mode only]
-nomoc Don't generate moc targets [makefile mode only]
-nopwd Don't look for files in pwd [project mode only]
It may sounds stupid but I think the solution is to add RTKLib.pro
manually on the top directory with the following content:
TEMPLATE = subdirs
SUBDIRS= src \
app/qtapp \
lib
app.depends = src
After that, the application can be built with
qmake -recursive
make
Hi, I try to build this application but encountered some errors.
What I did was:
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:
Let me know if you need further information.