[PD] dryUp~ external not creating

José Rafael Subía Valdez jsubiavaldez at gmail.com
Sat Jul 7 19:59:06 CEST 2018


Thanks william

 OPT_CFLAGS = -O3 -ftree-vectorize
 FAT_FLAGS = -arch i386 -arch x86_64

this worked perfectly/

On Sat, Jul 7, 2018 at 6:22 PM, William Brent <william.brent at gmail.com>
wrote:

> Hi Jose, try adding these flags in the makefile:
>
>   OPT_CFLAGS = -O3 -ftree-vectorize
>   FAT_FLAGS = -arch i386 -arch x86_64
>
>
>
> On Fri, Jul 6, 2018 at 4:58 PM José Rafael Subía Valdez <
> jsubiavaldez at gmail.com> wrote:
>
>> a bit of progress but still have errors
>> after erasing the ftree argument, the terminal spits out this (sorry for
>> the length) but still no luck
>>
>>
>> eca-alsems-m003:dryUp--0.0.5-src s1469080$ make
>> PD_PATH=/Applications/Pd-0.48-0/Contents/Resources
>> PD_INCLUDE=/Applications/Pd-0.48-0.app/Contents/Resources/include
>>
>> cc -DPD -I../..//src -Wall -W -g -fPIC -arch i386 -arch ppc
>> -mmacosx-version-min=10.4  -o "dryUp~.o" -c "dryUp~.c"
>>
>> In file included from dryUp~.c:21:
>>
>> In file included from ./m_pd.h:75:
>>
>> In file included from /Applications/Xcode.app/Conten
>> ts/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../
>> lib/clang/7.0.2/include/stdint.h:63:
>>
>> In file included from /usr/include/stdint.h:52:
>>
>> In file included from /usr/include/sys/_types.h:32:
>>
>> */usr/include/sys/cdefs.h:680:2: **error: **Unsupported architecture*
>>
>> #error Unsupported architecture
>>
>> * ^*
>>
>> In file included from dryUp~.c:21:
>>
>> In file included from ./m_pd.h:75:
>>
>> In file included from /Applications/Xcode.app/Conten
>> ts/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../
>> lib/clang/7.0.2/include/stdint.h:63:
>>
>> In file included from /usr/include/stdint.h:52:
>>
>> In file included from /usr/include/sys/_types.h:33:
>>
>> */usr/include/machine/_types.h:34:2: **error: **architecture not*
>>
>> *      supported*
>>
>> #error architecture not supported
>>
>> * ^*
>>
>> In file included from dryUp~.c:21:
>>
>> In file included from ./m_pd.h:75:
>>
>> In file included from /Applications/Xcode.app/Conten
>> ts/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../
>> lib/clang/7.0.2/include/stdint.h:63:
>>
>> In file included from /usr/include/stdint.h:52:
>>
>> */usr/include/sys/_types.h:55:9: **error: **unknown type name*
>>
>> *      '__int64_t'*
>>
>> typedef __int64_t       __darwin_blkcnt_t;      /* total blocks */
>>
>> *        ^*
>>
>> */usr/include/sys/_types.h:56:9: **error: **unknown type name*
>>
>> *      '__int32_t'*
>>
>> typedef __int32_t       __darwin_blksize_t;     /* preferre...
>>
>> *        ^*
>>
>> */usr/include/sys/_types.h:57:9: **error: **unknown type name*
>>
>> *      '__int32_t'*
>>
>> typedef __int32_t       __darwin_dev_t;         /* dev_t */
>>
>> *        ^*
>>
>> */usr/include/sys/_types.h:60:9: **error: **unknown type name*
>>
>> *      '__uint32_t'; did you mean 'uint32_t'?*
>>
>> typedef __uint32_t      __darwin_gid_t;         /* [???] pr...
>>
>> *        ^*
>>
>> */usr/include/_types/_uint32_t.h:31:22: note: *'uint32_t' declared
>>
>>       here
>>
>> typedef unsigned int uint32_t;
>>
>> *                     ^*
>>
>> In file included from dryUp~.c:21:
>>
>> In file included from ./m_pd.h:75:
>>
>> In file included from /Applications/Xcode.app/Conten
>> ts/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../
>> lib/clang/7.0.2/include/stdint.h:63:
>>
>> In file included from /usr/include/stdint.h:52:
>>
>> */usr/include/sys/_types.h:61:9: **error: **unknown type name*
>>
>> *      '__uint32_t'; did you mean 'uint32_t'?*
>>
>> typedef __uint32_t      __darwin_id_t;          /* [XSI] pi...
>>
>> *        ^*
>>
>> */usr/include/_types/_uint32_t.h:31:22: note: *'uint32_t' declared
>>
>>       here
>>
>> typedef unsigned int uint32_t;
>>
>> *                     ^*
>>
>> In file included from dryUp~.c:21:
>>
>> In file included from ./m_pd.h:75:
>>
>> In file included from /Applications/Xcode.app/Conten
>> ts/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../
>> lib/clang/7.0.2/include/stdint.h:63:
>>
>> In file included from /usr/include/stdint.h:52:
>>
>> */usr/include/sys/_types.h:62:9: **error: **unknown type name*
>>
>> *      '__uint64_t'; did you mean 'uint64_t'?*
>>
>> typedef __uint64_t      __darwin_ino64_t;       /* [???] Us...
>>
>> *        ^*
>>
>> */usr/include/_types/_uint64_t.h:31:28: note: *'uint64_t' declared
>>
>>       here
>>
>> typedef unsigned long long uint64_t;
>>
>> *                           ^*
>>
>> In file included from dryUp~.c:21:
>>
>> In file included from ./m_pd.h:75:
>>
>> In file included from /Applications/Xcode.app/Conten
>> ts/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../
>> lib/clang/7.0.2/include/stdint.h:63:
>>
>> In file included from /usr/include/stdint.h:52:
>>
>> */usr/include/sys/_types.h:66:9: **error: **unknown type name*
>>
>> *      '__uint32_t'; did you mean 'uint32_t'?*
>>
>> typedef __uint32_t      __darwin_ino_t;         /* [???] Us...
>>
>> *        ^*
>>
>> */usr/include/_types/_uint32_t.h:31:22: note: *'uint32_t' declared
>>
>>       here
>>
>> typedef unsigned int uint32_t;
>>
>> *                     ^*
>>
>> In file included from dryUp~.c:21:
>>
>> In file included from ./m_pd.h:75:
>>
>> In file included from /Applications/Xcode.app/Conten
>> ts/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../
>> lib/clang/7.0.2/include/stdint.h:63:
>>
>> In file included from /usr/include/stdint.h:52:
>>
>> */usr/include/sys/_types.h:68:9: **error: **unknown type name*
>>
>> *      '__darwin_natural_t'*
>>
>> typedef __darwin_natural_t __darwin_mach_port_name_t; /* Us...
>>
>> *        ^*
>>
>> */usr/include/sys/_types.h:70:9: **error: **unknown type name*
>>
>> *      '__uint16_t'; did you mean 'uint16_t'?*
>>
>> typedef __uint16_t      __darwin_mode_t;        /* [???] So...
>>
>> *        ^*
>>
>> */usr/include/_types/_uint16_t.h:31:24: note: *'uint16_t' declared
>>
>>       here
>>
>> typedef unsigned short uint16_t;
>>
>> *                       ^*
>>
>> In file included from dryUp~.c:21:
>>
>> In file included from ./m_pd.h:75:
>>
>> In file included from /Applications/Xcode.app/Conten
>> ts/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../
>> lib/clang/7.0.2/include/stdint.h:63:
>>
>> In file included from /usr/include/stdint.h:52:
>>
>> */usr/include/sys/_types.h:71:9: **error: **unknown type name*
>>
>> *      '__int64_t'*
>>
>> typedef __int64_t       __darwin_off_t;         /* [???] Us...
>>
>> *        ^*
>>
>> */usr/include/sys/_types.h:72:9: **error: **unknown type name*
>>
>> *      '__int32_t'*
>>
>> typedef __int32_t       __darwin_pid_t;         /* [???] pr...
>>
>> *        ^*
>>
>> */usr/include/sys/_types.h:73:9: **error: **unknown type name*
>>
>> *      '__uint32_t'; did you mean 'uint32_t'?*
>>
>> typedef __uint32_t      __darwin_sigset_t;      /* [???] si...
>>
>> *        ^*
>>
>> */usr/include/_types/_uint32_t.h:31:22: note: *'uint32_t' declared
>>
>>       here
>>
>> typedef unsigned int uint32_t;
>>
>> *                     ^*
>>
>> In file included from dryUp~.c:21:
>>
>> In file included from ./m_pd.h:75:
>>
>> In file included from /Applications/Xcode.app/Conten
>> ts/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../
>> lib/clang/7.0.2/include/stdint.h:63:
>>
>> In file included from /usr/include/stdint.h:52:
>>
>> */usr/include/sys/_types.h:74:9: **error: **unknown type name*
>>
>> *      '__int32_t'*
>>
>> typedef __int32_t       __darwin_suseconds_t;   /* [???] mi...
>>
>> *        ^*
>>
>> */usr/include/sys/_types.h:75:9: **error: **unknown type name*
>>
>> *      '__uint32_t'; did you mean 'uint32_t'?*
>>
>> typedef __uint32_t      __darwin_uid_t;         /* [???] us...
>>
>> *        ^*
>>
>> */usr/include/_types/_uint32_t.h:31:22: note: *'uint32_t' declared
>>
>>       here
>>
>> typedef unsigned int uint32_t;
>>
>> *                     ^*
>>
>> In file included from dryUp~.c:21:
>>
>> In file included from ./m_pd.h:75:
>>
>> In file included from /Applications/Xcode.app/Conten
>> ts/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../
>> lib/clang/7.0.2/include/stdint.h:63:
>>
>> In file included from /usr/include/stdint.h:52:
>>
>> */usr/include/sys/_types.h:76:9: **error: **unknown type name*
>>
>> *      '__uint32_t'; did you mean 'uint32_t'?*
>>
>> typedef __uint32_t      __darwin_useconds_t;    /* [???] mi...
>>
>> *        ^*
>>
>> */usr/include/_types/_uint32_t.h:31:22: note: *'uint32_t' declared
>>
>>       here
>>
>> typedef unsigned int uint32_t;
>>
>> *                     ^*
>>
>> In file included from dryUp~.c:21:
>>
>> In file included from ./m_pd.h:75:
>>
>> In file included from /Applications/Xcode.app/Conten
>> ts/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../
>> lib/clang/7.0.2/include/stdint.h:63:
>>
>> In file included from /usr/include/stdint.h:53:
>>
>> */usr/include/sys/_types/_intptr_t.h:30:9: **error: **unknown type name*
>>
>> *      '__darwin_intptr_t'*
>>
>> typedef __darwin_intptr_t       intptr_t;
>>
>> *        ^*
>>
>> In file included from dryUp~.c:21:
>>
>> In file included from ./m_pd.h:79:
>>
>> In file included from /usr/include/stdio.h:71:
>>
>> */usr/include/sys/_types/_va_list.h:31:9: **error: **unknown type name*
>>
>> *      '__darwin_va_list'*
>>
>> typedef __darwin_va_list va_list;
>>
>> *        ^*
>>
>> *fatal error: *too many errors emitted, stopping now [-ferror-limit=]
>>
>> 20 errors generated.
>>
>> make: *** [dryUp~.o] Error 1
>>
>> eca-alsems-m003:dryUp--0.0.5-src s1469080$
>>
>>
>>
>> On Fri, Jul 6, 2018 at 9:46 PM, Christof Ressi <christof.ressi at gmx.at>
>> wrote:
>>
>>> > clang: error: unknown argument: '-ftree-vectorizer-verbose=2'
>>>
>>> looks like this is flag is GCC only. just remove it and try to compile
>>> again.
>>>
>>> Gesendet: Freitag, 06. Juli 2018 um 19:30 Uhr
>>> Von: "José Rafael Subía Valdez" <jsubiavaldez at gmail.com>
>>> An: PD-List <pd-list at lists.iem.at>
>>> Betreff: [PD] dryUp~ external not creating
>>>
>>> Dear List,
>>>
>>> I am using William Brent's [dryUp~] object for a project, I now have to
>>> go into the studio to mix the piece, but my University's computer is
>>> failing to create the external. I have set the correct paths but it does
>>> not create the object. Furthermore, I try to run the help file through the
>>> terminal and this is the message I get:
>>>
>>> eca-alsems-m003:MacOS s1469080$ ./Pd /Volumes/chss/eca/users/s14690
>>> 80/Pd/dryUp/dryUp\~-help.pd
>>>
>>> 2018-07-06 18:16:32.574 pd[3581:19936] Error loading
>>> /Library/Audio/Plug-Ins/HAL/DVCPROHDAudio.plugin/Contents/MacOS/DVCPROHDAudio:
>>> dlopen(/Library/Audio/Plug-Ins/HAL/DVCPROHDAudio.plugin/Contents/MacOS/DVCPROHDAudio,
>>> 262): no suitable image found.  Did find:
>>>
>>> /Library/Audio/Plug-Ins/HAL/DVCPROHDAudio.plugin/Contents/MacOS/DVCPROHDAudio:
>>> no matching architecture in universal wrapper
>>>
>>> 2018-07-06 18:16:32.575 pd[3581:19936] Cannot find function pointer
>>> NewPlugIn for factory C5A4CE5B-0BB8-11D8-9D75-0003939615B6 in
>>> CFBundle/CFPlugIn 0x1004010f0 </Library/Audio/Plug-Ins/HAL/DVCPROHDAudio.plugin>
>>> (bundle, not loaded)
>>>
>>> Pt_Start() called
>>>
>>>
>>> I have no Idea what plugin these messages refer to, and the problem is
>>> that it is the computer in the studio and the  University does not give me
>>> privileges to delete the plug-in in question to see if that is the issue.
>>>
>>> Pd window does not give me any type of architecture error.
>>>
>>> If I try to compile the object with make I get:
>>>
>>> eca-alsems-m003:dryUp s1469080$ make
>>>
>>> cc -DPD -I../..//src -Wall -W -g -fPIC -arch i386 -arch ppc
>>> -mmacosx-version-min=10.4 -ftree-vectorize -ftree-vectorizer-verbose=2
>>> -fast -o "dryUp~.o" -c "dryUp~.c"
>>>
>>> clang: error: unknown argument: '-ftree-vectorizer-verbose=2'
>>>
>>> make: *** [dryUp~.o] Error 1
>>>
>>>
>>> which might be more of the reason the object is not creating?
>>>
>>> I am on a
>>>
>>> OSX 10.10.5 "yosemite"
>>> Mac Pro (Late 2013),
>>> Processor: 3.5 GHz 6-Core Intel Xeon E5
>>> RAM: 16 GB 1866 MHz DDR3 ECC
>>>
>>> any help is deeply appreciated
>>>
>>> --
>>>
>>> José Rafael Subía Valdez
>>> www.jrsv.net[http://www.jrsv.net]
>>>
>>>
>>>  _______________________________________________ Pd-list at lists.iem.at
>>> mailing list UNSUBSCRIBE and account-management ->
>>> https://lists.puredata.info/listinfo/pd-list[https://lists.
>>> puredata.info/listinfo/pd-list]
>>>
>>
>>
>>
>> --
>> José Rafael Subía Valdez
>> www.jrsv.net
>>
>>
>>
>>
>> _______________________________________________
>> Pd-list at lists.iem.at mailing list
>> UNSUBSCRIBE and account-management -> https://lists.puredata.info/li
>> stinfo/pd-list
>>
>
>
> --
> William Brent
> www.williambrent.com
>
> “Great minds flock together”
> Conflations: conversational idiom for the 21st century
>
> www.conflations.com
>



-- 
José Rafael Subía Valdez
www.jrsv.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20180707/617e5392/attachment-0001.html>


More information about the Pd-list mailing list