Re: [Vxl-users] vxl include files missing

On 17/01/2011 12:24, Mark Tarrant wrote:
> Ubuntu 9.10 Karmic Koala
> vxl-1.14.0
>
> I am trying to compile open gazer so I need to build vxl from source.
> I am following the VXL install instructions from here:
> http://vxl.sourceforge.net/releases/install-release.html
>
> I have unzipped the vxl source
> to /home/markt/Track-I/Open-Gazer/vxl-1.14.0
> and created a bin directory for shared libs here
> /home/markt/Track-I/Open-Gazer/bin
> as per the instructions.
>
> I have run ccmake $VXLSRC
> set BUILD_SHARED_LIBS to ON.
> and set CMAKE_INSTALL_PREFIX to /home/markt/Track-I/Open-Gazer/bin
> The cmake configuration completes with no errors and the make files are
> generated. vxl builds with no errors.
>
> When I try to compile open gazer I get the following errors relating to
> missing include files.
>
> markt@...:~/Track-I/Open-Gazer/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/markt/Track-I/Open-Gazer/bin/include/core
> -I/home/markt/Track-I/Open-Gazer/bin/include/vcl
> -I/home/markt/Track-I/Open-Gazer/bin/include/contrib/oxl
> -I/home/markt/Track-I/Open-Gazer/bin/include/vxl/core
> -I/home/markt/Track-I/Open-Gazer/bin/include/vxl/vcl
> -I/home/markt/Track-I/Open-Gazer/bin/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
>
> When I look at the vxl I see that a lib directory has been created
> containing all the shared libs but that no include directory has been
> generated.
>
> I have read a bit about cmake and looked at the cmake files - it looks
> to me like the header files should be installed to
> /home/markt/Track-I/Open-Gazer/bin/include
> and various subdirs beneath that.
>
> I just can't work out why the include files have not been installed.
I never use the cmake install functionality and can't comment on this
specific question. However, all the include files are in the vxl source
directory $VXLSRC, so you can either
1. Manually copy all the include files across. It looks like Open-Gazer
is expecting the install to keep the same directory layout, so you will
need something slightly more compilcated than a
2. Hack the open gazer makefiles or configure script to use the existing
existing VXL source directory.
Note that there are a few include files in the VXL binary directories.
So you might also need to copy the include files from, or point the make
file at, $VXLBIN/vcl and $VXLBIN/core
Ian.

Thread view

Ubuntu 9.10 Karmic Koala
vxl-1.14.0
I am trying to compile open gazer so I need to build vxl from source.
I am following the VXL install instructions from here:
http://vxl.sourceforge.net/releases/install-release.html
I have unzipped the vxl source
to /home/markt/Track-I/Open-Gazer/vxl-1.14.0
and created a bin directory for shared libs here
/home/markt/Track-I/Open-Gazer/bin
as per the instructions.
I have run ccmake $VXLSRC
set BUILD_SHARED_LIBS to ON.
and set CMAKE_INSTALL_PREFIX to /home/markt/Track-I/Open-Gazer/bin
The cmake configuration completes with no errors and the make files are
generated. vxl builds with no errors.
When I try to compile open gazer I get the following errors relating to
missing include files.
markt@...:~/Track-I/Open-Gazer/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/markt/Track-I/Open-Gazer/bin/include/core
-I/home/markt/Track-I/Open-Gazer/bin/include/vcl
-I/home/markt/Track-I/Open-Gazer/bin/include/contrib/oxl
-I/home/markt/Track-I/Open-Gazer/bin/include/vxl/core
-I/home/markt/Track-I/Open-Gazer/bin/include/vxl/vcl
-I/home/markt/Track-I/Open-Gazer/bin/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
When I look at the vxl I see that a lib directory has been created
containing all the shared libs but that no include directory has been
generated.
I have read a bit about cmake and looked at the cmake files - it looks
to me like the header files should be installed to
/home/markt/Track-I/Open-Gazer/bin/include
and various subdirs beneath that.
I just can't work out why the include files have not been installed.
Thanks in advance for any help.
Mark

Ubuntu 9.10 Karmic Koala
vxl-1.14.0
I am trying to compile open gazer so I need to build vxl from source.
I am following the VXL install instructions from here:
http://vxl.sourceforge.net/releases/install-release.html
I have unzipped the vxl source
to /home/markt/Track-I/Open-Gazer/vxl-1.14.0
and created a bin directory for shared libs here
/home/markt/Track-I/Open-Gazer/bin
as per the instructions.
I have run ccmake $VXLSRC
set BUILD_SHARED_LIBS to ON.
and set CMAKE_INSTALL_PREFIX to /home/markt/Track-I/Open-Gazer/bin
The cmake configuration completes with no errors and the make files are
generated. vxl builds with no errors.
When I try to compile open gazer I get the following errors relating to
missing include files.
markt@...:~/Track-I/Open-Gazer/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/markt/Track-I/Open-Gazer/bin/include/core
-I/home/markt/Track-I/Open-Gazer/bin/include/vcl
-I/home/markt/Track-I/Open-Gazer/bin/include/contrib/oxl
-I/home/markt/Track-I/Open-Gazer/bin/include/vxl/core
-I/home/markt/Track-I/Open-Gazer/bin/include/vxl/vcl
-I/home/markt/Track-I/Open-Gazer/bin/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
When I look at the vxl I see that a lib directory has been created
containing all the shared libs but that no include directory has been
generated.
I have read a bit about cmake and looked at the cmake files - it looks
to me like the header files should be installed to
/home/markt/Track-I/Open-Gazer/bin/include
and various subdirs beneath that.
I just can't work out why the include files have not been installed.
Thanks in advance for any help.
Mark

On 17/01/2011 12:24, Mark Tarrant wrote:
> Ubuntu 9.10 Karmic Koala
> vxl-1.14.0
>
> I am trying to compile open gazer so I need to build vxl from source.
> I am following the VXL install instructions from here:
> http://vxl.sourceforge.net/releases/install-release.html
>
> I have unzipped the vxl source
> to /home/markt/Track-I/Open-Gazer/vxl-1.14.0
> and created a bin directory for shared libs here
> /home/markt/Track-I/Open-Gazer/bin
> as per the instructions.
>
> I have run ccmake $VXLSRC
> set BUILD_SHARED_LIBS to ON.
> and set CMAKE_INSTALL_PREFIX to /home/markt/Track-I/Open-Gazer/bin
> The cmake configuration completes with no errors and the make files are
> generated. vxl builds with no errors.
>
> When I try to compile open gazer I get the following errors relating to
> missing include files.
>
> markt@...:~/Track-I/Open-Gazer/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/markt/Track-I/Open-Gazer/bin/include/core
> -I/home/markt/Track-I/Open-Gazer/bin/include/vcl
> -I/home/markt/Track-I/Open-Gazer/bin/include/contrib/oxl
> -I/home/markt/Track-I/Open-Gazer/bin/include/vxl/core
> -I/home/markt/Track-I/Open-Gazer/bin/include/vxl/vcl
> -I/home/markt/Track-I/Open-Gazer/bin/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
>
> When I look at the vxl I see that a lib directory has been created
> containing all the shared libs but that no include directory has been
> generated.
>
> I have read a bit about cmake and looked at the cmake files - it looks
> to me like the header files should be installed to
> /home/markt/Track-I/Open-Gazer/bin/include
> and various subdirs beneath that.
>
> I just can't work out why the include files have not been installed.
I never use the cmake install functionality and can't comment on this
specific question. However, all the include files are in the vxl source
directory $VXLSRC, so you can either
1. Manually copy all the include files across. It looks like Open-Gazer
is expecting the install to keep the same directory layout, so you will
need something slightly more compilcated than a
2. Hack the open gazer makefiles or configure script to use the existing
existing VXL source directory.
Note that there are a few include files in the VXL binary directories.
So you might also need to copy the include files from, or point the make
file at, $VXLBIN/vcl and $VXLBIN/core
Ian.

On 19/01/2011 10:51, Mark Tarrant wrote:
> Thanks Ian,
> I didn't fancy manually copying 3937 header files so I opted to hack the
> opengazer makefile. For the benefit of anyone else who encounters this
> problem these are the changes I made to the Makefile.
Well I didn't mean that manually - just a little bash script or
something to do it. But if you've got it working, then that is fine.
<snip>
> Otherwise if this is not the place for opengazer problems can you
> suggest where I can get help on opengazer.
I am afraid that this isn't the place for open-gazer problems. We aren't
its users or maintainers. I can only suggest the obvious sources of
help, e.g. authors of open-gazer
http://www.inference.phy.cam.ac.uk/opengazer/
Ian.