<meta http-equiv="content-type" content="text/html; charset=utf-8"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div class="h5">I try to compile the code but there comes this error:</div>
</div>
<br>
build/Debug/GNU-Linux-x86/main.o: In function<br>
`vtkSmartPointer&lt;KeyPressInteractorStyle&gt;::New()&#39;:<br>
/usr/local/include/vtk-5.6/vtkSmartPointer.h:113: undefined reference to<br>
`KeyPressInteractorStyle::New();<br>
<br>
Are there any changes in the properties (maybe the compiler properties)<br>
which I have to do?<br>
<br></blockquote><div><br></div><div>That is what this line is supposed to do: </div></div><meta http-equiv="content-type" content="text/html; charset=utf-8"><span class="Apple-style-span" style="font-family: monospace; font-size: 8.33333px; "><pre class="de1" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-top-color: white; border-right-color: white; border-bottom-color: white; border-left-color: white; color: black; line-height: normal; font-family: monospace; font-weight: normal; font-style: normal; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; background: inherit; ">
vtkStandardNewMacro<span class="br0" style="color: rgb(0, 128, 0); ">(</span>KeyPressInteractorStyle<span class="br0" style="color: rgb(0, 128, 0); ">)</span><span class="sy4" style="color: rgb(0, 128, 128); ">;</span></pre>
<pre class="de1" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-top-color: white; border-right-color: white; border-bottom-color: white; border-left-color: white; color: black; line-height: normal; font-family: monospace; font-weight: normal; font-style: normal; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; background: inherit; ">
<span class="sy4" style="color: rgb(0, 128, 128); "><br></span></pre></span>Does anyone else get the above error?<br><br>David