[Rtk-users] About the FirstReconstruction

侯哥 hougeamm at 126.com
Sun Jul 30 09:51:37 EDT 2017


Hello Everyone,
         The error :
CMakeFiles/FirstReconstruction.dir/FirstReconstruction.cxx.o: In function `rtk::FDKWeightProjectionFilter<itk::Image<float, 3u>, itk::Image<float, 3u> >::BeforeThreadedGenerateData()':
FirstReconstruction.cxx:(.text._ZN3rtk25FDKWeightProjectionFilterIN3itk5ImageIfLj3EEES3_E26BeforeThreadedGenerateDataEv[rtk::FDKWeightProjectionFilter<itk::Image<float, 3u>, itk::Image<float, 3u> >::BeforeThreadedGenerateData()]+0x49): undefined reference to `rtk::ThreeDCircularProjectionGeometry::GetAngularGaps()' "?

can be solved as following:
      In the cmake interface
modify the version of ITK and RTK
In my experiment I set ITK as :  /usr/local/lib/cmake/ITK-4.7
                                    RTK as: /usr/local/lib/cmake/RTK-1.1

Then configure and make. All done.
And the FirstReconstruction ran normally and we can get the result output.mha



Thank you very much!

Houge


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/rtk-users/attachments/20170730/4879b6d9/attachment.html>


More information about the Rtk-users mailing list