[vtkusers] Multiframe Dicom volume rendering

Mathieu Malaterre mathieu.malaterre at gmail.com
Fri Apr 9 05:38:16 EDT 2010


On Fri, Apr 9, 2010 at 11:22 AM, pete-c <pcwhizzkid at hotmail.com> wrote:
>
>
> malat wrote:
>>
>>
>> Search for vtkGDCMImageReader in the VTK FAQ.
>>
>>
>
> Thanks for the quick reply, I've tried to use this in my code, but when I
> compile, I get the error:
> (I'm developping in ubuntu linux just for reference)
>
> CMakeFiles/show3dDicom.dir/show3dDicom.cxx.o: In function `main':
> show3dDicom.cxx:(.text+0x112): undefined reference to
> `vtkGDCMImageReader::New()'
> collect2: ld returned 1 exit status
> make[2]: *** [show3dDicom] Error 1
> make[1]: *** [CMakeFiles/show3dDicom.dir/all] Error 2
> make: *** [all] Error 2
>
> I presume this is a problem with the runtime libraries, but I'm not sure
> which files I need, or where they are.
>

http://sourceforge.net/apps/mediawiki/gdcm/index.php?title=Common_questions#How_do_I_use_GDCM_in_my_project_.3F

Watch out that the .so file are in a separate -dev package on debian
(and derivative linux distro). You need to install libvtkgdcm2-dev.

HTH
-- 
Mathieu



More information about the vtkusers mailing list