Open lights0123 opened 6 years ago
Have you been able to resolve this issue? I'm having problems building ublxRate.ino, I did change ubxmsg.h line 180 from:
enum time_ref_t time_ref:16;
to:
enum time_ref_t time_ref;
And this gets me to:
/tmp/cc8lyy9N.ltrans0.ltrans.o: In function
main':
Nope, I haven't gotten anywhere with it - I've just been using standard NMEA messages.
Hi all!
I also have the same problem, I can't even get PUBX.ino compiled, because I get this error message:
In function `global constructors keyed to 65535_0_PUBX.ino.cpp.o.2775':
<artificial>:(.text.startup+0xe2): undefined reference to `vtable for ubloxNMEA'
<artificial>:(.text.startup+0xe4): undefined reference to `vtable for ubloxNMEA'
collect2.exe: error: ld returned 1 exit status
I'm using an Arduino Mega with an ublox M8N module. I did not spend time on investigating the problem, I just hope that the developers may see that many of us are interested in it :)
Another strange thing, that I've experienced with PUBX.ino: when I try to upload the example sketch I get this error:
PUBX:66:4: error: #error You must define NMEAGPS_EXPLICIT_MERGING in NMEAGPS_cfg.h
#error You must define NMEAGPS_EXPLICIT_MERGING in NMEAGPS_cfg.h
Despite I have defined it before... But I can simply resolve this with commenting out the error message lines in PUBX.ino :)
Any help would be appreciated!
OK, for me PUBX.ino and ublox.ino are working now!
I deleted the whole NeoGPS library and downloaded it again, started everything from the begining.
I work with VScode + Arduino extension. Here is what I did:
LAST_SENTENCE_IN_INTERVAL should be PUBX_00
`
I intentionally didn't use the NeoGPS/extras/configs/PUBX configuration, because the code didn't compiled with that, there were several errors.
Beginning a new project with this library and I want to know if this issue has been closed Thanks
The examples ublox.ino and PUBX.ino both fail to compile. Specifically, in ublox.ino, lines 322 to 324 fail to compile on platforms that aren't 8-bit (I'm using an Arduino Zero, but these errors still appear when compiling for other boards).
This is because
sizeof()
returns a type that isn't compatible with Streamers.h. They should be casted touint32_t
s, or a newoperator
should be added to Streamers.h that acceptssize_t
.However, after that issue is fixed, it fails with the error
This is because the send() function hasn't been implemented. Maybe you're missing a
using NMEAGPS::send;
? I don't understand the second error, because it seems as if that function is implemented properly.The other problem is with PUBX.ino. After everything is compiled, during the linking stage, I get this error:
Also, these errors occur both when using the Arduino IDE and PlatformIO.