[vtkusers] Unresolved vtkFixedPointVolumeRayCastMapper

Scott Johnson Scott.Johnson at neuwave.com
Wed Mar 31 09:23:52 EDT 2010


Got it.

Thanks

		-- Scott

-----Original Message-----
From: John Drescher [mailto:drescherjm at gmail.com] 
Sent: Tuesday, March 30, 2010 5:23 PM
To: Scott Johnson
Cc: vtkusers at vtk.org
Subject: Re: [vtkusers] Unresolved vtkFixedPointVolumeRayCastMapper

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