Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 352E2C4332F for ; Sat, 4 Nov 2023 13:49:55 +0000 (UTC) Subject: Re: Missing -lgpiod during linking an application that uses libgpiod To: yocto@lists.yoctoproject.org From: =?UTF-8?B?SmF2aWVyIENhc2FzIE1hcsOtbg==?= X-Originating-Location: Barcelona, Catalonia, ES (139.47.38.236) X-Originating-Platform: Windows Chrome 119 User-Agent: GROUPS.IO Web Poster MIME-Version: 1.0 Date: Sat, 04 Nov 2023 06:49:46 -0700 References: In-Reply-To: Message-ID: <32340.1699105786904852558@lists.yoctoproject.org> Content-Type: multipart/alternative; boundary="jf9XpIu2AP2EItMDuIVy" List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sat, 04 Nov 2023 13:49:55 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto/message/61613 --jf9XpIu2AP2EItMDuIVy Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable I solved the issue. It turned out to be not a yocto but a Qt problem. The M= akefile used to build the application is autogenerated by qmake so you have= to include LIBS +=3D -lgpiod in order to add the library in the linking st= age. I was looking in the wrong place! Sorry for the noise javi --jf9XpIu2AP2EItMDuIVy Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable I solv= ed the issue. It turned out to be not a yocto but a Qt problem. The Makefil= e used to build the application is autogenerated by qmake so you have to in= clude LIBS +=3D -lgpiod in order to add the library in the linking stage.
I was looking in the wrong place!

Sorry for the noise<= br />
javi 
--jf9XpIu2AP2EItMDuIVy--