I'm trying to compile py4pd (https://github.com/charlesneimog/py4pd) from source on Debian 12 (I'll upgrade to 13 in the coming days, I swear :) with Pd-0.56.0 and I get this:
/home/alex/Documents/Pd/externals/py4pd/Sources/py4pd.c: In function
‘pdpy_logpost’:
/home/alex/Documents/Pd/externals/py4pd/Sources/py4pd.c:1761:9: error:
implicit declaration of function ‘pd_queue_mess’
[-Wimplicit-function-declaration]
1761 | pd_queue_mess(&pd_maininstance,
&self->pdobj->obj.te_g.g_pd, data, pdpy_thread_callback);
I know this function in defined in m_pd.h, so I'm guessing that the
compiler looks m_pd.h up from older sources (isn't this function new to
0.56.0?). Can this be? I have installed Pd on my system with make install
and when typing pd
in the terminal 0.56.0 launches.
Hi,
I know this function in defined in m_pd.h, so I'm guessing that the compiler looks m_pd.h up from older sources (isn't this function new to 0.56.0?). Can this be?
That's the likely explanation.
I have installed Pd on my system with
make install
and when typingpd
in the terminal 0.56.0 launches.
Does 'make install' also install the headers?
Anyway, you can add the "-H" option to "gcc" to print the full path of all included header files. This will likely show you where the problem lies.
Cheers,
Christof
pd-list@lists.iem.at - the Pure Data mailinglist https://lists.iem.at/hyperkitty/list/pd-list@lists.iem.at/message/BBW4T26WYF...
To unsubscribe send an email to pd-list-leave@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.iem.at/
Hi Christof,
On 9/30/25 09:31, Christof Ressi wrote:
Hi,
I know this function in defined in m_pd.h, so I'm guessing that the compiler looks m_pd.h up from older sources (isn't this function new to 0.56.0?). Can this be?
That's the likely explanation.
I have installed Pd on my system with
make install
and when typingpd
in the terminal 0.56.0 launches.Does 'make install' also install the headers?
I'm not sure. How can I find out?
Anyway, you can add the "-H" option to "gcc" to print the full path of all included header files. This will likely show you where the problem lies.
Does this work with CMake too? That's how this object builds.
Thanks!
On 30.09.2025 08:33, Alexandros Drymonitis wrote:
Hi Christof,
On 9/30/25 09:31, Christof Ressi wrote:
Hi,
I know this function in defined in m_pd.h, so I'm guessing that the compiler looks m_pd.h up from older sources (isn't this function new to 0.56.0?). Can this be?
That's the likely explanation.
I have installed Pd on my system with
make install
and when typingpd
in the terminal 0.56.0 launches.Does 'make install' also install the headers?
I'm not sure. How can I find out?
You should see in the console which files are being installed. Also, check the installation destination and see if the headers are there.
Anyway, you can add the "-H" option to "gcc" to print the full path of all included header files. This will likely show you where the problem lies.
Does this work with CMake too? That's how this object builds.
Reconfigure with:
cmake -DCMAKE_CXX_FLAGS=" -Wp,-v " ..
Then rebuild.
Thanks!
pd-list@lists.iem.at - the Pure Data mailinglist https://lists.iem.at/hyperkitty/list/pd-list@lists.iem.at/message/7OZQZSO5BT...
To unsubscribe send an email to pd-list-leave@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.iem.at/
On 9/30/25 08:33, Alexandros Drymonitis wrote:
Hi Christof,
On 9/30/25 09:31, Christof Ressi wrote:
Hi,
I know this function in defined in m_pd.h, so I'm guessing that the compiler looks m_pd.h up from older sources (isn't this function new to 0.56.0?). Can this be?
That's the likely explanation.
I have installed Pd on my system with
make install
and when typingpd
in the terminal 0.56.0 launches.
you could also install Pd-0.56.1 from the Debian backports (https://backports.debian.org).
in general, i it is probably not a very good idea to have multiple versions of Pd installed.
Does 'make install' also install the headers?
I'm not sure. How can I find out?
it does. i am sure.
Anyway, you can add the "-H" option to "gcc" to print the full path of all included header files. This will likely show you where the problem lies.
Does this work with CMake too? That's how this object builds.
apart from what christof already said, you could also tell cmake to do a
verbose build (make VERBOSE=1
) so it will print out the actual
compiler invocations. then you could copy-and-paste the invocation for
the actual file you aare interested in, and manually run it (adding the
'-H' flag).
this can be useful, if otherwise the console is flooded with debugging printout.
gfdamr IOhannes