[vtkusers] vtkSmartVolumeMapper gives error LNK2019

John Drescher drescherjm at gmail.com
Wed Jun 13 13:34:10 EDT 2012


On Wed, Jun 13, 2012 at 1:30 PM, amir_k <kacakici at hotmail.com> wrote:
> Hello everyone,
>
> I'm trying to use vtkSmartVolumeMapper for my DICOM volume rendering but it
> happens that this class gives error to my program when I compile it:
>
> "error LNK2019:unresolved external symbol" _declspec(dllimport)public:static
> class vtkSmartVolumeMapper*_..."
>
> I'm running my program in visual studio 2008 and my vtk is vtk 5.8
>
> Thank you so much for your help.
>

Did you add ${VTK_LIBRARIES} to your target_link_libraries for your
applications CMakeLists.txt?

John



More information about the vtkusers mailing list