LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-17-2009, 12:31 PM   #16
ashwinkumar
LQ Newbie
 
Registered: Jan 2009
Posts: 20

Original Poster
Rep: Reputation: 0

nope ...i dint notice that....interestin....
 
Old 01-25-2009, 07:38 AM   #17
krel
LQ Newbie
 
Registered: Jan 2009
Location: Dublin, Ireland
Distribution: Started off with RH7.1 in 2000, now Ubuntu
Posts: 10

Rep: Reputation: 0
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$
Code:
make
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
 
Old 01-26-2009, 04:30 AM   #18
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,293

Rep: Reputation: 3164Reputation: 3164Reputation: 3164Reputation: 3164Reputation: 3164Reputation: 3164Reputation: 3164Reputation: 3164Reputation: 3164Reputation: 3164Reputation: 3164
# 17, krel : Welcome to Linux Questions.

Quote:
error: mpeg2dec/video_out.h: No such file or directory
It is not possible to build vxl with mpeg2 : too many unknown headers are required.
Remove 'libmpeg2-4-dev' and 'libmpeg2-4' while building vxl.

And go for a simpler "configure command" like
Code:
cmake ../vxl-1.11.0 -DBUILD_EXAMPLES:BOOL=OFF -DBUILD_SHARED_LIBS:BOOL=ON -DBUILD_TESTING:BOOL=OFF -DVXL_USE_LFS:BOOL=ON
Good Luck.
PS: vxl will build 'libmpeg2.so' from its own files.
....

Last edited by knudfl; 01-26-2009 at 09:33 AM.
 
Old 01-26-2009, 05:48 AM   #19
ashwinkumar
LQ Newbie
 
Registered: Jan 2009
Posts: 20

Original Poster
Rep: Reputation: 0
yes, i tried removing mpeg2 and it installed fine..
 
Old 01-27-2009, 05:16 PM   #20
krel
LQ Newbie
 
Registered: Jan 2009
Location: Dublin, Ireland
Distribution: Started off with RH7.1 in 2000, now Ubuntu
Posts: 10

Rep: Reputation: 0
#18 knudfl

I rolled back the VM to a snapshot of just the default Hardy install with VMWare Tools.

Then did
Code:
sudo apt-get remove libmpeg2-4
sudo apt-get remove libmpeg2-4-dev
Nothing to remove, neither was installed. Then

Code:
sudo apt-get install libcv-dev libhighgui-dev libcvaux-dev libgtkmm-2.4-dev libcairomm-1.0-dev libboost-dev
Then did the following twice, because no makefile was created the first time.
kl@kl-desktop:~/tmp/build-vxl$
Code:
cmake ../vxl-1.8 -DBUILD_EXAMPLES:BOOL=OFF -DBUILD_SHARED_LIBS:BOOL=ON -DBUILD_TESTING:BOOL=OFF -DVXL_USE_LFS:BOOL=ON
Then
kl@kl-desktop:~/tmp/build-vxl$
Code:
make
...and just as I was starting to relax - bang! Can I set the compiler to be less sensitive? Or maybe try another version of vxl? (The developer makes mention that open gazer does not work with the latest versions of the libraries). Any suggestions would be much appreciated.


[ 90%] Building CXX object contrib/gel/vifa/CMakeFiles/vifa.dir/Templates/vbl_smart_ptr+vifa_int_face_attr-.o
Linking CXX shared library ../../../lib/libvifa.so
[ 90%] Built target vifa
Scanning dependencies of target vtol_algo
[ 90%] Building CXX object contrib/gel/vtol/algo/CMakeFiles/vtol_algo.dir/vtol_extract_topology.o
In file included from /home/kl/tmp/vxl-1.8/contrib/gel/vtol/algo/vtol_extract_topology.cxx:2:
/home/kl/tmp/vxl-1.8/contrib/gel/vtol/algo/vtol_extract_topology.h: In member function ‘vtol_intensity_face_sptr vtol_extract_topology<LABEL_TYPE>::chain_tree_node::make_face(vil_region_finder<LABEL_TYPE, std::equal_to<pix_type> >*, const vtol_extract_topology_data_image_type*) const’:
/home/kl/tmp/vxl-1.8/contrib/gel/vtol/algo/vtol_extract_topology.h:291: error: invalid use of incomplete type ‘struct vtol_intensity_face’
/home/kl/tmp/vxl-1.8/contrib/gel/vtol/vtol_intensity_face_sptr.h:9: error: forward declaration of ‘struct vtol_intensity_face’
/home/kl/tmp/vxl-1.8/contrib/gel/vtol/algo/vtol_extract_topology.h:295: error: invalid use of incomplete type ‘struct vtol_intensity_face’
/home/kl/tmp/vxl-1.8/contrib/gel/vtol/vtol_intensity_face_sptr.h:9: error: forward declaration of ‘struct vtol_intensity_face’
make[2]: *** [contrib/gel/vtol/algo/CMakeFiles/vtol_algo.dir/vtol_extract_topology.o] Error 1
make[1]: *** [contrib/gel/vtol/algo/CMakeFiles/vtol_algo.dir/all] Error 2
make: *** [all] Error 2
 
Old 01-27-2009, 06:28 PM   #21
krel
LQ Newbie
 
Registered: Jan 2009
Location: Dublin, Ireland
Distribution: Started off with RH7.1 in 2000, now Ubuntu
Posts: 10

Rep: Reputation: 0
I tried
Code:
make -i
and got past the errors to 100%.

Now I am back where I was 4 months ago after compiling vxl 1.11 on Ubuntu 8.04.

The next step according to http://www.inference.phy.cam.ac.uk/opengazer/README

is
Edit the VXLDIR variable in the Makefile to point to your vxl include headers

then
Code:
make
I modified the /home/kl/tmp/opengazer-0.1.2/Makefile

from the default
VXLDIR = /opt

to

VXLDIR = /home/kl/tmp/build-vxl

The last time I tried to get opengazer working, I changed VXLDIR to many different values, including the vxl source and vxl build directory. I also recall advice about lumping all the files into a single directory, but I never managed to get it working.

After that, I figured that since the developer last worked on opengazer in mid 2007 and the readme talks about "testing under debian" that I should build a debian installation that would have been current at about June 2007. That's when I started with the VM's. But I digress...

Any advice on a value for VXLDIR ?

Here is the first couple of output lines from
kl@kl-desktop:~/tmp/opengazer-0.1.2$ make

Makefile:29: opengazer.o.depends: No such file or directory
Makefile:29: Calibrator.o.depends: No such file or directory
Makefile:29: GazeTrackerGtk.o.depends: No such file or directory
Makefile:29: HeadTracker.o.depends: No such file or directory
...

and the file opengazer.o.depends contain the following text:

opengazer.o: opengazer.cpp GazeTrackerGtk.h GazeArea.h MainGazeTracker.h \
utils.h Point.h TrackingSystem.h PointTracker.h HeadTracker.h \
HeadCompensation.cpp LeastSquares.h EyeExtractor.h OutputMethods.h \
GazeTracker.h GaussianProcess.cpp Calibrator.h Containers.h \
GraphicalPointer.h FeatureDetector.h GtkStore.h
 
Old 01-27-2009, 06:40 PM   #22
krel
LQ Newbie
 
Registered: Jan 2009
Location: Dublin, Ireland
Distribution: Started off with RH7.1 in 2000, now Ubuntu
Posts: 10

Rep: Reputation: 0
OK, after reading my own previous post I changed
from
VXLDIR = /home/kl/tmp/build-vxl
to
VXLDIR = /home/kl/tmp/opengazer-0.1.2

and the result is a bit more promising. Any ideas?

kl@kl-desktop:~/tmp/opengazer-0.1.2$ make
g++ -c -Wall -g -O3 -o opengazer.o `pkg-config cairomm-1.0 opencv gtkmm-2.4 --cflags` -I/usr/local/include/core -I/usr/local/include/vcl -I/usr/local/include/contrib/oxl -I/home/kl/tmp/opengazer-0.1.2/include/core -I/home/kl/tmp/opengazer-0.1.2/include/vcl -I/home/kl/tmp/opengazer-0.1.2/include/contrib/oxl -I/home/kl/tmp/opengazer-0.1.2/include/vxl/core -I/home/kl/tmp/opengazer-0.1.2/include/vxl/vcl -I/home/kl/tmp/opengazer-0.1.2/include/vxl/contrib/oxl opengazer.cpp
In file included from MainGazeTracker.h:2,
from GazeArea.h:3,
from GazeTrackerGtk.h:6,
from opengazer.cpp:3:
utils.h:7:30: error: vnl/algo/vnl_svd.h: No such file or directory
In file included from TrackingSystem.h:3,
from MainGazeTracker.h:3,
from GazeArea.h:3,
from GazeTrackerGtk.h:6,
from opengazer.cpp:3:
PointTracker.h:5:35: error: vgl/vgl_homg_point_2d.h: No such file or directory
In file included from HeadCompensation.cpp:1,
from TrackingSystem.h:5,
from MainGazeTracker.h:3,
from GazeArea.h:3,
from GazeTrackerGtk.h:6,
from opengazer.cpp:3:
LeastSquares.h:2:28: error: vnl/vnl_vector.h: No such file or directory
LeastSquares.h:3:28: error: vnl/vnl_matrix.h: No such file or directory
In file included from GazeTracker.h:3,
from OutputMethods.h:3,
from TrackingSystem.h:7,
from MainGazeTracker.h:3,
from GazeArea.h:3,
from GazeTrackerGtk.h:6,
from opengazer.cpp:3:
GaussianProcess.cpp:1:35: error: vnl/algo/vnl_cholesky.h: No such file or directory
In file included from MainGazeTracker.h:2,
from GazeArea.h:3,
from GazeTrackerGtk.h:6,
from opengazer.cpp:3:
utils.h:25: error: expected initializer before ‘<’ token
utils.h:26: error: expected initializer before ‘<’ token
In file included from TrackingSystem.h:3,
from MainGazeTracker.h:3,
from GazeArea.h:3,
from GazeTrackerGtk.h:6,
from opengazer.cpp:3:
PointTracker.h:9: error: expected initializer before ‘<’ token
PointTracker.h:42: error: ‘HomPoint’ was not declared in this scope
PointTracker.h:42: error: template argument 1 is invalid
PointTracker.h:42: error: template argument 2 is invalid
In file included from TrackingSystem.h:4,
from MainGazeTracker.h:3,
from GazeArea.h:3,
from GazeTrackerGtk.h:6,
from opengazer.cpp:3:
HeadTracker.h:12: error: ‘HomPoint’ was not declared in this scope
HeadTracker.h:12: error: template argument 1 is invalid
HeadTracker.h:12: error: template argument 2 is invalid
HeadTracker.h:13: error: ‘HomPoint’ was not declared in this scope
HeadTracker.h:13: error: template argument 1 is invalid
HeadTracker.h:13: error: template argument 2 is invalid
In file included from HeadCompensation.cpp:1,
from TrackingSystem.h:5,
from MainGazeTracker.h:3,
from GazeArea.h:3,
from GazeTrackerGtk.h:6,
from opengazer.cpp:3:
LeastSquares.h:5: error: expected initializer before ‘<’ token
LeastSquares.h:6: error: expected initializer before ‘<’ token
LeastSquares.h:9: error: ‘Matrix’ does not name a type
LeastSquares.h:10: error: ‘Vector’ does not name a type
LeastSquares.h:20: error: ‘Vector’ does not name a type
LeastSquares.h: In constructor ‘LeastSquares::LeastSquares(int)’:
LeastSquares.h:14: error: class ‘LeastSquares’ does not have any field named ‘X’
LeastSquares.h:14: error: class ‘LeastSquares’ does not have any field named ‘Y’
In file included from GazeTracker.h:3,
from OutputMethods.h:3,
from TrackingSystem.h:7,
from MainGazeTracker.h:3,
from GazeArea.h:3,
from GazeTrackerGtk.h:6,
from opengazer.cpp:3:
GaussianProcess.cpp: At global scope:
GaussianProcess.cpp:5: error: ‘Vector’ does not name a type
GaussianProcess.cpp:6: error: ‘Matrix’ does not name a type
GaussianProcess.cpp:8: error: expected `)' before ‘const’
GaussianProcess.cpp:20: error: ‘Matrix’ does not name a type
GaussianProcess.cpp:21: error: ‘Vector’ does not name a type
GaussianProcess.cpp:23: error: ‘Matrix’ does not name a type
GaussianProcess.cpp:37: error: ‘Vector’ has not been declared
GaussianProcess.cpp:51: error: ‘Vector’ does not name a type
GaussianProcess.cpp: In constructor ‘GaussianProcess<T>::GaussianProcess(const std::vector<T, std::allocator<_CharT> >&, const int&, double (*)(const T&, const T&), double)’:
GaussianProcess.cpp:42: error: ‘Matrix’ was not declared in this scope
GaussianProcess.cpp:42: error: expected `;' before ‘K’
GaussianProcess.cpp:44: error: ‘K’ was not declared in this scope
GaussianProcess.cpp:46: error: ‘vnl_cholesky’ was not declared in this scope
GaussianProcess.cpp:46: error: expected `;' before ‘chol’
GaussianProcess.cpp:47: error: ‘L’ was not declared in this scope
GaussianProcess.cpp:47: error: ‘chol’ was not declared in this scope
GaussianProcess.cpp:48: error: ‘alpha’ was not declared in this scope
GaussianProcess.cpp: At global scope:
GaussianProcess.cpp:68: error: ‘Vector’ has not been declared
GaussianProcess.cpp: In constructor ‘MeanAdjustedGaussianProcess<T>::MeanAdjustedGaussianProcess(const std::vector<T, std::allocator<_CharT> >&, const int&, typename GaussianProcess<T>::CovarianceFunction, double)’:
GaussianProcess.cpp:72: error: request for member ‘mean’ in ‘targets’, which is of non-class type ‘const int’
make: *** [opengazer.o] Error 1
 
Old 01-28-2009, 11:09 AM   #23
ashwinkumar
LQ Newbie
 
Registered: Jan 2009
Posts: 20

Original Poster
Rep: Reputation: 0
i too encountered the same error at the exact same point...90%


it jst means ur vxl has not installed properly. .i think so) why dont u give it a try with vxl-1.8

Last edited by ashwinkumar; 01-28-2009 at 11:17 AM.
 
Old 01-28-2009, 11:15 AM   #24
ashwinkumar
LQ Newbie
 
Registered: Jan 2009
Posts: 20

Original Poster
Rep: Reputation: 0
did u make install vxl??

then the vxl dir should be set to /usr/local/share/vxl
 
Old 01-29-2009, 07:46 AM   #25
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,293

Rep: Reputation: 3164Reputation: 3164Reputation: 3164Reputation: 3164Reputation: 3164Reputation: 3164Reputation: 3164Reputation: 3164Reputation: 3164Reputation: 3164Reputation: 3164
The missing files are in /usr/local/include/vxl/ .....

Your "make" , line .....
Code:
7 .. utils.h:7:30: error: vnl/algo/vnl_svd.h: No such file or directory
13 ..PointTracker.h:5:35: error: vgl/vgl_homg_point_2d.h: No such file..
20 ..LeastSquares.h:2:28: error: vnl/vnl_vector.h: No such file or directory
21 ..LeastSquares.h:3:28: error: vnl/vnl_matrix.h: No such file or directory
29 ..GaussianProcess.cpp:1:35: error: vnl/algo/vnl_cholesky.h: No such file..
Please link the files to a known location, may be easier,
than editing a lot of files in 'opengazer' :

'cd /usr/local/include/'
'sudo ln -s vxl/core/vnl/ .'
'sudo ln -s vxl/core/vgl/ .'
( where the dot . means the current directory )

....

Last edited by knudfl; 01-29-2009 at 12:52 PM.
 
Old 01-29-2009, 04:53 PM   #26
krel
LQ Newbie
 
Registered: Jan 2009
Location: Dublin, Ireland
Distribution: Started off with RH7.1 in 2000, now Ubuntu
Posts: 10

Rep: Reputation: 0
Thank you knudfl and ashwinkumar! I will have a go over the weekend by starting from scratch on the AMD desktop PC. Will take notes of every step and hopefully post success on Monday, along with a step by step guide for any other novices like myself who have struggled to get it working.

I want to try and set the camera output to black & white and combine it with an IR Illuminator to see if it increases the accuracy. Similar to what the commercial versions are doing. And if the opengazer output can be redirected to a mouse pointer, imagine the possibilities for disabled users... Especially those who don't have 6000 euro for an entry level commercial device.
 
Old 01-30-2009, 10:31 PM   #27
krel
LQ Newbie
 
Registered: Jan 2009
Location: Dublin, Ireland
Distribution: Started off with RH7.1 in 2000, now Ubuntu
Posts: 10

Rep: Reputation: 0
I've posted a final, working step-by-step guide on the opengazer site. Here's the link:
http://sourceforge.net/forum/forum.p...orum_id=723371

Didn't work. Getting the following error when trying to run ./opengazer

./opengazer: error while loading shared libraries: libvnl.so: cannot open shared object file: No such file or directory

Searched for libvnl.so "Search for Files" util in gnome, but could not find it.

Any ideas?

Step 1
Install Ubuntu Hardy 8.04

Step 2
Log in. Do not do install the updates suggested by the update manager.

Step 3
Just in case
sudo apt-get remove libmpeg2-4
sudo apt-get remove libmpeg2-4-dev
Will probably state package not installed, so not removed.

Step 4
sudo apt-get install libcv-dev libhighgui-dev libcvaux-dev libgtkmm-2.4-dev libcairomm-1.0-dev libboost-dev

Step 5
Download vxl-1.8.0.zip from here
http://www.mirrorservice.org/sites/d.../vxl-1.8.0.zip
Unzip into your /home/user directory, so if your user is krel, you will now have a directory called /home/krel/vxl-1.8.0

Step 6
mkdir /home/krel/build-vxl

cd /home/krel/build-vxl

Step 7
sudo apt-get install cmake
build-essential

Might get a message saying that cmake is already installed.

Step 8
cmake ../vxl-1.8.0 -DBUILD_EXAMPLES:BOOL=OFF -DBUILD_SHARED_LIBS:BOOL=ON -DBUILD_TESTING:BOOL=OFF -DVXL_USE_LFS:BOOL=ON
Last line should state: Configuring done

Step 9
Run the same command again to write the config files
cmake ../vxl-1.8.0 -DBUILD_EXAMPLES:BOOL=OFF -DBUILD_SHARED_LIBS:BOOL=ON -DBUILD_TESTING:BOOL=OFF -DVXL_USE_LFS:BOOL=ON
Last line should now state: Build files have been written to: /home/krel/build-vxl

Step 10
sudo make -Bik install

CMake Error: Error in cmake code at

/home/krel/build-vxl/contrib/gel/vtol/algo/cmake_install.cmake:37:

FILE INSTALL cannot find file "/home/krel/build-vxl/contrib/gel/vtol/algo/CMakeFiles/CMakeRelink.dir/libvtol_algo.so" to install.


Step 11
Download the opengazer source from here
http://www.inference.phy.cam.ac.uk/o...r-0.1.2.tar.gz

Unzip into your /home/user directory, so if your user is krel, you will now have a directory called /home/krel/opengazer-0.1.2

Step 12
Edit /home/krel/opengazer-0.1.2/Makefile

Change the line
VXLDIR = /opt

to the following
VXLDIR = /home/krel/opengazer-0.1.2

Step 13
cd /usr/local/include

sudo ln -s vxl/core/vnl/ .

sudo ln -s vxl/core/vgl/ .

sudo ln -s vxl/core/ .

sudo ln -s vxl/vcl/ .


Step 14
cd /home/krel/opengazer-0.1.2

Step 15
make

Step 16
export LD_LIBRARY_PATH=$VXLDIR/lib

Step 17
Just in case
sudo addgroup $USER video
The user `krel' is already a member of `video'.


Step 18
export VXLDIR=/usr/local/include/vxl

Step 19
export LD_LIBRARY_PATH=$VXLDIR/lib:$LD_LIBRARY_PATH

Step 20
./opengazer

Last edited by krel; 02-02-2009 at 02:41 PM. Reason: Added link to sourceforge with all the steps in sequence
 
Old 01-31-2009, 03:13 AM   #28
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,293

Rep: Reputation: 3164Reputation: 3164Reputation: 3164Reputation: 3164Reputation: 3164Reputation: 3164Reputation: 3164Reputation: 3164Reputation: 3164Reputation: 3164Reputation: 3164
Quote:
./opengazer: error while loading shared libraries: libvnl.so:
cannot open shared object file: No such file or directory
Check, that vxl installed all libs to /usr/local/lib/, there should
be about 90 libs from vxl !! May be opengazer is hardcoded to look
in /usr/lib/ only ?? Try this :
'sudo ln -s /usr/local/lib/libvnl.so /usr/lib/' to see if it is then found.
....
 
Old 01-31-2009, 05:35 AM   #29
krel
LQ Newbie
 
Registered: Jan 2009
Location: Dublin, Ireland
Distribution: Started off with RH7.1 in 2000, now Ubuntu
Posts: 10

Rep: Reputation: 0
Much oblidged knudfl, its working!!!

Step 19.5


Quote:
sudo ln -s /usr/local/lib/libvnl.so /usr/lib/

sudo ln -s /usr/local/lib/libmvl.so /usr/lib/

sudo ln -s /usr/local/lib/libvnl_algo.so /usr/lib/

sudo ln -s /usr/local/lib/libvgl.so /usr/lib/

sudo ln -s /usr/local/lib/libvcl.so /usr/lib/

sudo ln -s /usr/local/lib/libvil1.so /usr/lib/

sudo ln -s /usr/local/lib/libvbl.so /usr/lib/

sudo ln -s /usr/local/lib/libvgl_algo.so /usr/lib/

sudo ln -s /usr/local/lib/libvul.so /usr/lib/

sudo ln -s /usr/local/lib/libnetlib.so /usr/lib/

sudo ln -s /usr/local/lib/libv3p_netlib.so /usr/lib/
 
Old 02-25-2009, 07:56 PM   #30
oiratrebla
LQ Newbie
 
Registered: Feb 2009
Posts: 2

Rep: Reputation: 0
I follow the krel's tutorial, but my opengazer's window is on gray. I can't see the image of my webcam.
I see the terminal window, and I get this message repeatedly:

(opengazer:6157): Gdk-CRITICAL **: gdk_drawable_real_draw_pixbuf: assertion `src_x >= 0 && src_x + width <= pixbuf->width' failed

My webcam works fine on camorama.

This is a screenshot of my problem: hxxp://img8.imageshack.us/img8/3017/opengazererror.jpg

Please help me!
Regards from Argentina.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
New root hard drive in Hardy = boot trouble GTBlackwell Linux - Hardware 4 11-15-2008 03:50 PM
Audio/video (driver) trouble with Ubuntu Hardy on an M3N78-EMH motherboard pbuddenberg Linux - Newbie 5 08-26-2008 12:39 PM
Anyone else having trouble saving files in Hardy? jay73 Ubuntu 1 04-27-2008 12:55 AM
Having trouble using the gtk libraries. debiant Programming 1 09-06-2006 04:53 AM


All times are GMT -5. The time now is 02:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration