<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Qt Creator building for Raspberry Pi 4 skipping pigpio libraries]]></title><description><![CDATA[<p dir="auto">Hi everyone!</p>
<p dir="auto">Some context since I am a newbie here:</p>
<p dir="auto">I've followed the official guide to build a boot2qt image for raspberry pi 4, build the SDK to it and include it in QT Creator.<br />
The chosen machine value was "raspberrypi4-64".<br />
I am using as a development host (machine running QT Creator) a Macbook Pro with Ubuntu 20.04.</p>
<p dir="auto">Now, I am trying to use pigpio library to handle gpios.</p>
<p dir="auto">I've followed this steps:</p>
<pre><code>wget https://github.com/joan2937/pigpio/archive/master.zip
unzip master.zip
cd pigpio-master
make
</code></pre>
<p dir="auto">Then I moved the compiled folder to the root of my app, and imported the library using the UI.<br />
This was added to my .pro:</p>
<pre><code>win32:CONFIG(release, debug|release): LIBS += -L$$PWD/Libraries/pigpio/release/ -lpigpio
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/Libraries/pigpio/debug/ -lpigpio
else:unix: LIBS += -L$$PWD/Libraries/pigpio/ -lpigpio

INCLUDEPATH += $$PWD/Libraries/pigpio
DEPENDPATH += $$PWD/Libraries/pigpio

win32:CONFIG(release, debug|release): LIBS += -L$$PWD/Libraries/pigpio/release/ -lpigpiod_if
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/Libraries/pigpio/debug/ -lpigpiod_if
else:unix: LIBS += -L$$PWD/Libraries/pigpio/ -lpigpiod_if

INCLUDEPATH += $$PWD/Libraries/pigpio
DEPENDPATH += $$PWD/Libraries/pigpio

win32:CONFIG(release, debug|release): LIBS += -L$$PWD/Libraries/pigpio/release/ -lpigpiod_if2
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/Libraries/pigpio/debug/ -lpigpiod_if2
else:unix: LIBS += -L$$PWD/Libraries/pigpio/ -lpigpiod_if2

INCLUDEPATH += $$PWD/Libraries/pigpio
DEPENDPATH += $$PWD/Libraries/pigpio
</code></pre>
<p dir="auto">When i try to build the project those errors are not allowing me to proceed:</p>
<p dir="auto"><img src="https://ddgobkiprc33d.cloudfront.net/69b8e674-cde0-47fd-bd0b-4cd9054995d3.png" alt="e40afff0-a0b1-4d06-8d9e-e15baa015bb1-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Can anyone help me to figure this out?<br />
I've never worked with boot2qt, so it has been a painful first experience.<br />
:D</p>
]]></description><link>https://forum.qt.io/topic/139629/qt-creator-building-for-raspberry-pi-4-skipping-pigpio-libraries</link><generator>RSS for Node</generator><lastBuildDate>Thu, 05 Nov 2026 07:45:24 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/139629.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 27 Sep 2022 21:52:07 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Qt Creator building for Raspberry Pi 4 skipping pigpio libraries on Wed, 28 Sep 2022 10:01:47 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/caoc10">@<bdi>caoc10</bdi></a> said in <a href="/post/730504">Qt Creator building for Raspberry Pi 4 skipping pigpio libraries</a>:</p>
<blockquote>
<p dir="auto">Any hint on how should I build pigpio for ARM on my x86_64 machine?</p>
</blockquote>
<p dir="auto">In the same way you build your application for RaspberryPi (using your cross compilation setup).</p>
]]></description><link>https://forum.qt.io/post/730511</link><guid isPermaLink="true">https://forum.qt.io/post/730511</guid><dc:creator><![CDATA[jsulm]]></dc:creator><pubDate>Wed, 28 Sep 2022 10:01:47 GMT</pubDate></item><item><title><![CDATA[Reply to Qt Creator building for Raspberry Pi 4 skipping pigpio libraries on Wed, 28 Sep 2022 09:13:27 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/user/jsulm">@<bdi>jsulm</bdi></a></p>
<p dir="auto">You are right. When I run:</p>
<pre><code>file PATH_TO_LIB
</code></pre>
<p dir="auto">It returns x86_64.</p>
<p dir="auto">Any hint on how should I build pigpio for ARM on my x86_64 machine?</p>
<p dir="auto">Thank you.</p>
]]></description><link>https://forum.qt.io/post/730504</link><guid isPermaLink="true">https://forum.qt.io/post/730504</guid><dc:creator><![CDATA[caoc10]]></dc:creator><pubDate>Wed, 28 Sep 2022 09:13:27 GMT</pubDate></item><item><title><![CDATA[Reply to Qt Creator building for Raspberry Pi 4 skipping pigpio libraries on Wed, 28 Sep 2022 05:30:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/caoc10">@<bdi>caoc10</bdi></a> The error message says that this library is not compatible - did you build gpios for RaspberryPi (ARM) or your host machine (x86_64). You can easily check that using following command:</p>
<pre><code>file PATH_TO_LIB_FILE
</code></pre>
]]></description><link>https://forum.qt.io/post/730445</link><guid isPermaLink="true">https://forum.qt.io/post/730445</guid><dc:creator><![CDATA[jsulm]]></dc:creator><pubDate>Wed, 28 Sep 2022 05:30:30 GMT</pubDate></item></channel></rss>