[vtkusers] Can someone with vtk 5.2.1 please compile this code
frency v
frencyvarghese at yahoo.com
Thu May 14 15:18:42 EDT 2009
Hello everyone,
I wrote this simple code but it is not getting compiled.
i am getting the following error message. pls help.
Error message:- undefined reference to 'vtkDataArrayTemplate<short>::Set numbervalues (long long)'
Can someone compile this code and let me know what is going wrong?
Rgds
Frency
here is the code
#include "vtkShortArray.h"
int main()
{ short arrIn[10];
const int indmax=10;
vtkShortArray *dataArr = vtkShortArray::New();
dataArr->SetNumberOfValues(indmax);
}
Error message:- undefined reference to 'vtkDataArrayTemplate<short>::Set numbervalues (long long)'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20090514/1addd752/attachment.htm>
More information about the vtkusers
mailing list