[vtkusers] Unresolved vtkFixedPointVolumeRayCastMapper

John Drescher drescherjm at gmail.com
Tue Mar 30 18:22:42 EDT 2010


On Tue, Mar 30, 2010 at 6:18 PM, Scott Johnson
<Scott.Johnson at neuwave.com> wrote:
> Hi Folks,
>
>
>
> I’m in the process of moving from Python to C++ and am trying to create a
> class which creates a MIP rendering pipeline.  It uses
> vtkFixedPointVolumeRayCastMapper.  Everything compiles fine except for an
> unresolved external symbol related to vtkFixedPointVolumeRayCastMapper.  Do
> I have to link with a specific dll to make this resolve?
>
>
>
> I’m on Windows XP with VTK 5.4.2.  The error is:
>
>
>
> 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 "protected: void __thiscall MIPRender::CreatePipeline(class
> vtkAlgorithmOutput *)"
> (?CreatePipeline at MIPRender@@IAEXPAVvtkAlgorithmOutput@@@Z)
>
>
>
> Thanks
>
Add vtkVolumeRendering to your TARGET_LINK_LIBRARIES in your
CMakeLists.txt file.

John



More information about the vtkusers mailing list