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