[vtkusers] Link errors in volProt.cxx ezample
David Doria
daviddoria at gmail.com
Fri Jan 14 13:24:49 EST 2011
On Fri, Jan 14, 2011 at 1:23 PM, Leonid Dulman <leonid_dulman at yahoo.co.uk>wrote:
> Hi David
> For you example
> I have got
>
> Microsoft (R) Incremental Linker Version 10.00.20506.01
> Copyright (C) Microsoft Corporation. All rights reserved.
>
> /out:intren.exe
> /out:intren.exe
> intren.obj
> d:\vtk\lib\vtkRendering.lib
> d:\vtk\lib\vtkCommon.lib
> d:\vtk\lib\vtkFiltering.lib
> d:\vtk\lib\vtkIO.lib
> d:\vtk\lib\vtkImaging.lib
> d:\vtk\lib\vtkGraphics.lib
> d:\vtk\lib\vtkWidgets.lib
> d:\vtk\lib\vtkInfovis.lib
> intren.obj : error LNK2019: unresolved external symbol
> "__declspec(dllimport) public: void __thiscall
> vtkVolumeMapper::SetBlendModeToMinimumIntensity(void)"
> (__imp_?SetBlendModeToMinimumIntensity at vtkVolumeMapper@@QAEXXZ) referenced
> in function _main
> intren.obj : error LNK2019: unresolved external symbol
> "__declspec(dllimport) public: static class vtkFixedPointVolumeRayCastMapper
> * __cdecl vtkFixedPointVolumeRayCastMapper::New(void)"
> (__imp_?New at vtkFixedPointVolumeRayCastMapper@@SAPAV1 at XZ) referenced in
> function "public: static class vtkSmartPointer<class
> vtkFixedPointVolumeRayCastMapper> __cdecl vtkSmartPointer<class
> vtkFixedPointVolumeRayCastMapper>::New(void)" (?New@
> ?$vtkSmartPointer at VvtkFixedPointVolumeRayCastMapper@@@@SA?AV1 at XZ)
> intren.exe : fatal error LNK1120: 2 unresolved externals
>
> Thank you. Leonid
>
>
Please keep the discussion on the list.
That is the same error. Are you using the CMakeLists.txt file that is also
on that example page?
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110114/f03fe684/attachment.htm>
More information about the vtkusers
mailing list