Hi,<div><br></div><div>I am trying to build a C++ application that will pull some information from the GPS.</div><div><br></div><div>However, I have an issue that (as I have seen noted before) requires me to do the following to include the location headers</div>
<div><br></div><div><div>extern "C" {</div><div> #include <location/location-gps-device.h></div><div> #include <location/location-gpsd-control.h></div><div>}</div><div><br></div><div>When I try to compile within ESbox, I get an undefined reference error to functions in the location files I have included above. If I compile from the command line using the following, it will compile and run properly on the device.</div>
<div><br></div><div>gcc -o main main.cpp `pkg-config --libs dbus-1 --cflags gtk+-2.0` -llocation</div><div><br></div><div>How do I add these arguments when compiling within ESbox?</div>-- <br>Robert Mills<br>
</div>