[Insight-users] problem installing ITK using ccmake
Luis Ibanez
luis.ibanez at kitware.com
Sun Jan 28 17:57:05 EST 2007
Hi guizhenghui
How is your tree organized ?
You are supposed to run ccmake from the binary
directory where you want to build ITK, and to give
as command line argument the directory where the
ITK source tree is.
For example, if your disk organization is:
Source tree:
/home/guizhenghui/Insight
Binary tree:
/home/guizhenghui/InsightBinary
Then you should cd into the binary directory
cd /home/guizhenghui/InsightBinary
and from there, call ccmake as
ccmake /home/guizhenghui/Insight
Regards,
Luis
===================
guizhenghui wrote:
> Hi Luis:
>
> Thank for your answer. I use bash-2.05
> And I followed your advice:
>
> export CC=gcc
> export CXX=g++
> export ITK_SOURCE_DIR=~/soft/ITC/InsightToolkit-3.0.0
> export ITK_BINARY_DIR=~/soft/ITC/Insight-binary/
> cd ~/soft/ITC/Insight-binary
> ccmake ../InsightToolkit-3.0.0
>
> Unfortunately, I got the same error.
>
>
>
>
> -----邮件原件-----
> 发件人: Luis Ibanez [mailto:luis.ibanez at kitware.com]
> 发送时间: 2007年1月24日 23:00
> 收件人: guizhenghui
> 抄送: insight-users at itk.org
> 主题: Re: [Insight-users] problem installing ITK using ccmake
>
>
> Hi guizhenghui
>
> You *MUST* set the values of the CC and CXX environment
> variables *before* running CMake.
>
> If you did not find the setenv command you probably
> should try the "export" command.
>
> What Unix Shell do you use ?
>
> Some shells use 'setenv' while others use 'export'
>
>
>
> Regards,
>
>
> Luis
>
>
> --------------------
> guizhenghui wrote:
>
>>When installing itk on Linux , I followed the instructions in getting
>>started.txt
>>
>>However, after typing the command
>>
>>
>>
>>ccmake Insight
>>
>>
>>
>>
>>
>>I got the error : error running cmake::LoadCache abording
>>
>>
>>
>> I did not set the gcc and g++ compiler, since the setenv command not
>>found in my system.
>>
>>Also, I did not set the ITK_SOURCE_DIR and the ITK_BINARY_DIR
>>
>>
>>
>>Are these caused the problem ?
>>
>>
>>Thank you very much !~
>>
>>
>>------------------------------------------------------------------------
>>
>>_______________________________________________
>>Insight-users mailing list
>>Insight-users at itk.org
>>http://www.itk.org/mailman/listinfo/insight-users
>
>
>
>
More information about the Insight-users
mailing list