Hello,
for what's worth here is a log of what I did to get Gem compiled. with required libs and errors..
ubuntu 2.6.12-10-386
GEM from CVS 16 feb 2006
error: configure: error: GL not found! you need openGL!!!
then I installed: libglu1-mesa-dev
optional packages I installed: libjpeg62-dev libtiff4-dev libmpeg-dev libavifile-0.7-dev libmpeg3-dev libquicktime-dev
error: make[1]: Entering directory `/home/davide/CVS-gem/Gem/src/Pixes' g++ -c -fPIC -g -O2 -freg-struct-return -O3 -fno-builtin -falign-loops=16 -funroll-loops -ffast-math -mmmx -I/usr/include/quicktime -I/usr/include/avifile-0.7 -I.. recordQT4L.cpp -o recordQT4L.o recordQT4L.cpp: In member function 'virtual int recordQT4L::putFrame(imageStruct*)': recordQT4L.cpp:173: error: 'lqt_add_video_track' was not declared in this scope make[1]: *** [recordQT4L.o] Error 1 make[1]: Leaving directory `/home/davide/CVS-gem/Gem/src/Pixes' make: *** [Pixes] Error 2
workaround:
reconfigured with ./configure --without-libquicktime
removed pix_record.cpp, recordQT.cpp and recordQT4L.cpp
ok!
hi.
davide wrote:
Hello,
GEM from CVS 16 feb 2006
error: configure: error: GL not found! you need openGL!!!
well, yes, i think so...
then I installed: libglu1-mesa-dev
optional packages I installed:
[...]
libquicktime-dev
error: make[1]: Entering directory `/home/davide/CVS-gem/Gem/src/Pixes' g++ -c -fPIC -g -O2 -freg-struct-return -O3 -fno-builtin -falign-loops=16 -funroll-loops -ffast-math -mmmx -I/usr/include/quicktime -I/usr/include/avifile-0.7 -I.. recordQT4L.cpp -o recordQT4L.o recordQT4L.cpp: In member function 'virtual int recordQT4L::putFrame(imageStruct*)': recordQT4L.cpp:173: error: 'lqt_add_video_track' was not declared in this scope
oh, which version of libquicktime(-dev) comes with ubuntu? (wow, debian has more uptodate packages than ubuntu!)
i'll have to add a check for lqt_add_video_track() in configure.
workaround:
reconfigured with ./configure --without-libquicktime
removed pix_record.cpp, recordQT.cpp and recordQT4L.cpp
ok!
actually one of your workarounds should be sufficient: either remove the files or configure without quicktime. did this work? (no harm is done if you do both, but you will not be able to decode movies using the quicktime-api when using the configure-option)
and i forgot: you might want to install (the optional) ftgl-dev and magick6++-dev too...
mfg.asd.r IOhannes
error: configure: error: GL not found! you need openGL!!!
well, yes, i think so...
eh eh..
I wrote that line to let you know that: * I used libglu1-mesa-dev * ubuntu doesn't come with a gl-dev package installed
oh, which version of libquicktime(-dev) comes with ubuntu? (wow, debian has more uptodate packages than ubuntu!)
davide@ubuntu:~$ apt-cache show libquicktime-dev Package: libquicktime-dev Priority: optional Section: libdevel Installed-Size: 132 Maintainer: Gerd Knorr kraxel@debian.org Architecture: i386 Source: libquicktime Version: 0.9.3-2ubuntu2 Replaces: libquicktime4linux-dev Depends: libquicktime1 (= 0.9.3-2ubuntu2), libc6-dev, libraw1394-dev, libdv-dev, libglib-dev Conflicts: libquicktime4linux-dev Filename: pool/main/libq/libquicktime/libquicktime-dev_0.9.3-2ubuntu2_i386.deb Size: 18450 MD5sum: 4d21367bcae5f539b78d9eec5f18dc15 Description: Header files for developing applications with quicktime This package contains the headers and static libraries for developing applications with libquicktime. Bugs: mailto:ubuntu-users@lists.ubuntu.com Origin: Ubuntu
should i install a more recent version? can I install a debian package or do I have to recompile it from source?
workaround:
reconfigured with ./configure --without-libquicktime
removed pix_record.cpp, recordQT.cpp and recordQT4L.cpp
actually one of your workarounds should be sufficient: either remove the files or configure without quicktime. did this work? (no harm is done if you do both, but you will not be able to decode movies using the quicktime-api when using the configure-option)
"./configure --without-libquicktime" alone wasn't solving the problem. now i get gem compiled only removing those files without removing libquicktime from configure
and i forgot: you might want to install (the optional) ftgl-dev and magick6++-dev too...
I installed them too
here is the complete list of what I installed:
required packages installed: libglu1-mesa-dev
optional packages installed: libjpeg62-dev libtiff4-dev libmpeg-dev libavifile-0.7-dev libmpeg3-dev libquicktime-dev ftgl-dev libmagick++6-dev ffmpeg
ciao, davide
davide wrote:
error: configure: error: GL not found! you need openGL!!!
well, yes, i think so...
eh eh..
I wrote that line to let you know that:
- I used libglu1-mesa-dev
- ubuntu doesn't come with a gl-dev package installed
neither das plain debian.
however: $ aptitude show xlibmesa-gl-dev Package: xlibmesa-gl-dev State: installed Automatically installed: no Version: 6.8.2.dfsg.1-11 Priority: optional Section: libdevel Maintainer: Debian X Strike Force debian-x@lists.debian.org Uncompressed Size: 3523k Depends: xlibmesa-gl (= 6.8.2.dfsg.1-11), x-dev, libxext-dev, libx11-dev, libc6-dev | libc-dev Conflicts: libgl-dev, xlibmesa-dev (< 4.2.1-5) Replaces: libgl-dev, xlibmesa-dev (< 4.2.1-5) Provides: libgl-dev ....
and that's the important thing: Gem needs the opengl-headers and libs, and they are provided by a package providing libgl-dev xlibmesa-gl-dev provides libgl-dev (and thus the headers)
oh, which version of libquicktime(-dev) comes with ubuntu?
davide@ubuntu:~$ apt-cache show libquicktime-dev Package: libquicktime-dev Version: 0.9.3-2ubuntu2 Replaces: libquicktime4linux-dev Depends: libquicktime1 (= 0.9.3-2ubuntu2), libc6-dev, libraw1394-dev,
of i see
$ aptitude show libquicktime-dev Package: libquicktime-dev State: installed Automatically installed: no Version: 1:0.9.7-0.4
should i install a more recent version? can I install a debian package or do I have to recompile it from source?
i guess you could give installing plaing debian packages a try...
"./configure --without-libquicktime" alone wasn't solving the problem. now i get gem compiled only removing those files without removing libquicktime from configure
thanks, i will try to fix this.
mga.sd IOhannes