[Insight-users] ITKConfig..

Luis Ibanez luis.ibanez@kitware.com
Sun, 27 Apr 2003 22:18:09 -0400


Hi Yasser,

Please follow Julien's advice,
As he said, you simply have to point ITK_DIR
to the binary directory where you build ITK.

 From your message it actually looks like you
are trying to built the HelloWorld example
before building the ITK library itself.

Please build ITK following the instructions
on InsightStart.pdf in the Insight/Documentation
directory.

Only after you have build ITK, you will be able
to experiment with the HelloWorld.cxx example.


   Luis



----------------------
yasser salman wrote:
> hi julien..
> i think "Where to build the binaries" can be any output directory as a read in userguid.pdf and if it's not found cmake can create it..,
> the problem that i have only the two files "ITKConfig.cmake.in" and 
>  "itkGenerateITKConfig.cmake" and cmake search for "ITKConfig.cmake.in" 
> ..
> yasser
> 
> 
> --- "Julien Jomier" <jjomier@cs.unc.edu> wrote:
> 
>>Hi Yasser,
>>
>>When you run CMake on the Insight directory, you have to specify:
>>
>>"Where is the source code: " : This is your source directory
>>"Where to build the binaries " : This is the binary directory
>>
>>So when you run Cmake on the HelloWord you have to point the ITK_DIR to the
>>Insight binary directory you've previously defined.
>>
>>Let me know if this is clear enough.
>>
>>Julien
>>