[Insight-users] ITK compilation error with Xcode

Luis Ibanez luis.ibanez at kitware.com
Sun Mar 7 11:39:55 EST 2010


Hi Antonin,

Thanks for letting us know that you can now build ITK.


Regarding the ITK_DIR variable:

Yes, you can just set it as an environment variable, in order
to avoid having to set this CMake variable every time that
you configure a new project that uses ITK.

Depending on your shell, this will be done as

         export ITK_DIR=/home/myname/myitkbindir

or

         setenv ITK_DIR /home/myname/myitkbindir



This is convenient if you are using a single version of ITK,
but note that it can lead to annoying issues if you start
installing/building multiple versions of ITK in your computer.


     Regards,


           Luis


------------------------------------------------------------------------------------------
On Sun, Mar 7, 2010 at 11:13 AM, Antonin Perrot-Audet
<antonin07130 at gmail.com> wrote:
>
> Alright, thank you very much, I figured out that I did not need to build the
> 'install' alone, I was just wondering why the "all build" was working, and
> not the "install".
> However, it seems like building the "all build" was enough, but what happens
> now is that when I am working on ITK projects, I always have to set manually
> where are the ITK binaries. I may have to compile ITK again, or can I just
> set this variable?
>
> Thank you for your quick answer.
>
> --
> Antonin Perrot-Audet
> Electrical Engineering&  Computer Sciences, INSA Lyon
> M2 GEGP Signal&  Image Processing, INSA Lyon, UCBL, Centrale Lyon
>
>


More information about the Insight-users mailing list