Hi all,<br><br>If I build ITK in /home/doriad/build/ITK, and then in my .bashrc add:<br><br>export ITK_DIR=/home/doriad/build/ITK<br><br>when I start a new terminal and configure a project that needs ITK, it is found no problem - all is well.<br>
<br>However, if I then install ITK (make install) to /home/doriad/bin (set with CMAKE_INSTALL_PREFIX), and add to .bashrc:<br><br>export PATH=/home/doriad/bin/:$PATH<br>export PATH=/home/doriad/bin/bin:$PATH<br>export LD_LIBRARY_PATH=/home/ddoria/bin/lib:$LD_LIBRARY_PATH<br>
export C_INCLUDE_PATH=/home/doriad/bin/include:$C_INCLUDE_PATH<br>export CPLUS_INCLUDE_PATH=/home/doriad/bin/include:$CPLUS_INCLUDE_PATH<br><br>and then in a new terminal try again with a clean folder of the project, ITK is not found:<br>
<br> CMake Error at Examples/CMakeLists.txt:19 (message):<br> Cannot build without ITK. Please set ITK_DIR.<br><br>I then tried setting ITK_DIR in the project's ccmake to /home/doriad/bin, but then I get this error:<br>
<br> CMake Error at /usr/share/cmake-2.8/Modules/FindITK.cmake:90 (INCLUDE):<br>
include could not find load file:<br>
<br>
/home/doriad/bin/ITKConfig.cmake<br>
<br>Am I missing something to have the ITK that is installed to a location on my PATH be automatically found?<br><br clear="all">Thanks,<br><br>David<br>