Hi Bill,<br><br>You need to select the parent directory.<br><br>source code should be: C:/temp/InsightToolkit-3.20.0/<br><br>regards,<br><br>Floris<br><br><br><div class="gmail_quote">On Tue, Sep 14, 2010 at 10:49 AM, <span dir="ltr"><<a href="mailto:g-fleury@cybernet.co.jp">g-fleury@cybernet.co.jp</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi all,<br>
<br>
I am trying to configure ITK using Cmake(2.8.2) but I get errors. By<br>
looking at the mailing list, I believe other people have had the same<br>
problems.<br>
<br>
I use the following settings :<br>
<br>
source code : C:/temp/InsightToolkit-3.20.0/Code<br>
where to build the binaries : C:/temp<br>
<br>
My configuration is the following :<br>
Windows 7 64bit<br>
CMake 2.8.2 Windows<br>
VS2010 64bit<br>
<br>
<br>
I have also tried to configure it on my co-worker's machine.<br>
His setup :<br>
Windows Vista 32bit,<br>
CMake 2.6.2 Windows<br>
VS2008 32bit<br>
and he gets exactly the same errors.<br>
<br>
Any help would be greatly appreciated.<br>
Thanks.<br>
<br>
Bill<br>
<br>
<br>
--------------------------------------------------------------------------------------<br>
Check for working C compiler using: Visual Studio 10 Win64<br>
Check for working C compiler using: Visual Studio 10 Win64 -- works<br>
Detecting C compiler ABI info<br>
Detecting C compiler ABI info - done<br>
Check for working CXX compiler using: Visual Studio 10 Win64<br>
Check for working CXX compiler using: Visual Studio 10 Win64 -- works<br>
Detecting CXX compiler ABI info<br>
Detecting CXX compiler ABI info - done<br>
CMake Warning (dev) in CMakeLists.txt:<br>
No cmake_minimum_required command is present. A line of code such as<br>
<br>
cmake_minimum_required(VERSION 2.8)<br>
<br>
should be added at the top of the file. The version specified may be lower<br>
if you wish to support older CMake versions for this project. For more<br>
information run "cmake --help-policy CMP0000".<br>
This warning is for project developers. Use -Wno-dev to suppress it.<br>
<br>
Looking for EnumProcesses in Psapi<br>
Looking for EnumProcesses in Psapi - found<br>
Looking for mallinfo in malloc<br>
Looking for mallinfo in malloc - not found<br>
CMake Error at Common/CMakeLists.txt:167 (INSTALL):<br>
install TARGETS given no ARCHIVE DESTINATION for static library target<br>
"ITKCommon".<br>
<br>
<br>
CMake Error at Numerics/CMakeLists.txt:47 (INSTALL):<br>
install TARGETS given no ARCHIVE DESTINATION for static library target<br>
"ITKNumerics".<br>
<br>
<br>
CMake Error at Numerics/Statistics/CMakeLists.txt:21 (INSTALL):<br>
install TARGETS given no ARCHIVE DESTINATION for static library target<br>
"ITKStatistics".<br>
<br>
<br>
CMake Error at Numerics/FEM/CMakeLists.txt:169 (INCLUDE):<br>
include could not find load file:<br>
<br>
/CMake/itkCheckCXXAcceptsFlags.cmake<br>
<br>
<br>
CMake Error at Numerics/FEM/CMakeLists.txt:170 (itkCHECK_CXX_ACCEPTS_FLAGS):<br>
Unknown CMake command "itkCHECK_CXX_ACCEPTS_FLAGS".<br>
<br>
<br>
Configuring incomplete, errors occurred!<br>
<br>
<br>
_____________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.html" target="_blank">http://www.kitware.com/products/protraining.html</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
</blockquote></div><br><div style="visibility: hidden; display: inline;" id="avg_ls_inline_popup"></div><style type="text/css">#avg_ls_inline_popup { position:absolute; z-index:9999; padding: 0px 0px; margin-left: 0px; margin-top: 0px; width: 240px; overflow: hidden; word-wrap: break-word; color: black; font-size: 10px; text-align: left; line-height: 13px;}</style>