Hi,<br>I have just installed MinGW CMake 2.6 and ITK 3.14 on WinXP, but I have many uncertainty.<br>In CMake I have set:<br>- soruce code: C:\Programmi\ITK\InsightToolkit-3.14.0<br>- binaries: C:\Programmi\ITK\ITK_BIN_DIR<br>
The configuration has gone to good end and I has been able to do "generate."<br><br>But...<br>1) in the folder C:\Programmi\ITK\ITK_BIN_DIR now there is various other folders and files, but in the subdirectory "bin" there is no anything, is it correct?<br>
<br>2) I try to do the project "Hello Word" like this described in "ItkSoftwareGuide" in a directory named "C:\Documents and Settings\EMotta\Documenti\Documenti ele\Prova_ITK", where I put the CMakeLists.txt and my project "HelloWorld". This is what I wrote in CMakeList.txt:<br>
<br><i>cmake_minimum_required(VERSION 2.6)<br><br>PROJECT(HelloWorld)<br>INCLUDE_REGULAR_EXPRESSION("^.*$")<br><br>SET(InsightToolkit_SOURCE_DIR C:/Programmi/ITK/InsightToolkit-3.14.0)<br><br>FIND_PACKAGE(ITK)<br>
IF(ITK_FOUND)<br> INCLUDE(${ITK_USE:FILE})<br>ELSE(ITK_FOUND)<br>MESSAGE(FATAL_ERROR "ITK not found. AAAAAAARRRRRGHHHH!!!!!!!!!!")<br>ENDIF(ITK_FOUND)<br><br>INCLUDE_DIRECTORIES(${Prova_ITK})<br><br>
ADD_EXECUTABLE(HelloWorld HelloWorld.cxx )<br><br>TARGET_LINK_LIBRARIES(HelloWorld ITKCommon)</i><br><br><br>But when I set in CMake:<br>- source: C:/Documents and Settings/EMotta/Documenti/Documenti ele/Prova_ITK<br>- binaries: C:/Programmi/ITK/ITK_BIN_DIR<br>
<br>the message is:<br><br><br><i><span style="color: rgb(255, 0, 0);">CMake Error at CMakeLists.txt:13 (MESSAGE):</span></i>
<p style="margin: 0px; text-indent: 0px;"><i><span style="color: rgb(255, 0, 0);"> ITK not found. AAAAAAARRRRRGHHHH!!!!!!!!!!</span></i></p>
<p style="margin: 0px; text-indent: 0px;"><i>Configuring incomplete, errors occurred!</i></p><p style="margin: 0px; text-indent: 0px;"><br></p><p style="margin: 0px; text-indent: 0px;"><br></p><p style="margin: 0px; text-indent: 0px;">
What am I wrong?<br></p>Sorry for my minimalist english, thank you for the help.<br><br>elena<br><br>