Go Down

Topic: NMEA library (Read 557 times) previous topic - next topic


I'm trying to use http://www.maartenlamers.com/nmea/ to determine location. But every time I compile the 'Location'-example, I get this error:

In file included from gprmc_position.cpp:11:
C:\Users\SwagMaestro\Documents\Arduino\libraries\NMEA/nmea.h:24:24: error: WConstants.h: No such file or directory

Does anyone know what's wrong?

Kind regards
Simon Madsen


I think that file has been renamed in IDE v1.0 and later. You might try replacing that with Arduino.h.
Watch for me on National Geographic Wild "When Sharks Attack: Gulf Coast Killers". Airs on June 22nd.


Yep, open nmea.h and rename WConstants.h to Arduino.h

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131