Re: [ gpsdrive ] gpsdrive build fails with gpsd 2.96

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: [ gpsdrive ] gpsdrive build fails with gpsd 2.96

hamish-2
> > > 4x4falcon wrote:
> > >> cmake -DLIBGPS_OLD=OFF
> > >> make
> > >>
> > >> Should do the job or edit the DefineOptions.cmake file to
> > >> option(LIBGPS_OLD "Build with old libgps version (<2.90)" OFF)
>
> Sergej wrote:
> > I already use it and it builds with gpsd 2.95 successfully , but
> > 2.96 has some changes...
> > gpsd 2.96 bumps libgps from libgps.so.19 to libgps.so.20

Hamish wrote:

> Hi,
>
> So now there will be 3 API versions to choose from.
> I think what we're going to have to do is remove that
> ON/OFF
> option and use #ifdef tests in the C code to test the
> major/
> minor versions of gps.h at compile time. That can happen
> automatically, so there's no reason that it shouldn't.
>
> http://gpsd.berlios.de/protocol-transition.html
>
> tests for:
> #define GPSD_API_MAJOR_VERSION
> #define GPSD_API_MINOR_VERSION
> ...
> #define GPSD_PROTO_MAJOR_VERSION
> #define GPSD_PROTO_MINOR_VERSION


Hi,

I have built some packages for Ubuntu 11.04 (Natty), they are
here:   http://download.osgeo.org/livedvd/data/gpsdrive/

build rules (changes) I used are here:
 https://trac.osgeo.org/osgeo/browser/livedvd/gisvm/trunk/bin/install_opencpn.sh

I hope to merge these into svn soon and so onto the build cluster.
I hope to revive the official debian package soon too, I am trying
to finish off OpenCPN first (opencpn.org).


It runs, but I still have not done anything to test or update
the gpsd API. so not sure if the gps part of it is still
functional.

note I had to change the default PostGIS db name there, in svn
HEAD I think I've changed that to be run-time setable in the
configuration file instead of having it hardcoded.



also, for calculating your local PIXELFACT (pixels/meters) for
scale I've had this site suggested to me:
https://trac.osgeo.org/osgeo/browser/livedvd/gisvm/trunk/bin/install_opencpn.sh

Although I still like Inkscape's calibration tool the best, so
that "scale" is correct, not just within a factor of 2 or 5.


Hamish
_______________________________________________
GPSdrive mailing list
[hidden email]
http://lists.gpsdrivers.org/mailman/listinfo/gpsdrive
Reply | Threaded
Open this post in threaded view
|

Re: [ gpsdrive ] gpsdrive build fails with gpsd 2.96

hamish-2
ahem,

> also, for calculating your local PIXELFACT (pixels/meters)
> for scale I've had this site suggested to me:

http://members.ping.de/~sven/dpi.html


Hamish

_______________________________________________
GPSdrive mailing list
[hidden email]
http://lists.gpsdrivers.org/mailman/listinfo/gpsdrive