Pages: [1]   Go Down
Author Topic: NMEA library  (Read 395 times)
0 Members and 1 Guest are viewing this topic.
Herning, Denmark
Offline Offline
Newbie
*
Karma: 0
Posts: 13
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi
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?

Simon
Logged

Kind regards
Simon Madsen

Miramar Beach, Florida
Offline Offline
Faraday Member
**
Karma: 115
Posts: 5360
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I think that file has been renamed in IDE v1.0 and later. You might try replacing that with Arduino.h.
Logged

NE PA
Offline Offline
Full Member
***
Karma: 5
Posts: 156
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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


Pages: [1]   Go Up
Jump to: