[vtkusers] Can someone please correct this code
frency v
frencyvarghese at yahoo.com
Wed May 13 11:32:37 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 in computer 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/20090513/32017949/attachment.htm>
More information about the vtkusers
mailing list