NMEA library with arduino 18.

Dose anyone know how to get the NMEA library to work with arduino environment ver. 18. It's giving me trouble.

// This example illustates basic use of the NMEA library.
// It assumes that a GPS receiver is connected to serial
// port 'Serial1' at 4800 bps, and that a LED is connected
// to digital i/o pin 0.
//
// A GPS data connection of type GPRMC is created, and
// used to get speed information. When the GPS speed it
// more than 50 kilometers per hour, the LED lights up,
// otherwise it is off.

#include <nmea.h>

// create a GPS data connection to GPRMC sentence type
NMEA gps(GPRMC);

void setup() {
Serial1.begin(4800);
pinMode(0, OUTPUT);
}

void loop() {
if (Serial1.available() > 0 ) {
// read incoming character from GPS
char c = Serial1.read();

// check if the character completes a valid GPS sentence
if (gps.decode(c)) {
// check if GPS positioning was active
if (gps.gprmc_status() == 'A') {
// read speed in kilometers-per-hour and set led accordingly
if (gps.gprmc_speed(KMPH) > 50.0) {
digitalWrite(0, HIGH);
}
else {
digitalWrite(0, LOW);
}
}
}
}
}

It says;

This library was developed for Wiring boards, the more powerful predecessor of Arduino. I do not have an Arduino board, so I could not test it, but I heard reports that Arduino's do not have enough memory. It runs fine on Wiring boards.
Based on my NMEA library, Mikal Hart created TinyGPS for Arduino. It does not contain the "distance_to" and "course_to" functions, however.

Dose anyone know how to get the NMEA library to work with arduino environment ver. 18. It's giving me trouble.

This might be a dumb question, but... What kind of trouble is it giving you? Is it not doing something you think it should? Is it doing something you don't think it should? Does it not have some capability that you need? Do you simply not know how to use it?