Did you set the volume rendering flag to True in CMake when you built it?<br><br><b><i>scsrsao@leeds.ac.uk</i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> Hi... I'm having the same linking problem and I already included the<br>vtkVolumeRendering.lib together with the other libs for vtk... any other idea<br>of why this may be happening???<br><br>thanks,<br>Rodolfo<br><br>>Did you include the vtkVolumeRendering.lib? That is new in 5.0.<br>><br>>Sam<br>><br>>>Runar Lyngset <runarylv at="" stud.ntnu.no=""> wrote: Does anyone have an example of<br>>>Volume Rendering a dataset in VTK 5.0. If<br>>>so, I would very much like to see it since I'm having problems using the<br>>>ray-casting components which worked fine for me in previous VTK versions.<br>>><br>>>I get linking errors when i try to build the program using<br>>>vtkVolumeRayCastMapper and
vtkVolumeRayCastCompositeFunction. I get<br>>>similar errors when using other volume rendering components such as<br>>>vtkVolumeTextureMapper.. Other VTK components work fine in my application.<br>>><br>>>Linking errors in Visual Studio 2005:<br>>><br>>>error LNK2019: unresolved external symbol "__declspec(dllimport) public:<br>>>static class vtkVolumeRayCastMapper * __cdecl<br>>>vtkVolumeRayCastMapper::New(void)"<br>>>(__imp_?New at vtkVolumeRayCastMapper@@SAPAV1 at XZ) referenced in function<br>>>"public: virtual void __thiscall VMainView::fileOpen(void)"<br>>>(?fileOpen at VMainView@@UAEXXZ)<br>>>vmainview.obj : error LNK2019: unresolved external symbol<br>>>"__declspec(dllimport) public: static class<br>>>vtkVolumeRayCastCompositeFunction * __cdecl<br>>>vtkVolumeRayCastCompositeFunction::New(void)"<br>>>(__imp_?New at vtkVolumeRayCastCompositeFunction@@SAPAV1 at XZ)
referenced in<br>>>function "public: virtual void __thiscall VMainView::fileOpen(void)"<br>>>(?fileOpen at VMainView@@UAEXXZ)<br><br>_______________________________________________<br>This is the private VTK discussion list. <br>Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ<br>Follow this link to subscribe/unsubscribe:<br>http://www.vtk.org/mailman/listinfo/vtkusers<br></runarylv></blockquote><br>