[vtkusers] Problems creating a subclass
Dmitri Danewitz
d.danewitz at yahoo.de
Fri Jun 20 07:37:22 EDT 2008
Hi David. I already had linked all the .*lib in the lib directory and use C++ (MS Visual 2005)
Here´s the text from the "linker-Input" line:
C:\vtk42\lib\vtk\*.lib odbc32.lib odbccp32.lib
Still I get the LNk2001 whenever I try to make a subclass.
Greets
Dmitri
--- David Cole <david.cole at kitware.com> schrieb am Fr, 20.6.2008:
Von: David Cole <david.cole at kitware.com>
Betreff: Re: [vtkusers] Creating a subclass of a vtk class
An: d.danewitz at yahoo.de
CC: vtkusers at vtk.org
Datum: Freitag, 20. Juni 2008, 10:44
You need to link against vtkCommon.
If you are (presumably) using CMake, you would need:
TARGET_LINK_LIBRARIES(myLib vtkCommon)
in your CMakeLists.txt file.
HTH,
David
On Fri, Jun 20, 2008 at 5:14 AM, Dmitri Danewitz <d.danewitz at yahoo.de> wrote:
Hi!
When I try to create an object from a subclass of a vtk superclass compiler complains:
error LNK2001: unresolved external symbol "public: virtual void __thiscall vtkObjectBase::
Does someone know what could be the matter?
Gesendet von Yahoo! Mail.
Dem pfiffigeren Posteingang.
_______________________________________________
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
__________________________________________________________
Gesendet von Yahoo! Mail.
Dem pfiffigeren Posteingang.
http://de.overview.mail.yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20080620/3dd364e0/attachment.htm>
More information about the vtkusers
mailing list