[vtkusers] vtk and visual studio

Dominik Szczerba domi at vision.ee.ethz.ch
Mon Dec 17 11:30:27 EST 2007


Looks to me you are not linking to one of the needed dlls, probably 
vtkWidgets.
-- Dominik

On Monday 17 December 2007 17.22:23 Ilinca, Radu wrote:
> I am wroking with Win XP, VS 2005, VTK 5. I  ran the examples. Worked.
> THen I created a new project , respecting the settings of the demo. The
> copy-pasted code worked except for the 5th example from the tutorial. I
> get the following:
>
> vtk.obj : error LNK2019: unresolved external symbol "public: static
> class vtkBoxWidget * __cdecl vtkBoxWidget::New(void)"
> (?New at vtkBoxWidget@@SAPAV1 at XZ) referenced in function _main
> E:\ETH - Z\vtk\VTK\Debug\vtk.exe : fatal error LNK1120: 1 unresolved
> externals
>
>
> Who can help?
>
> Radu.
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers



-- 
Dominik Szczerba, Ph.D.
Computer Vision Lab CH-8092 Zurich
http://www.vision.ee.ethz.ch/~domi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20071217/bc561725/attachment.pgp>


More information about the vtkusers mailing list