|
|
|
|
|
| [oats-sig] open gazer problems | |
|
Steve Lee
steve at fullmeasure.co.uk
|
|
| Article: [oats-sig] open gazer problems | |
|
Hi Chris, yes, and to give a little more detail to my previous reply.... taking theLeastSquares.h:2:28 error as an example Look in the file LeastSquares.h line 28 it will have a line something like #include <vnl.vnl_vector.h> or #include "vnl.vnl_vector.h" I'm guess from the error it has <vnl/vnl_vector.h>. The critical thing is if it is prefixed 'vnl/'. if so then the compiler will search for a file 'vnl/vnl_vector.h' under each of the paths specified in you makefile with INCLUDES. In other words vnl_vector.h is sought in a folder vnl under each given path. (if the #include "file" form is used life is a little more complex but we can probably ignore that) If your vnl_vector.h is not in such a folder then you can either copy all of them for a quick fix or change the makefile to change where the compiler is told to look. I'm afraid I'm tied up at the mo and can't check the real files but perhaps stephen can shed a little more light on the matter? * stephen where are your vnl headers? I have Gutsy so will try, but it probably won't be till next week. Steve On 06/11/2007, Chris Feser <chrimp at gmx.de> wrote: > > Thx. > I think I have a problem wih the header files. > Should they be there, where I compiled VXL into? > BUILD_SHARED_LIBS are ON and I changes the CMAKE_INSTALL_PREFIX to /usr/bin > because I compiled VLX now into this directory. > > Could yo please tell me, where are the header files should be? > > I use ubuntu 7.10 Gutsy > > cheers > chris > > > Stephen Emslie wrote: > > > > Now that I'm home perhaps I can compare my own Makefile. > > > >> but my compiled vxl is there: > >> /home/chris/Desktop/software/bin > > ... > >> My Makefile looks like this: > >> # required libraries: vxl, opencv, boost, gtkmm > >> > >> VXLDIR = /home/chris/Desktop/software/bin > > > > It could be that the header files built when installing vxl are not in > > /home/chris/Desktop/software/bin? When you configured vxl with cmake, > > what was "CMAKE_INSTALL_PREFIX" set to (mine is /usr - same as > > VXLDIR)? Obviously "BUILD_SHARED_LIBS" needs to be on for this to > > work. > > > > The only thing I really had to change in the Makefile was to set the > > VXLDIR to the same as the install prefix. > > > > Best of luck > > > > Stephen Emslie > > > > > > > > -- > View this message in context: http://www.nabble.com/Re%3A-open-gazer-tf4558293.html#a13615292 > Sent from the OATS Project Interest Group mailing list archive at Nabble.com. > > > -- Steve Lee -- Jambu - Alternative Access to Computers www.fullmeasure.co.uk |
|
| Main Becta Site | | Return to top |