Is that an instantiation problem too?

Thanks!

2010/3/23 Adri Vernetta <adrivernetta@gmail.com>

Great!

I suppose this happens in other cases too, because I have now undefined references for other classes like vnl_vector. I will see what is better for me to correct it (getting everything to double or instantiate everything).

Thanks!2010/3/23 Peter Vanroose <peter_vanroose@yahoo.co.uk>

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.

--- Dentis 2010-03-23 skrev Adri Vernetta:<adrivernetta@gmail.com>

Från: Adri Vernetta <adrivernetta@gmail.com>

Ämne: [Vxl-users] vgl_line_2d_regression issue

Till: "Vxl-Users" <vxl-users@lists.sourceforge.net>

Datum: tisdag 23 mars 2010 10.19Hello,

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?

Thanks!

__________________________________________________

Använder du Yahoo!?

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

http://se.mail.yahoo.com