<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hello everyone,<br>I wrote this simple code but it is not getting compiled.<br>i am getting the following <span style="border-bottom: 1px dashed rgb(0, 102, 204); cursor: pointer;" class="yshortcuts" id="lw_1242328650_0">error message</span>. pls help.<br><br><span style="border-bottom: 1px dashed rgb(0, 102, 204); background: transparent none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; cursor: pointer;" class="yshortcuts" id="lw_1242228619_0">Error message</span>:- undefined reference to 'vtkDataArrayTemplate<short>::Set numbervalues (long long)'<br><br>Can someone compile this code and let me know what is going wrong?<br><br>Rgds<br>Frency<br><br>here is the code<br><br>#include "vtkShortArray.h"<br>
int main()<br>
{ short arrIn[10];<br>
const int indmax=10;<br>
vtkShortArray *dataArr = vtkShortArray::New();<br>
dataArr->SetNumberOfValues(indmax);<br>
}<br><br><span style="border-bottom: 1px dashed rgb(0, 102, 204); background: transparent none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; cursor: pointer;" class="yshortcuts" id="lw_1242228619_0">Error message</span>:- undefined reference to 'vtkDataArrayTemplate<short>::Set numbervalues (long long)'<br><br>
</td></tr></table><br>