This shows you the differences between the selected revision and the current version of the page.
| mobilemesh:boxuse 2009/11/03 11:58 | mobilemesh:boxuse 2009/11/04 10:19 current | ||
|---|---|---|---|
| Line 126: | Line 126: | ||
| This ensures it comes last. | This ensures it comes last. | ||
| + | === Accessing GPSD Through C++ === | ||
| + | Download the latest distribution of ''gpsd'' (i.e., instead of doing ''apt-get''.) In this distribution is a file called ''libgpsmm.cpp'' that describes the c++ object for accessing ''gpsd'', and a simple application ''test_gpsmm.cpp'' that instantiates the object and gets information from it. To make the app do | ||
| + | make test_gpsmm | ||
| + | |||
| + | Notice that the ''libgpsmm'' object is just a c++ wrapper over the ''libgps.c'' object, written in C, so this make links in that library. | ||