I am trying to build gem2pdp and getting errors on make:
gcc -export_dynamic -shared -o pdp2gem.pd_linux pdp2gem.o yuv.o -lm cat ../pdp/externals/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../pd/src -I. -I../pdp/externals/pdp/include -I../Gem/Gem/src -o pix_2pdp.o -c pix_2pdp.cpp pix_2pdp.cpp: In member function ‘virtual void pix_2pdp::bangMess()’: pix_2pdp.cpp:137: error: jump to case label pix_2pdp.cpp:103: error: crosses initialization of ‘const int row_length’ pix_2pdp.cpp:102: error: crosses initialization of ‘unsigned char* pixel2’ pix_2pdp.cpp:101: error: crosses initialization of ‘unsigned char* pixel’ pix_2pdp.cpp:99: error: crosses initialization of ‘int cols’ pix_2pdp.cpp:98: error: crosses initialization of ‘int row’ pix_2pdp.cpp:155: error: jump to case label pix_2pdp.cpp:103: error: crosses initialization of ‘const int row_length’ pix_2pdp.cpp:102: error: crosses initialization of ‘unsigned char* pixel2’ pix_2pdp.cpp:101: error: crosses initialization of ‘unsigned char* pixel’ pix_2pdp.cpp:99: error: crosses initialization of ‘int cols’ pix_2pdp.cpp:98: error: crosses initialization of ‘int row’ make: *** [pix_2pdp.o] Error 1
Pd and Gem are CVS downloaded yesterday. Gem, pdp and pidip have all built and run fine.
the ./configure command with the links to pd, Gem, and pdp seems OK. This is ubuntu Dapper.
-John
I only found this: http://ydegoyon.free.fr/software.html
And I downloaded from this today. Is there a more current source?
I did a search in the Pd archives and couldn't find this problem documented. Also, I built on another system a week or two ago and it built fine too...so I'm not sure what is up...
I was going to look for a CVS on Sourceforge but it appears to be down. :-(
-John
Georg Holzmann wrote:
Hallo John!
Pd and Gem are CVS downloaded yesterday. Gem, pdp and pidip have all built and run fine.
Did you also checkout the latest gem2pdp? I remember this problem some month ago ... Just tried it and it compiles fine (debian, gcc4.0)
LG Georg
Hallo!
I only found this: http://ydegoyon.free.fr/software.html
I guess that's too old ...
And I downloaded from this today. Is there a more current source?
yes, in cvs: externals/gem2pdp
I did a search in the Pd archives and couldn't find this problem documented. Also, I built on another system a week or two ago and it built fine too...so I'm not sure what is up...
but I am sure that I remember :) - (I checked in the code ...)
LG Georg
ugg. Why is gem2pdp available for download at http://ydegoyon.free.fr/software.html if it is not the most current version? And I now see there is a pidip at sourceforge and I'll bet that is more current than the source code at http://ydegoyon.free.fr/pidip.html, which I already compiled.
May I request that the download for pidip at http://ydegoyon.free.fr/pidip.html and for gem2pdp at http://ydegoyon.free.fr/software.html be replaced with a link to the CVS? Or at least a note added to the current downloads to source explaining that they are not the most current versions?
Anyway, I'll give gem2pdp from the CVS a go. Thanks for your help.
-John
Georg Holzmann wrote:
Hallo!
I only found this: http://ydegoyon.free.fr/software.html
I guess that's too old ...
And I downloaded from this today. Is there a more current source?
yes, in cvs: externals/gem2pdp
I did a search in the Pd archives and couldn't find this problem documented. Also, I built on another system a week or two ago and it built fine too...so I'm not sure what is up...
but I am sure that I remember :) - (I checked in the code ...)
LG Georg
I made a wiki documenting what I did to build pdp, pidip, gem2pdp and Gem on ubuntu Breezy and Dapper. It's pretty rough and I encourage people to flush it out. And...hopefully it will help somebody. It is here:
http://wikihost.org/wikis/techartsound/programm/gebo.prg?name=ubuntu_breezy
-John
P.S. gem2pdp from sourceforge compiles and runs without a hitch. Thanks for the help.
John Harrison wrote:
ugg. Why is gem2pdp available for download at http://ydegoyon.free.fr/software.html if it is not the most current version? And I now see there is a pidip at sourceforge and I'll bet that is more current than the source code at http://ydegoyon.free.fr/pidip.html, which I already compiled.
May I request that the download for pidip at http://ydegoyon.free.fr/pidip.html and for gem2pdp at http://ydegoyon.free.fr/software.html be replaced with a link to the CVS? Or at least a note added to the current downloads to source explaining that they are not the most current versions?
Anyway, I'll give gem2pdp from the CVS a go. Thanks for your help.
-John
Georg Holzmann wrote:
Hallo!
I only found this: http://ydegoyon.free.fr/software.html
I guess that's too old ...
And I downloaded from this today. Is there a more current source?
yes, in cvs: externals/gem2pdp
I did a search in the Pd archives and couldn't find this problem documented. Also, I built on another system a week or two ago and it built fine too...so I'm not sure what is up...
but I am sure that I remember :) - (I checked in the code ...)
LG Georg