<br>Hi Tanmay,<br><br>Thanks for posting the full error message.<br><br>This seems to be related this email trail in the CMake list:<br><a href="http://www.cmake.org/pipermail/cmake/2010-March/035937.html">http://www.cmake.org/pipermail/cmake/2010-March/035937.html</a><br>
<br>and seems to be the result of a misconfiguration <br>in your compiler.<br><br>or a permissions issue:<br><a href="http://www.cmake.org/pipermail/cmake/2010-March/035936.html">http://www.cmake.org/pipermail/cmake/2010-March/035936.html</a><br>
<br><br>In either case,<br><br>it doesn't seem to be an ITK problem in itself.<br><br><br>I would suggest that you try first building a<br>minimal CMake project with your current<br>compiler. <br><br>Something like<br>
<br>CMakeLists.txt:<br><br>ADD_EXECUTABLE(HelloWorld HelloWorld.cxx)<br><br><br>HelloWorld.cxx:<br><br>#include <iostream><br>int main()<br>{<br> std::cout << "HelloWorld" << std::endl;<br> return 1;<br>
}<br><br><br>Configure this with CMake and see<br>if you can build it with your compiler.<br><br><br><br> Regards,<br><br><br> Luis<br><br><br><br>---------------------------------------------------------------------------<br>
<div class="gmail_quote">On Sat, Jun 19, 2010 at 4:18 PM, Tanmay <span dir="ltr"><<a href="mailto:meet10may@gmail.com">meet10may@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Luis Ibanez <luis.ibanez@...> writes:<br>
<br>
> Hi Luis,<br>
I am copying the errors coming..please sort it out.I have send the attached<br>
snapshots on your mail.kindly check.<br>
<br>
the errors are:<br>
<br>
Check for working C compiler using: Visual Studio 9 2008 -- broken<br>
CMake Error at C:/Program Files/CMake 2.8/share/cmake-<br>
2.8/Modules/CMakeTestCCompiler.cmake:52 (MESSAGE):<br>
The C compiler "cl" is not able to compile a simple test program.<br>
It fails with the following output:<br>
Change Dir: F:/ITKOUTPUT/CMakeFiles/CMakeTmp<br>
Run Build Command:C:\PROGRA~1\MICROS~1.0\Common7\IDE\<a href="http://devenv.com" target="_blank">devenv.com</a><br>
CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec<br>
Microsoft (R) Visual Studio Version 9.0.21022.8.<br>
Copyright (C) Microsoft Corp. All rights reserved.<br>
1>------ Build started: Project: cmTryCompileExec, Configuration: Debug<br>
Win32 ------<br>
1>Compiling...<br>
1>Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 15.00.21022.08 for<br>
80x86<br>
1>Copyright (C) Microsoft Corporation. All rights reserved.<br>
1>cl /Od /D "WIN32" /D "_WINDOWS" /D "_DEBUG" /D "CMAKE_INTDIR=\"Debug\""<br>
/D "_MBCS" /FD /RTC1 /MDd /Fo"cmTryCompileExec.dir\Debug\\"<br>
/Fd"F:\ITKOUTPUT\CMakeFiles\CMakeTmp\Debug/cmTryCompileExec.pdb" /W3 /c /Zi<br>
/TC /Zm1000<br>
1> .\testCCompiler.c<br>
1>testCCompiler.c<br>
1>Compiling manifest to resources...<br>
1>Project : error PRJ0003 : Error spawning 'rc.exe'.<br>
1>Build log was saved at<br>
"file://f:\ITKOUTPUT\CMakeFiles\CMakeTmp\cmTryCompileExec.dir\Debug\BuildLog.ht<br>
m"<br>
1>cmTryCompileExec - 1 error(s), 0 warning(s)<br>
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped<br>
==========<br>
CMake will not be able to correctly generate this project.<br>
Call Stack (most recent call first):<br>
CMakeLists.txt:8 (PROJECT)<br>
Configuring incomplete, errors occurred<br>
<br>
<br>
Regards,<br>
Tanmay<br>
<div class="im"><br>
<br>
<br>
><br>
> Hi Tanmay,Thanks for posting the screenshots.You are using correctly the<br>
</div>source directory: C:\ITK\InsightToolkit-3.18.0I would like to see<br>
<div class="im">the rest of the error message<br>
> that you get in CMake.Please grab the full text of the error message that is<br>
</div>displayed on the bottom part of the CMakeGUI, and post it in an email to the<br>
<div class="im">mailing list.Also, if you could take another screenshot of<br>
> CMake, but this time using the "Advance View"that will also be useful. <br>
Thanks Luis------------------------------------------------------------<br>
-<br>
</div><div class="im">> On Fri, Jun 18, 2010 at 1:49 PM, Tanmay Nath <meet10may-<br>
<a href="mailto:Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org">Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org</a>> wrote:<br>
> hi,<br>
> I will reply to each of your answers.<br>
> 1)There were 3 CTestConfig.cmake files in ITK.one was in ITK.The other<br>
> was in Testing folder.and the last was in Utilities folder.I chose the<br>
> path as shown in the snapshot of the ITK window attached.<br>
> 2)I changed the path of output directory to the other disk but still<br>
> the same errors.<br>
> I am really worried about its installation as I have to do my project<br>
> on this software only.I will be highly obliged and thankful to you if<br>
> you can help me sort out my problem.<br>
> I have attached all the snapshots which i can take to explain my<br>
> position.Kindly help<br>
> thanks<br>
> regards,<br>
> tanmay<br>
><br>
</div><div class="im">> On Fri, Jun 18, 2010 at 8:46 PM, Luis Ibanez <luis.ibanez-<br>
<a href="mailto:5opLkZggLXlBDgjK7y7TUQ@public.gmane.org">5opLkZggLXlBDgjK7y7TUQ@public.gmane.org</a>> wrote:<br>
> > Hi Tanmay,<br>
> ><br>
> > I'll need more information from you<br>
> > in order to help you.<br>
> ><br>
> > 1) What is the directory where you have the<br>
> > file CTestConfig.cmake (from ITK) ?<br>
> ><br>
> > That is the directory that you should pass<br>
> > to CMake as "source directory.<br>
> ><br>
> ><br>
> > Thanks<br>
> ><br>
> ><br>
> > Luis<br>
> ><br>
> ><br>
> > ------------------------------------------------------------------<br>
</div><div class="im">> > On Fri, Jun 18, 2010 at 11:04 AM, Tanmay Nath <meet10may-<br>
<a href="mailto:Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org">Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org</a>> wrote:<br>
> >><br>
> >> thanks Luis, but the problem is same..please suggest some other solution..<br>
> >><br>
> >> thanks<br>
> >><br>
> >> regards,<br>
> >> tanmay<br>
> >><br>
</div>> >> On Fri, Jun 18, 2010 at 5:44 PM, Luis Ibanez <luis.ibanez-<br>
<a href="mailto:5opLkZggLXlBDgjK7y7TUQ@public.gmane.org">5opLkZggLXlBDgjK7y7TUQ@public.gmane.org</a>><br>
<div class="im">> >> wrote:<br>
> >> > Hi Tanmay,<br>
> >> ><br>
> >> ><br>
> >> > Welcome to ITK !<br>
> >> ><br>
> >> ><br>
> >> > Thanks for posting the screenshot<br>
> >> > of the error that you are facing.<br>
> >> ><br>
> >> > The problem is that in CMake,<br>
> >> > in the field:<br>
> >> ><br>
> >> > "Where the source code is"<br>
> >> ><br>
> >> > you are passing the directory:<br>
> >> ><br>
> >> > C:/ITK/InsightToolkit-3.18.0/Utilities<br>
> >> ><br>
> >> > this is incorrect.<br>
> >> ><br>
> >> ><br>
> >> ><br>
> >> > The directory that you should put is:<br>
> >> ><br>
> >> > C:/ITK/InsightToolkit-3.18.0<br>
> >> ><br>
> >> > which is the top of the ITK source tree.<br>
> >> ><br>
> >> ><br>
> >> ><br>
> >> > Please try this and let us know if you<br>
> >> > have any questions.<br>
> >> ><br>
> >> ><br>
> >> > Thanks<br>
> >> ><br>
> >> ><br>
> >> > Luis<br>
> >> ><br>
> >> ><br>
> >> ><br>
> >> > -----------------------------------------------------------<br>
</div>> >> > On Fri, Jun 18, 2010 at 6:21 AM, Tanmay Nath <meet10may-<br>
<a href="mailto:Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org">Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org</a>><br>
<div class="im">> >> > wrote:<br>
> >> >><br>
> >> >> Hi Luis,<br>
> >> >><br>
> >> >> I am new to ITK and i am facing problem with its installation.<br>
> >> >><br>
> >> >> I am using windows XP and my compiler is Visual Studio 2008.<br>
> >> >><br>
> >> >> I am using Cmake 2.8.<br>
> >> >><br>
> >> >> i have attached the screen shot of the errors coming and a doc file<br>
> >> >> which shows the errors.<br>
> >> >><br>
> >> >> I would be highly obliged if you could help me sort out the problem.<br>
> >> >><br>
> >> >> thanks<br>
> >> >><br>
> >> >> regards,<br>
> >> >> --<br>
> >> >> Tanmay<br>
> >> ><br>
> >> ><br>
> >><br>
> >><br>
> >><br>
> >> --<br>
> >> Tanmay<br>
> ><br>
> ><br>
><br>
> --Tanmay<br>
><br>
><br>
><br>
><br>
><br>
</div>> _____________________________________<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>
><br>
<br>
<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>