knudfl & ashwinkumar, thank you both for this thread. I have been trying to install opengazer for about 4 months without success. But now, I get a lot further.
At the moment, I have Ubuntu 8.04 installed on VMWare Server on a Intel laptop (Dell Vostro 1710 with Vista Prof as the host), where previously I tried to Ubuntu 8.04 on an AMD desktop PC.
ashwinkumar, my webcam is a logitech quickcam pro 9000 and I got it working with EasyCam (google easycam ubuntu Installation on 32 bit systems). I am not allowed yet to post the URL, due to anti spam measures on this forum. Once intalled, cheese does not work very well, but Ekiga gives me a small video picture. I am not too worried about this because I think this is due to the VMWare USB emulation. I had excellent video from this camera on the desktop AMD with Ubuntu 8.04.
Now my problem!
Step 1
Code:
sudo apt-get install libcv-dev libhighgui-dev libcvaux-dev \
libgtkmm-2.4-dev libcairomm-1.0-dev libboost-dev
Step 2
unzip vxl-1.08.0.zip to /home/kl/tmp
Step 3
Code:
mkdir /home/kl/tmp/build-vxl
Step 4
Code:
cd /home/kl/tmp/build-vxl
Step 5
Code:
/usr/bin/cmake ../vxl-1.8 \
-DBUILD_EXAMPLES:BOOL=OFF \
-DBUILD_SHARED_LIBS:BOOL=ON \
-DBUILD_TESTING:BOOL=OFF \
-DCMAKE_BUILD_TYPE:STRING=Release \
-DVXL_USE_LFS:BOOL=ON \
-DMPEG2_INCLUDE_DIR:FILEPATH=/usr/include/mpeg2dec \
-DMPEG2_mpeg2_LIBRARY:FILEPATH=/usr/lib/libmpeg2.so \
-DMPEG2_vo_LIBRARY:FILEPATH=/usr/lib/libmpeg2.so
And the output from this is:
-- Found JPEG: /usr/lib/libjpeg.so
-- Found PNG: /usr/lib/libpng.so
-- Found PNG: /usr/lib/libpng.so
-- Found JPEG: /usr/lib/libjpeg.so
-- Found JPEG: /usr/lib/libjpeg.so
-- Found PNG: /usr/lib/libpng.so
-- Found JPEG: /usr/lib/libjpeg.so
-- DirectShow was not found.
-- Found PNG: /usr/lib/libpng.so
-- Found JPEG: /usr/lib/libjpeg.so
-- Configuring done
-- Generating done
-- Build files have been written to: /home/kl/tmp/build-vxl
Step 6
kl@kl-desktop:~/tmp/build-vxl$
It gets to 48% and then this error. Can you help please?
[ 0%] Built target vcl
[ 0%] Built target netlib
[ 9%] Built target v3p_netlib
[ 9%] Built target testlib
[ 9%] Built target vpl
[ 10%] Built target vul
[ 11%] Built target vbl
[ 19%] Built target vnl
[ 22%] Built target vgl
[ 28%] Built target vil
[ 31%] Built target vnl_algo
[ 34%] Built target vil_algo
[ 38%] Built target vil1
[ 40%] Built target vsl
[ 40%] Built target vul_io
[ 41%] Built target vbl_io
[ 42%] Built target vnl_io
[ 42%] Built target vnl_xio
[ 44%] Built target vgl_io
[ 45%] Built target vgl_xio
[ 45%] Built target vil_io
[ 46%] Built target vil1_io
[ 48%] Built target vcsl
[ 48%] Building CXX object core/vidl/CMakeFiles/vidl.dir/vidl_codec.o
In file included from /home/kl/tmp/vxl-1.8.0/core/vidl/vidl_mpegcodec.h:24,
from /home/kl/tmp/vxl-1.8.0/core/vidl/vidl_codec.cxx:13:
/home/kl/tmp/vxl-1.8.0/core/vidl/vidl_mpegcodec_helper.h:60:32: error: mpeg2dec/video_out.h: No such file or directory
/home/kl/tmp/vxl-1.8.0/core/vidl/vidl_mpegcodec_helper.h:62:31: error: mpeg2dec/mm_accel.h: No such file or directory
In file included from /home/kl/tmp/vxl-1.8.0/core/vidl/vidl_mpegcodec.h:24,
from /home/kl/tmp/vxl-1.8.0/core/vidl/vidl_codec.cxx:13:
/home/kl/tmp/vxl-1.8.0/core/vidl/vidl_mpegcodec_helper.h:161: error: expected class-name before ‘{’ token
/home/kl/tmp/vxl-1.8.0/core/vidl/vidl_mpegcodec_helper.h:169: error: ISO C++ forbids declaration of ‘vo_frame_t’ with no type
/home/kl/tmp/vxl-1.8.0/core/vidl/vidl_mpegcodec_helper.h:169: error: expected ‘;’ before ‘*’ token
/home/kl/tmp/vxl-1.8.0/core/vidl/vidl_mpegcodec_helper.h:170: error: ‘vo_frame_t’ does not name a type
/home/kl/tmp/vxl-1.8.0/core/vidl/vidl_mpegcodec_helper.h:189: error: expected `)' before ‘*’ token
/home/kl/tmp/vxl-1.8.0/core/vidl/vidl_mpegcodec_helper.h:227: error: ISO C++ forbids declaration of ‘vo_open_t’ with no type
/home/kl/tmp/vxl-1.8.0/core/vidl/vidl_mpegcodec_helper.h:227: error: expected ‘;’ before ‘*’ token
make[2]: *** [core/vidl/CMakeFiles/vidl.dir/vidl_codec.o] Error 1
make[1]: *** [core/vidl/CMakeFiles/vidl.dir/all] Error 2
make: *** [all] Error 2