I'm also running VXL under Ubuntu 10.04.  It looks like you're not compiling or linking some dependent libraries (like vcl and vil).  

The easiest way to use VXL is by using CMake and then the Unix Makefiles it automatically generates.  You could probably also directly link libvil.a and libvcl.a if you have compiled libraries.  

Could you send the compiler output? 


On Sun, Oct 17, 2010 at 10:55 AM, Jorge Vega <> wrote:
 Hi all.

I'm newbie using VXL library. I use Ubuntu 10.04 and VXL 1.14 installed
from Ubuntu Software center. I installed the library and the dev package.

I want to compile a simple example.


#include <vcl_iostream.h>
#include <vxl_config.h>
#include <vil/vil_rgb.h>
#include <vil/vil_load.h>
#include <vil/vil_image_view.h>

int main()
 // Load image into memory.
 vil_image_view<vil_rgb<vxl_byte> > img = vil_load("foo.ppm");

 // Access pixel (100,100) and print its value as an int.
 vcl_cerr << "Pixel 100,100 = " << img(100,100) << vcl_endl;

 return 0;

Under terminal I type: g++ example.cpp -o example
But many error messages are throwed like  vcl_iostream doesn't exist.

PLease, could you help me.


Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
Vxl-users mailing list

Andrew Miller
Research Developer
Computer Vision Group, Inc