hi there,
i'm trying to use videoIO objects in Gem under Ubuntu 10.04 i've got compilation errors and here is a log :
for pix_device_read.cpp : g++ -DHAVE_BASE_CONFIG_H_ -c -Wall -O2 -fPIC -ffast-math -mmmx -I/usr/include -I../../../Gem/src -I. -I../core -o "pix_device_read.o" -c "pix_device_read.cpp" pix_device_read.cpp: In member function ‘virtual void pix_device_read::render(GemState*)’: pix_device_read.cpp:68: error: invalid use of incomplete type ‘struct GemState’ ../../../Gem/src/Base/GemBase.h:24: error: forward declaration of ‘struct GemState’ pix_device_read.cpp: In member function ‘virtual void pix_device_read::postrender(GemState*)’: pix_device_read.cpp:114: error: invalid use of incomplete type ‘struct GemState’ ../../../Gem/src/Base/GemBase.h:24: error: forward declaration of ‘struct GemState’ pix_device_read.cpp:115: error: invalid use of incomplete type ‘struct GemState’ ../../../Gem/src/Base/GemBase.h:24: error: forward declaration of ‘struct GemState’ make[1]: *** [pix_device_read.o] Erreur 1
for pix_file_read.cpp : g++ -DHAVE_BASE_CONFIG_H_ -c -Wall -O2 -fPIC -ffast-math -mmmx -I/usr/include -I../../../Gem/src -I. -I../core -o "pix_file_read.o" -c "pix_file_read.cpp" pix_file_read.cpp: In member function ‘virtual void pix_file_read::openFile(t_symbol*)’: pix_file_read.cpp:86: error: invalid conversion from ‘const _glist*’ to ‘_glist*’ pix_file_read.cpp:86: error: initializing argument 1 of ‘void canvas_makefilename(_glist*, char*, char*, int)’ pix_file_read.cpp: In member function ‘virtual void pix_file_read::render(GemState*)’: pix_file_read.cpp:204: error: invalid use of incomplete type ‘struct GemState’ ../../../Gem/src/Base/GemBase.h:24: error: forward declaration of ‘struct GemState’ pix_file_read.cpp: In member function ‘virtual void pix_file_read::postrender(GemState*)’: pix_file_read.cpp:213: error: invalid use of incomplete type ‘struct GemState’ ../../../Gem/src/Base/GemBase.h:24: error: forward declaration of ‘struct GemState’ pix_file_read.cpp:214: error: invalid use of incomplete type ‘struct GemState’ ../../../Gem/src/Base/GemBase.h:24: error: forward declaration of ‘struct GemState’ make[1]: *** [pix_file_read.o] Erreur 1
for pix_file_write.cpp : g++ -DHAVE_BASE_CONFIG_H_ -c -Wall -O2 -fPIC -ffast-math -mmmx -I/usr/include -I../../../Gem/src -I. -I../core -o "pix_file_write.o" -c "pix_file_write.cpp" pix_file_write.cpp: In member function ‘virtual void pix_file_write::openFile(t_symbol*)’: pix_file_write.cpp:56: error: invalid conversion from ‘const _glist*’ to ‘_glist*’ pix_file_write.cpp:56: error: initializing argument 1 of ‘void canvas_makefilename(_glist*, char*, char*, int)’ pix_file_write.cpp:57: error: ‘fopen’ was not declared in this scope pix_file_write.cpp:57: error: ‘fclose’ was not declared in this scope pix_file_write.cpp: In member function ‘virtual void pix_file_write::render(GemState*)’: pix_file_write.cpp:84: error: invalid use of incomplete type ‘struct GemState’ ../../../Gem/src/Base/GemBase.h:24: error: forward declaration of ‘struct GemState’ pix_file_write.cpp:86: error: invalid use of incomplete type ‘struct GemState’ ../../../Gem/src/Base/GemBase.h:24: error: forward declaration of ‘struct GemState’ pix_file_write.cpp: In static member function ‘static void pix_file_write::startCallback(void*, t_floatarg)’: pix_file_write.cpp:165: error: ‘printf’ was not declared in this scope pix_file_write.cpp: In static member function ‘static void pix_file_write::stopCallback(void*, t_floatarg)’: pix_file_write.cpp:172: error: ‘printf’ was not declared in this scope make[1]: *** [pix_file_write.o] Erreur 1
is it broken ? or is it because i'm still a Gem compilation newbie ??
cheers
a.