[PD] gem2pdp compilation | once again

IOhannes m zmoelnig zmoelnig at iem.at
Tue Dec 5 16:52:39 CET 2006


Patrick wrote:
> hi everybody
>
> and i get only:
> 
> cat ../pdp/include/pdp.h | grep -v m_pd > pdp-light.h
> g++ -DPD -O2 -funroll-loops -fomit-frame-pointer  -ffast-math -Wall -W
> -Wno-unused -Wno-parentheses -Wno-switch -DGEM2PDP_VERSION=\"0.6\" -g
> -I../..//src -I. -I../pdp/include  -I../../src/Gem//src  -o gem2pdp.o -c
> gem2pdp.cpp
> gem2pdp.cpp: In static member function ‘static void
> gem2pdp::obj_setupCallback(_class*)’:
> gem2pdp.cpp:142: error: cannot call member function ‘void
> CPPExtern::post(const char*, ...)’ without object
> make: *** [gem2pdp.o] Error 1
> 
> what could be the problem? i also tried with #make CC=gcc-3.4 but... the
> same...

the problem is a recent change in Gem, where post() is redefined as a
member functon of CPPExtern.

this means, that you should exchange any occurance of "post()" that
gives you an error by "::post()" (with 2 colons before the post)


i will fix this in gem2pdp-source
mfg.adr
IOhannes

> greetings.
> 
> 
> _______________________________________________
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list





More information about the Pd-list mailing list