Re: [ gpsdrive ] gpsdrive build fails with gpsd 2.96
> > > 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
> So now there will be 3 API versions to choose from.
> I think what we're going to have to do is remove that
> option and use #ifdef tests in the C code to test the
> 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