[PD] Setup.cpp:189:2: error: compiling Gem against latest pd git pull 0.48-0-test

me.grimm megrimm at gmail.com
Wed Jul 19 19:31:11 CEST 2017


>>>> Try deleting that line from the source :)
>>yes this works and Gem compiles

shit sorry i spoke too soon... I still am getting:

Setup.cpp:189:2: error: use of undeclared identifier 'sys_searchpath'
        sys_searchpath = namelist_append(sys_searchpath, mypath, 0);
        ^
Setup.cpp:189:35: error: use of undeclared identifier 'sys_searchpath'
        sys_searchpath = namelist_append(sys_searchpath, mypath, 0);

I even did make clean and compiled pd/gem again after removing line.

On Wed, Jul 19, 2017 at 1:20 PM, me.grimm <megrimm at gmail.com> wrote:

> >> Try deleting that line from the source :)
>
> yes this works and Gem compiles
>
> >>If desired, the offending line on the source could be replaced with this
> >>pd_this->pd_stuff->st_namelist = namelist_append(pd_this->pd_stuff->st_namelist,
> mypath, 0);
>
> with this error:
>
> s_main.c:119:1: error: expected identifier or '('
> pd_this->pd_stuff->st_namelist =
> ^
> ./m_pd.h:856:18: note: expanded from macro 'pd_this'
> #define pd_this (&pd_maininstance)
>                  ^
> s_main.c:119:1: error: expected ')'
> ./m_pd.h:856:18: note: expanded from macro 'pd_this'
> #define pd_this (&pd_maininstance)
>                  ^
> s_main.c:119:1: note: to match this '('
> ./m_pd.h:856:17: note: expanded from macro 'pd_this'
> #define pd_this (&pd_maininstance)
>
>
>
> thanks!
>
> On Wed, Jul 19, 2017 at 1:08 PM, Miller Puckette <msp at ucsd.edu> wrote:
>
>> Try deleting that line from the source :)
>>
>> The fix should have restored binary compatibility for existing compiled
>> Gem installations, but new ones wont' compile with the offending line.
>>
>> If desired, the offending line on the source could be replaced with this
>>
>> pd_this->pd_stuff->st_namelist =
>>    namelist_append(pd_this->pd_stuff->st_namelist, mypath, 0);
>>
>> cheers
>> Miller
>>
>> On Wed, Jul 19, 2017 at 12:30:02PM -0400, me.grimm wrote:
>> > compiling Gem from latest git pull (just now) with this fix?
>> > pure-data/pure-data at c34380a
>> > <https://github.com/pure-data/pure-data/commit/c34380ab1ea59
>> 8068c7e293322b87e7c3a05bfe2>
>> > I
>> > get:
>> >
>> > clang: *warning: *optimization flag '-falign-loops' is not supported
>> > [-Wignored-optimization-argument]
>> >
>> > clang: *warning: *optimization flag '-falign-functions' is not supported
>> > [-Wignored-optimization-argument]
>> >
>> > clang: *warning: *optimization flag '-falign-jumps' is not supported
>> > [-Wignored-optimization-argument]
>> >
>> > *Setup.cpp:189:2: **error: **use of undeclared identifier
>> 'sys_searchpath'*
>> >
>> >         sys_searchpath = namelist_append(sys_searchpath, mypath, 0);
>> >
>> > *        ^*
>> >
>> > *Setup.cpp:189:35: **error: **use of undeclared identifier
>> 'sys_searchpath'*
>> >
>> >         sys_searchpath = namelist_append(sys_searchpath, mypath, 0);
>> >
>> >
>> > I logged an issue on Gem git but johannes pointed to the pd issue as the
>> > culprit....
>> >
>> > thanks!
>> > m
>>
>> > _______________________________________________
>> > Pd-list at lists.iem.at mailing list
>> > UNSUBSCRIBE and account-management -> https://lists.puredata.info/li
>> stinfo/pd-list
>>
>>
>
>
> --
> ____________________
> m.e.grimm, m.f.a, ed.m.
> syracuse u., tc3
> megrimm.net
> ____________________
>



-- 
____________________
m.e.grimm, m.f.a, ed.m.
syracuse u., tc3
megrimm.net
____________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20170719/78425285/attachment.html>


More information about the Pd-list mailing list