[PD] external libraries for Raspberry Pi - how to compile?

Christof Ressi info at christofressi.com
Sun Sep 12 11:11:33 CEST 2021


On 12.09.2021 11:03, Ingo wrote:
> OK,
>
> I have downloaded the iemlib from Deken.
>
> The iemlib from Deken (iemlib[v1.22] (Linux-armv7-32).dek is in one single
> folder called "iemlib".
> The file "iemlib.pd_linux" is inside of the folder.
>
> I have tried these options:
>
> [declare -lib iemlib]
> [declare -lib iemlib -path iemlib]
> [declare -lib iemlib -path /usr/lib/puredata/extra/iemlib]
>
> [declare -path iemlib]
> [declare -path /usr/lib/puredata/extra/iemlib]
>
> Still none of the objects create.
> What would be the correct way to declare the library?

Ok, for the third time:

[declare -path iemlib -lib iemlib -lib iemlib1 -lib iemlib2]

Short explanation:

"-path iemlib" makes sure that the loader looks in the "iemlib" folder. 
It's important to put this *before* the "-lib" statements

"-lib iemlib" tries to load "iemlib.pd_linux" (newer iemlib version)

"-lib iemlib1 -lib iemlib2" tries to load "iemlib1.pd_linux" and 
"iemlib2.pd_linux" (old iemlib versions)

> What am I doing wrong?
>
> Thank you!
> Ingo
>
>
>
>> -----Original Message-----
>> From: Ingo [mailto:ingo at miamiwave.com]
>> Sent: Sunday, September 12, 2021 10:20 AM
>> To: 'Christof Ressi'; 'Pd-List'
>> Subject: RE: [PD] external libraries for Raspberry Pi - how to compile?
>>
>> What if all .pd_linux files are missing?
>> Where can I get them if not by downloading?
>>
>> Maybe by downloading and compiling the source - but I don't find
>> instructions for that either . . .   :-(
>>
>>
>>> -----Original Message-----
>>> From: Pd-list [mailto:pd-list-bounces at lists.iem.at] On Behalf Of
>>> Christof Ressi
>>> Sent: Sunday, September 12, 2021 10:15 AM
>>> To: Pd-List
>>> Subject: Re: [PD] external libraries for Raspberry Pi - how to compile?
>>>
>>> I'm 100% sure that this is just a matter of correctly loading iemlib,
>>> see my other post. Other people have been using iemlib on the RPi
>>> without problems.
>>>
>>> Don't worry :-)
>>>
>>> On 12.09.2021 03:36, Ingo wrote:
>>>> I'm aware of the fact that pretty much anything can be replaced.
>>>> For compatibility reasons I have to stick with Pd 0.49, though . . .
>>>>
>>>> My dilemma is that I have written over 13 years on this software. It's
>> huge.
>>>> Finding and replacing all objects that don't work anymore will take
>>>> me at least several months doing nothing else.
>>>> Without iemlib and iemgui working nothing even loads for starting up
>>>> the software.
>>>> This stuff had been written more than 10 years ago and I used
>>>> whatever was working at this time.
>>>>
>>>> The very first errors I get are
>>>>
>>>> iemlib/splitfilename
>>>> couldn't create
>>>>
>>>> mergefilename
>>>> ... couldn't create
>>>>
>>>> Then loading stops already at less than 1% of the software being
> loaded.
>>>> If I don't get any further I'm stuck. iemlib objects are all over
>>>> the software with thousands of abstractions.
>>>>
>>>> When I install iemlib with "apt-get install pd-iemlib" it installs
>>>> that patches and help files but all the .pd_linux files are missing.
>>>> Same thing with Deken. So, none of the objects are created.
>>>>
>>>>
>>>> The only way to get this running is by compiling the last non
>>>> working libraries - mainly iemlib for now to get some loading at all.
>>>> Then I can go ahead and replace or fix things.
>>>>
>>>> However, I have never compiled any libraries before - I don't even
>>>> know whether iemlib can be compiled on the RPi at all.
>>>> Should be possible, though since there is a version on Deken - it
>>>> just doesn't work here.
>>>>
>>>> It's a brand-new operating system and I don't know which softwares
>>>> to install for compiling and there are next to zero instructions on
>>>> the iemlib source code.
>>>>
>>>> I cannot find any detailed and - more important - complete
>>>> instructions for generally compiling libraries.
>>>> All instructions assume that I already know how to compile libraries
>>>> and that I have installed all needed software.
>>>> But it's a brand new system with NOTHING is installed.
>>>> And even worse I have no idea what to do if anything goes wrong or
>>>> if nothing at all happens.
>>>>
>>>> If someone can point me to general instruction or a compiled version
>>>> of iemlib for the RPi I'd be extremely grateful !
>>>>
>>>> Thanks
>>>> Ingo
>>>>
>>>>
>>>>
>>>>
>>>>> -----Original Message-----
>>>>> From: Pd-list [mailto:pd-list-bounces at lists.iem.at] On Behalf Of
>>>>> oliver at klingt.org
>>>>> Sent: Saturday, September 11, 2021 3:39 PM
>>>>> To: pd-list at lists.iem.at
>>>>> Subject: Re: [PD] external libraries for Raspberry Pi - how to
> compile?
>>>>>
>>>>>
>>>>> Am 11. September 2021 15:12:04 MESZ schrieb Ingo
>>>>> <ingo at miamiwave.com>:
>>>>>> Thanks, IOhannes!
>>>>>>
>>>>>> Using apt-get took care of most except for iemgui, moocow and toxy.
>>>>>>
>>>>> What exact objects do you need from those ?
>>>>>
>>>>>> iemlib is as always incomplete!
>>>>> That's strange. I recall it being complete the last time i used a
> Pi...
>>>>> I. e. some objects don?t create like e.g.
>>>>>> [mergefilename], [stripfilename], [splitfilename], etc.
>>>>>>
>>>>> With recent PD versions you don't need an object like
>>>>> [mergefilename] anymore. You can do basically anything with simple
>>>>> combinations of [symbol] [pack] [list] and messages.
>>>>>
>>>>> Also have a look at the HCS library. That should cover your needs !
>>>>>
>>>>> Best
>>>>>
>>>>> Oliver
>>>>>
>>>>> --
>>>>>
>>>>> Gesendet von meiner Gurkn
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Pd-list at lists.iem.at mailing list
>>>>> UNSUBSCRIBE and account-management ->
>>>>> https://lists.puredata.info/listinfo/pd-list
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Pd-list at lists.iem.at mailing list
>>>> UNSUBSCRIBE and account-management ->
>>>> https://lists.puredata.info/listinfo/pd-list
>>>
>>>
>>> _______________________________________________
>>> Pd-list at lists.iem.at mailing list
>>> UNSUBSCRIBE and account-management ->
>>> https://lists.puredata.info/listinfo/pd-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20210912/218d9f48/attachment-0001.htm>


More information about the Pd-list mailing list