Filtering data from the GPS shield (Latitude, Longitude)

I have a GPS receiver and I've tried several ways to just get latitude and longitude, as uzei libraries as tinygps and get the error ('tinyGPS' does not name a type) and the same thing with the NMEA library, someone has some simple code?
(I use google tradutor, i'm brasilian)

Tenho um receptor gps e já tentei de várias formas obter apenas latitude e longitude , já uzei bibliotecas como tinygps e recebo o erro ('tinyGPS' does not name a type) e a mesma coisa com a biblioteca NMEA, alguém tem algum código simples?

If you get that error, you haven't installed the library correctly. http://arduino.cc/en/Guide/Libraries