[GEM-dev] gem2pdp

Mathieu Bouchard matju at artengine.ca
Wed Dec 21 15:31:48 CET 2005


when ./configure looks for Gem sources and doesn't find them, it is
misleading: it says one has to change configure.ac and re-run autoconf. 
However, --with-gemdir also does the job and does not require autoconf.

If i make a typo like --with-gem-dir instead of --with-gemdir, ./configure 
accepts it, ignores it, and doesn't complain about unknown option.

Then when I try compiling it:

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/include  -I/home/matju/src/gem-cvs/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

 _ _ __ ___ _____ ________ _____________ _____________________ ...
| Mathieu Bouchard - tél:+1.514.383.3801 - http://artengine.ca/matju
| Freelance Digital Arts Engineer, Montréal QC Canada




More information about the GEM-dev mailing list