Are you using CMake to generate your Borland makefile?<br>Are you using a build of VTK also built with CMake / Borland makefiles?<br><br>That is the normal/expected VTK use.<br><br>If you have built VTK and want to use it *without* using CMake to drive the build of your project, then you have to add stuff to the Borland project to enable including VTK header files and linking to VTK libraries.
<br><br>As I am not a Borland GUI user, I do not know how to tell you to add a VTK library through Borland&#39;s GUI. Unresolved external errors mean that some library is missing from the link line -- if you are using a CMake based project, this should just work; if you are using Borland&#39;s IDE/GUI then you are on your own... :-)
<br><br>Any other Borland IDE users out there that can help Walter?<br><br>HTH,<br>David<br><br><br><div><span class="gmail_quote">On 11/13/07, <b class="gmail_sendername">Walter Cabrera</b> &lt;<a href="mailto:walter@eresmas.net">
walter@eresmas.net</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>Dear Kent and David:<br><br><br>This is the source:
<br><br>#include &lt;vcl.h&gt;<br>#pragma hdrstop<br><br>#include &quot;Unit1.h&quot;<br>#include &lt;vtkBMPReader.h&gt;<br>//---------------------------------------------------------------------------<br>#pragma package(smart_init)
<br>#pragma resource &quot;*.dfm&quot;<br>TForm1 *Form1;<br>//---------------------------------------------------------------------------<br>__fastcall TForm1::TForm1(TComponent* Owner)<br>&nbsp;&nbsp;: TForm(Owner)<br>{<br>&nbsp;&nbsp;vtkBMPReader *bmpReader=vtkBMPReader::New();
<br>}<br><br>and this is the error<br><br>[Linker Error] Unresolved external &#39;vtkBMPReader::New()&#39; referenced from<br>C:\VTK\UNIT1.OBJ<br><br>I think that the error is in link step.<br><br>Thanks<br><br><br><br>Kent Eschenberg wrote:
<br>&gt;<br>&gt; Nevertheless David is correct: there is no such class as VTKBMPReader. Why<br>&gt; not<br>&gt; correct this error and see what happens?<br>&gt;<br>&gt; Kent<br>&gt;<br>&gt; Walter Cabrera wrote:<br>&gt;&gt; Hi dear David:
<br>&gt;&gt;<br>&gt;&gt; This it is not the mistake because the compilation step executes<br>&gt;&gt; successfully, vtkBMPReader is written correctly in the source, the error<br>&gt;&gt; is<br>&gt;&gt; in the step of link.
<br>&gt;&gt;<br>&gt;&gt; Thanks<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; David Cole wrote:<br>&gt;&gt;&gt; There is no VTKBMPReader with upper case VTK... If that&#39;s printed, it&#39;s<br>&gt;&gt;&gt; a<br>&gt;&gt;&gt; typo.
<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; Try &quot;vtkBMPReader&quot;<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; HTH,<br>&gt;&gt;&gt; David<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; On 11/6/07, Walter Cabrera &lt;<a href="mailto:walter@eresmas.net">walter@eresmas.net
</a>&gt; wrote:<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; Hi.<br>&gt;&gt;&gt;&gt; My environment is the compiler C++ Builder 6.0.&nbsp;&nbsp;I am trying to execute<br>&gt;&gt;&gt;&gt; the<br>&gt;&gt;&gt;&gt; example of the VTK User&#39;s Guide (page 54). Using the VTKBMPReader class
<br>&gt;&gt;&gt;&gt; in<br>&gt;&gt;&gt;&gt; the instruction<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; VTKBMPReader* bmpreader=VTKBMPReader::New(); I get the error<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Linker error unresolved external &quot;VTKBMPReader::New()&quot;
<br>&gt;&gt;&gt;&gt; referenced from unit3.obj<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I suppose that this error is related with the cmake<br>&gt;&gt;&gt;&gt; configuration I use. Can someone help me and give a hint?
<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Thanks<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; --<br>&gt;&gt;&gt;&gt; View this message in context:<br>&gt;&gt;&gt;&gt; <a href="http://www.nabble.com/Linker-error-unresolved-external-in-C%2B%2B-Builder-6.0-tf4757672.html#a13605341">
http://www.nabble.com/Linker-error-unresolved-external-in-C%2B%2B-Builder-6.0-tf4757672.html#a13605341</a><br>&gt;&gt;&gt;&gt; Sent from the VTK - Users mailing list archive at <a href="http://Nabble.com">Nabble.com</a>.<br>
&gt; _______________________________________________<br>&gt; This is the private VTK discussion list.<br>&gt; Please keep messages on-topic. Check the FAQ at:<br>&gt; <a href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ
</a><br>&gt; Follow this link to subscribe/unsubscribe:<br>&gt; <a href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>&gt;<br>&gt;<br><br>--<br>View this message in context: 
<a href="http://www.nabble.com/Linker-error-unresolved-external-in-C%2B%2B-Builder-6.0-tf4757672.html#a13721502">http://www.nabble.com/Linker-error-unresolved-external-in-C%2B%2B-Builder-6.0-tf4757672.html#a13721502</a><br>
Sent from the VTK - Users mailing list archive at <a href="http://Nabble.com">Nabble.com</a>.<br><br>_______________________________________________<br>This is the private VTK discussion list.<br>Please keep messages on-topic. Check the FAQ at: 
<a href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a><br>Follow this link to subscribe/unsubscribe:<br><a href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers
</a><br></blockquote></div><br>