[Insight-users] Installation error

Siamak Yousefi syousefy at yahoo.com
Sun Aug 9 12:32:25 EDT 2009


Hi Luis,

Yes, I've copied all the source files in ~/ITK direstory.

Siamak 




________________________________
From: Luis Ibanez <luis.ibanez at kitware.com>
To: Siamak Yousefi <syousefy at yahoo.com>
Cc: insight-users at itk.org
Sent: Saturday, August 8, 2009 10:13:54 PM
Subject: Re: [Insight-users] Installation error

Hi Siamak,

Did you put the source code of ITK in the directory

                       ~/ITK

?

Please confirm,

   Thanks


           Luis


------------------------------

On Sat, Aug 8, 2009 at 6:19 PM, Siamak Yousefi <syousefy at yahoo.com> wrote:

Hi Luis,
>
>Thank you for your comment. I am running ccmake from the binary directory where I want ITK to be built there, ITKb. I run:
>ccmake ~/ITK .
>I have a C shell and I run the following commands before that:
>setenv CC /usr/bin/gcc
>setenv CXX /usr/bin/g++
>
>But I get the mentioned message.
>Siamak
>
>
>
>
________________________________
From: Luis Ibanez <luis.ibanez at kitware.com>
>To: Siamak Yousefi <syousefy at yahoo.com>
>Cc: insight-users at itk.org
>Sent: Saturday, August 8, 2009 9:58:29 AM
>Subject: Re: [Insight-users] Installation error
>
>
>Hi Siamak,
>
>In order to configure ITK, you should run ccmake from the binary directory where
>you want to build ITK, and you should pass as argument the directory where you
>have the source tree of ITK.
>
>Here is an example of how I usually build itk:
>
>
>	* export CC=/usr/bin/gcc-4.2
>	* export CXX=/usr/bin/g++-4.2
>
>	* cd ~/src
>	* cvs -d :pserver:anonymous at www.itk.org:/cvsroot/Insight login
>	* password : insight
>	* cvs -d :pserver:anonymous at www.itk.org:/cvsroot/Insight co Insight
>	* cd ~/bin
>	* mkdir InsightBulid
>	* cd ~/bin/InsightBuild
>	* ccmake ~/src/Insight
>	* make
>Note that here I assume that in my home directory I already have subdirectories
>called "src" and "bin".
>
>Note also that here I'm using GCC 4.2.
>You should replace that with your favorite version of GCC.
>
>
>      Regards,
>
>
>             Luis
>
>
>----------------------------------------------------------------------
>
>On Fri, Aug 7, 2009 at 11:15 AM, Siamak Yousefi <syousefy at yahoo.com> wrote:
>
>
>>
>>Hi,
>>
>>I am trying to install ITK using cmake under linux. I got the error message below during "ccmake ITK". Any help in this regard is highly appreciated.
>>
>>Regards,
>>Siamak Yousefi
>>
>>CMake Error at
>>/home/syouse/cmake/share/cmake-2.6/Modules/CMakeTestCCompiler.cmake:32
>>(MESSAGE):
>>The C compiler "/usr/bin/gcc" is not able to compile a simple test program.
>>It fails with the following output:
>>Change Dir: /home/syouse/ITKb/CMakeFiles/CMakeTmp
>> 
>> 
>>Run Build Command:/usr/bin/gmake "cmTryCompileExec/fast"
>>/usr/bin/gmake -f CMakeFiles/cmTryCompileExec.dir/build.make
>>CMakeFiles/cmTryCompileExec.dir/build
>>gmake[1]: Entering directory `/mnt/sdb1/syouse/ITKb/CMakeFiles/CMakeTmp'
>>
>>
>>_____________________________________
>>Powered by www.kitware.com
>>
>>Visit other Kitware open-source projects at
>>http://www.kitware.com/opensource/opensource.html
>>
>>Please keep messages on-topic and check the ITK FAQ at: http://www.itk.org/Wiki/ITK_FAQ
>>
>>Follow this link to subscribe/unsubscribe:
>>http://www.itk.org/mailman/listinfo/insight-users
>>
>>
>
>



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20090809/77d7fa9f/attachment.htm>


More information about the Insight-users mailing list