hi everybody
i just catched the cvs-externals and compiled pdp, and the cvs-gem sucessfully. now i tried to compile the gem2pdp:
#autoconf #./configure --with-gemdir=../../src/Gem/ --with-pddir=../../ --with-pdpdir=../pdp #make clean #make
i tried also with the pdp-0.12-4 version ( ./configure --with-pddir=../../../pdp-0.12.4 )
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... greetings.
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@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
great : ) please let me know, when you have done it.
PatSch.
On Tue, 2006-12-05 at 16:52 +0100, IOhannes m zmoelnig wrote:
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
dear IOhannes
in .pdsettings i've add the entry: loadlib33: pdp loadlib34: pdp2gem loadlib35: gem2pdp
when i now start pd in pd appears: PDP: pure data packet version 0.12.5-darcs pdp2gem: can't load library gem2pdp : a bridge between GEM and PDP/PiDiP v0.6 (ydegoyon@free.fr) gem2pdp : a bridge between GEM and PDP/PiDiP v0.6 (ydegoyon@free.fr)
because make install reports: make: *** No rule to make target `install'. Stop. i've copied an chmod with 644 the compiled files
gem2pdp.pd_linux help-pix_2pdp.pd pdp2gem.pd_linux pix_2pdp.pd_linux
to /usr/local/lib/pd/extra/gem2pdp
gem2pdp works great: ) but the other direction... not.
mfg.a.dr.ch patsCH