[Insight-users] RE: ITK Installation

Chen Hao smhly at hotmail.com
Wed Jul 13 20:41:40 EDT 2005


maybe, this will be helpful...


=======================================================

2) Building VTK

   2.1) Create a binary directory for VTK

        for example

           mkdir ~/bin/VTK


   2.2) Change directory into that directory

              cd ~/bin/VTK


   2.3) From that directory invoke the freshly
        installed "ccmake" application and provide
        as argument the directory where the VTK
        source code is located.


        ~/local/bin/ccmake  ~/src/Course/VTK

        Change the following CMake variables:

        2.3.1)    BUILD_EXAMPLES    = ON
        2.3.2)    BUILD_SHARED_LIBS = ON
        2.3.3)    CMAKE_BUILD_TYPE = Release
        2.3.4)    VTK_USE_HYBRID    = ON
        2.3.5)    VTK_USE_PARALLEL  = ON
        2.3.6)    VTK_USE_PATENTED  = ON
        2.3.7)    VTK_USE_RENDERING = ON


   2.4) Hit the "c" key to configure, then
        hit the "g" key to generate the Makefiles


   2.5) A Makefile should exist now in the current VTK
        binary directory.  Build by simply typing

                    make



3) Building ITK

   3.1) Create a binary directory for ITK

        for example

           mkdir ~/bin/ITK


   3.2) Change directory into that directory

              cd ~/bin/ITK


   3.3) From that directory invoke the freshly
        installed "ccmake" application and provide
        as argument the directory where the ITK
        source code is located.


        ~/local/bin/ccmake  ~/src/Course/ITK

        Change the following CMake variables:

        3.3.1)    BUILD_EXAMPLES    = ON
        3.3.2)    BUILD_SHARED_LIBS = OFF
        3.3.3)    BUILD_TESTING     = OFF
        3.3.4)    CMAKE_BUILD_TYPE = Release


   3.4) Hit the "c" key to configure, then
        hit the "g" key to generate the Makefiles


   3.5) A Makefile should exist now in the current ITK
        binary directory.  Build by simply typing

                    make


=======================================================
>------------------------------
>
>Message: 5
>Date: Wed, 13 Jul 2005 11:33:36 -0400
>From: "hela Masmoudi Khodja" <masmoudihela at hotmail.com>
>Subject: [Insight-users] ITK Installation
>To: insight-users at itk.org
>Message-ID: <BAY103-F333E1E3610B64468555F29CADE0 at phx.gbl>
>Content-Type: text/plain; charset="us-ascii"
>
>An HTML attachment was scrubbed...
>URL: 
>http://public.kitware.com/pipermail/insight-users/attachments/20050713/930b4515/attachment-0001.htm
>
>------------------------------
>

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/



More information about the Insight-users mailing list