Giter Site home page Giter Site logo

Comments (5)

jbeilin avatar jbeilin commented on August 23, 2024

I managed to build the lib and programs after a couple of changes :

1/ I had to add theses lines in rtklib.h at line 278
#define FREQTYPE_L6 0x08 /* frequency type: E6/LEX/B3 /
#define FREQTYPE_L7 0x10 /
frequency type: E5b/B2 /
#define FREQTYPE_L8 0x20 /
frequency type: E5(a+b) /
#define FREQTYPE_L9 0x40 /
frequency type: S */

2/ plotdata.cpp
line 264 uniqnav(nav); -> uniqnav(nav, 2);
line 297 uniqnav(&Nav); -> uniqnav(&Nav, 2);
Not sure for the value "2"...

It seems that there is a version mismatch between the lib and the applications.

Did I made something wrong ?

from rtklib.

rtklibexplorer avatar rtklibexplorer commented on August 23, 2024

Sorry, it was my mistake in the previous commit. It should be OK now with yesterday's commit.

from rtklib.

jbeilin avatar jbeilin commented on August 23, 2024

I still get theses errors :
codeopt.cpp:333:49: error: ‘FREQTYPE_L7’ was not declared in this scope; did you mean ‘FREQTYPE_L1’?
333 | E27->setEnabled((NavSys&SYS_GAL)&&(FreqType&FREQTYPE_L7));
| ^~~~~~~~~~~
| FREQTYPE_L1
codeopt.cpp:336:49: error: ‘FREQTYPE_L6’ was not declared in this scope; did you mean ‘FREQTYPE_L1’?
336 | E30->setEnabled((NavSys&SYS_GAL)&&(FreqType&FREQTYPE_L6));
| ^~~~~~~~~~~
| FREQTYPE_L1
codeopt.cpp:341:49: error: ‘FREQTYPE_L8’ was not declared in this scope; did you mean ‘FREQTYPE_L1’?
341 | E37->setEnabled((NavSys&SYS_GAL)&&(FreqType&FREQTYPE_L8));
| ^~~~~~~~~~~
| FREQTYPE_L1
codeopt.cpp:371:49: error: ‘FREQTYPE_L9’ was not declared in this scope; did you mean ‘FREQTYPE_L1’?
371 | I52->setEnabled((NavSys&SYS_CMP)&&(FreqType&FREQTYPE_L9));
| ^~~~~~~~~~~
| FREQTYPE_L1

Adding theses lines in rtklib.h at line 278 corrects this issue
#define FREQTYPE_L6 0x08 /* frequency type: E6/LEX/B3 /
#define FREQTYPE_L7 0x10 / frequency type: E5b/B2 /
#define FREQTYPE_L8 0x20 / frequency type: E5(a+b) /
#define FREQTYPE_L9 0x40 / frequency type: S */

from rtklib.

rtklibexplorer avatar rtklibexplorer commented on August 23, 2024

I pulled the linux QT GUI code into the demo5 RTKLIB code from the QT branch of RTKLIB at one point a few years ago but have not been supporting this variant on a regular basis. If anybody can provide pull requests to keep these builds current I would be happy to pull them in as long as they are benign to the other builds. The errors you list can be addressed by porting changes from rtkconv/codeopt.cpp into rtkconv_qt/codeopt.cpp.

The demo5 code does support all of the command line versions of the linux apps, so your other option is to build and run CONVBIN.

from rtklib.

rtklibexplorer avatar rtklibexplorer commented on August 23, 2024

The errors in the linux Qt builds are fixed in the most recent code.

from rtklib.

Related Issues (20)

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.