[Insight-users] vnl_vector<short> problem

Miller, James V (Research) millerjv@crd.ge.com
Wed May 12 13:14:16 EDT 2004


It looks like vnl_vector<short> is not one of the explicit
instantiations in the vnl library.  Only int, uint, long, ulong, 
schar, uchar, float, double, long double.

If you add the line

#include <vnl/vnl_vector.txx>

to the code that instantiations a vnl_vector<short>, then an 
implicit instantiation will be created within your program.

Jim


-----Original Message-----
From: Sergio Andres [mailto:sergio@unizar.es]
Sent: Wednesday, May 12, 2004 7:08 AM
To: insight-users@itk.org
Subject: [Insight-users] vnl_vector<short> problem


Hi all,

I am not sure this is the correct list to post this mail ...

My problem is that I cannot define a vnl_vector<short> object.
I get these error messages:

error LNK2001: unresolved external symbol "public: __thiscall 
vnl_vector<short>::~vnl_vector<short>(void)" (??1?$vnl_vector@F@@QAE@XZ)
error LNK2001: unresolved external symbol "public: __thiscall 
vnl_vector<short>::vnl_vector<short>(unsigned int)" (?


Does anyone know anything about this?

I will appreciate any help..

Regards,
Sergio

_______________________________________________
Insight-users mailing list
Insight-users@itk.org
http://www.itk.org/mailman/listinfo/insight-users



More information about the Insight-users mailing list