On 02/25/2011 12:21 PM, tim vets wrote: > dear list, > > I'm trying to compile Gem with pix_artoolkit on ubuntu... > ./configure --with-artoolkit-includes=/usr/include/artoolkit/ > --with-artoolkit-libs=/usr/lib/artoolkit --with-artoolkit-libs --with-v4l2 > --with-glversion=2.0 --enable-sse2 --enable-Vertex --without-avifil > seems to be successful afaict. > > after that, make ends with: > > videoV4L2.cpp:300: warning: #warning implement fromBGRA > videoV4L2.cpp:602: warning: #warning RGB32 vs BGRA confusion > videoV4L2.cpp: In member function ‘virtual int > videoV4L2::startTransfer(int)’: > videoV4L2.cpp:389: error: ‘fstat’ was not declared in this scope > videoV4L2.cpp:394: error: ‘S_ISCHR’ was not declared in this scope > make[1]: *** [videoV4L2.o] Error 1 > make[1]: Leaving directory `/home/tim/Downloads/gem-0.92-3/src/Pixes' > make: *** [Pixes] Error 2 > > ubuntu Maverick, gem-0.92-3, and ARToolKit pre-compiled from > http://ppa.launchpad.net/artoolkit-dev/ppa/ubuntu/pool/main/a/artoolkit/artoolkit-dev_2.72.1+20070927-hardy1_i386.deb > (which is in fact a Hardy .deb, I know...) > > any help would be much appreciated! > Tim >
it's a known bug with gem-0.92-3 and ubuntu. simply adding "#include <sys/stat.h>" to videoV4L2.cpp (near the other includes) should fix the problem. fgamsr IOhannes
signature.asc
Description: OpenPGP digital signature
_______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
