There's only an instantiation for vgl_line_2d_regression<double>, so if you are using e.g. vgl_line_2d_regression<float> you'll have to instantiate.
Just copy core/vgl/algo/Templates/vgl_line_2d_regression+double-.cxx to core/vgl/algo/Templates/vgl_line_2d_regression+float-.cxx, change "double" by "float" inside the file, then re-run CMake and make.

Alternatively replace #include <vgl/algo/vgl_line_2d_regression.h> by #include <vgl/algo/vgl_line_2d_regression.txx> in your application.

-- Peter.

--- Den tis 2010-03-23 skrev Adri Vernetta <>:

Från: Adri Vernetta <>
Ämne: [Vxl-users] vgl_line_2d_regression issue
Till: "Vxl-Users" <>
Datum: tisdag 23 mars 2010 10.19


I'm trying to use the vgl_line_2d_regression class but when linking it doesn't find the references relating to it.

I'm including the libvgl and libvgl_algo to the Libs (and with all the libvil references it works).

Is vgl_line_2d_regression not anymore inside libvgl_algo?


Använder du Yahoo!?
Är du trött på spam? Yahoo! E-post har det bästa spamskyddet som finns