[Rtk-users] ITK cmake settings
Simon Rit
simon.rit at creatis.insa-lyon.fr
Wed Feb 13 04:47:49 EST 2013
Hi Cyril,
Very good questions.
ITK_USE_REVIEW is ITK 3.20 related, I don't think it is required in ITK 4.
It is very much advised to use FFTW because it is faster and more
flexible in terms of projection dimensions. Both single and double
precision can be turned on. It works for me, can you send us a report
on the conflict you get? Do you use the system fftw or you let ITK4
download it?
In order to track bugs in your code, yes, you need to compile ITK with
debug or RelWithDebInfo because the crash might be in the itk part and
even if not, the compilation might be difficult (if possible) with itk
in release and rtk in debug.
There is no recommendation with shared libraries except that we have
encountered difficulties in the past with shared libraries and cuda.
You'll probably have to add a -fPIC options to make it work. I am used
to use static libraries by default but I don't have a real good
argument for this.
I would also recommend turning off BUILD_EXAMPLES and BUILD_TESTING
for rapidity and ITK_BUILD_ALL_MODULES in itk4 to be sure that you
have everything required.
Don't hesitate to report any other option that we would have overlooked.
Simon
On Wed, Feb 13, 2013 at 10:21 AM, MORY, CYRIL <Cyril.Mory at philips.com> wrote:
> Hi,
>
>
>
> I’m reinstalling ITK and RTK, and I was wondering which CMAKE options in ITK
> were recommended for the use of RTK.
>
> The wiki says to switch ITK_USE_REVIEW on, which I did, but it doesn’t give
> any more advice.
>
>
>
> So here are my questions (some of which probably have nothing to do with
> RTK, sorry) :
>
>
>
> - What about the FFTW-related options ? RTK uses FFTW to
> ramp-filter the projections, right ? Should I activate the single precision
> or the double precision FFTW ? (I tried activating both, it lead to some
> kind of conflict and the linker couldn’t find the libraries)
>
> - In order to be able to track an error in my RTK code and see
> where it crashes in ITK, do I need to compile ITK in Debug mode ?
>
> - Do you have recommendations about the BUILD_SHARED_LIBRARIES
> option (other than the simple difference between shared and static
> libraries) ?
>
> - Anything else ?
>
>
>
> Regards,
>
> ==========================================
>
> Cyril Mory
>
> PhD student at Philips Medisys and CREATIS
>
>
>
> Groupement Hospitalier Est
>
> Hôpital Cardiologique Louis Pradel
>
> Laboratoire CREATIS - Bât. B13
>
> CNRS UMR5220, INSERM U1044, INSA-Lyon, Univ. Lyon 1
>
> 28, Avenue du Doyen LEPINE
>
> 69677 Bron cedex FRANCE
>
>
>
> Office : +33 4 72 35 74 12
>
> Cell : +33 6 69 46 73 79
>
>
>
>
> ________________________________
> The information contained in this message may be confidential and legally
> protected under applicable law. The message is intended solely for the
> addressee(s). If you are not the intended recipient, you are hereby notified
> that any use, forwarding, dissemination, or reproduction of this message is
> strictly prohibited and may be unlawful. If you are not the intended
> recipient, please contact the sender by return e-mail and destroy all copies
> of the original message.
>
> _______________________________________________
> Rtk-users mailing list
> Rtk-users at openrtk.org
> http://public.kitware.com/cgi-bin/mailman/listinfo/rtk-users
>
More information about the Rtk-users
mailing list