[PD-dev] Compile PD external for Mac Os
Christof Ressi
info at christofressi.com
Fri May 1 21:01:49 CEST 2020
Ok, looks like the .d_fat files doesn't contain your architecture (which
is probably 64-bit).
In theory, you only have to open a terminal, cd into the lib/ directory
and then run "make". In practice, you have to make sure that it can find
the Pd header files (usually only "m_pd.h"). If you don't have the Pd
source code, you need to download it first. In the makefile you can then
add your Pd path to DARWININCLUDE as "-I/you/path/to/pd". Of course,
this is just a quick hack. A cleaner solution would be to write a new
makefile with pd-lib-builder, which should only take a few lines:
https://github.com/pure-data/pd-lib-builder
Of course you need to have a compiler installed on your system (on macOS
you would usually use clang).
Just give it a try and see how far you get.
Christof
On 01.05.2020 20:22, Vinicius Cesar wrote:
> PD doesn't recognize the snarkov object when I open the patch.
> I'm not familiar with this, but I assumed I should compile when I
> found the source code.
> I sent a print of the error message.
>
> On Fri, May 1, 2020 at 2:42 PM Christof Ressi <info at christofressi.com
> <mailto:info at christofressi.com>> wrote:
>
> Ok, but the folder already contains binaries. What do you mean
> exactly with "PD can't load this object", which error message do
> you get?
>
> Christof
>
> On 01.05.2020 18:23, Vinicius Cesar wrote:
>>
>> I did get the Pluton's patch at Miller Puckette's web site in the
>> Pure Data Repertory Project section. http://msp.ucsd.edu/pdrp/latest/
>> I found the source code in the folder called lib, inside
>> Plutons's folder.
>>
>>
>>
>>
>> On Fri, May 1, 2020 at 12:38 PM Christof Ressi
>> <info at christofressi.com <mailto:info at christofressi.com>> wrote:
>>
>> please show the repository where you found the source code.
>>
>> Christof
>>
>> On 01.05.2020 16:29, Vinicius Cesar wrote:
>>> Hello,
>>> I was studying the use of Markov Chain in Philippe Manoury's
>>> Pluton, and I came across an object call snarkov, PD can't
>>> load this object. Searching for this external in the Pluton
>>> folder I found just a C code for this object. I would like
>>> to know if is possible to compile this object for Mac Os and
>>> how can I do that.
>>> Thanks for any advice
>>>
>>> Vinicius
>>>
>>> _______________________________________________
>>> Pd-dev mailing list
>>> Pd-dev at lists.iem.at <mailto:Pd-dev at lists.iem.at>
>>> https://lists.puredata.info/listinfo/pd-dev
>> _______________________________________________
>> Pd-dev mailing list
>> Pd-dev at lists.iem.at <mailto:Pd-dev at lists.iem.at>
>> https://lists.puredata.info/listinfo/pd-dev
>>
> _______________________________________________
> Pd-dev mailing list
> Pd-dev at lists.iem.at <mailto:Pd-dev at lists.iem.at>
> https://lists.puredata.info/listinfo/pd-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20200501/47005b6b/attachment-0001.html>
More information about the Pd-dev
mailing list