Hi all,
I'm trying to recompile Gem with v4l2 stuff, but the compile bails with this:
g++ -c -fPIC -g -O2 -freg-struct-return -O3 -fno-builtin -falign-loops=16 -funroll-loops -ffast-math -mmmx -I/usr/X11R6/include -I/usr/include/ffmpeg -I/usr/include/quicktime -I/usr/include/avifile-0.7 -I/usr/include/freetype2 -I.. -I/usr/include/FTGL -I/usr/include/freetype2 GemGLUtil.cpp -o GemGLUtil.o In file included from GemGLUtil.cpp:18: GemGLUtil.h:25: error: declaration of C function `int getGLdefine(t_symbol*)' conflicts with GemGLUtil.h:24: error: previous declaration `int getGLdefine(char*)' here GemGLUtil.h:26: error: declaration of C function `int getGLdefine(t_atom*)' conflicts with GemGLUtil.h:25: error: previous declaration `int getGLdefine(t_symbol*)' here GemBase.cpp:138: error: parse error at end of input make[1]: *** [GemBase.o] Error 1 make[1]: *** Waiting for unfinished jobs.... GemGLUtil.cpp: In function `int getGLdefine(t_atom*)': GemGLUtil.cpp:78: error: cannot convert `t_symbol*' to `t_atom*' for argument ` 1' to `int getGLdefine(t_atom*)' GemGLUtil.cpp: In function `int getGLdefine(t_symbol*)': GemGLUtil.cpp:84: error: declaration of C function `int getGLdefine(t_symbol*)' conflicts with GemGLUtil.cpp:76: error: previous declaration `int getGLdefine(t_atom*)' here GemGLUtil.cpp: In function `int getGLdefine(t_atom*)': GemGLUtil.cpp:85: error: cannot convert `char*' to `t_symbol*' for argument `1' to `int getGLdefine(t_symbol*)' GemGLUtil.cpp: In function `int getGLdefine(char*)': GemGLUtil.cpp:90: error: declaration of C function `int getGLdefine(char*)' conflicts with GemGLUtil.cpp:84: error: previous declaration `int getGLdefine(t_symbol*)' here GemGLUtil.cpp: At global scope: GemGLUtil.cpp:5636: error: parse error at end of input make[1]: *** [GemGLUtil.o] Error 1 make: *** [Base] Error 2
I'll just hack the v4l2 stuff into my local copy for the time being.
b.