gpsd-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gpsd-users] External main loop. Was: Correct way to handle 5 Hz on


From: Gary E. Miller
Subject: Re: [gpsd-users] External main loop. Was: Correct way to handle 5 Hz on an application
Date: Wed, 24 Oct 2018 10:50:32 -0700

Yo Lisandro!

On Wed, 24 Oct 2018 14:42:10 -0300
Lisandro Damián Nicanor Pérez Meyer <address@hidden> wrote:

> > Sure.  gpsd has no idea how to build your project.  Nothing to
> > stop you just copying libgps_core.c into your project.  
> 
> Proper dependencies handling, of course.  Embedding external code is
> just plain bad practice.

You got your options.  Pick  one.

> > I'm still unsure what is stopping you.  That code is right there.
> > Just use libgps_sock.c.  You do not need to use the libs from gpsd
> > to use the API from gpsd.  
> 
> Yes, a proper library only provides headers! If I need to recompile 
> libgps_sock then I'm doing it wrong. Embedding is bad, really.

Look at the Chrome or Firefox source code lately?  They feel differently.

> So by using libqgpsmm against Qt5 I get everything I need using just
> a precompiled distro package!

If you have a solution, then what is the problem?

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
        address@hidden  Tel:+1 541 382 8588

            Veritas liberabit vos. -- Quid est veritas?
    "If you can’t measure it, you can’t improve it." - Lord Kelvin

Attachment: pgp0xbO3p67Fa.pgp
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]