Hi,

I am trying to dynamically link (DLL) the various libraries in vxl for the example which loads images but I am getting numerious errors.

The example am trying to link is below:

#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()
{
vil_image_view<vil_rgb<vxl_byte> > img;
img = vil_load("foo.ppm");
vcl_cerr << "Pixel 100,100 = " << img(100,100) << vcl_endl;

}
Can someone be kind enough to show me how to dynamically link this simple example program from the vxl book.

Cheers


Beyond Hotmail - see what else you can do with Windows Live. Find out more.