[Insight-users] ITK installation problem
Tanmay
meet10may at gmail.com
Sat Jun 19 16:18:51 EDT 2010
Luis Ibanez <luis.ibanez at ...> writes:
> Hi Luis,
I am copying the errors coming..please sort it out.I have send the attached
snapshots on your mail.kindly check.
the errors are:
Check for working C compiler using: Visual Studio 9 2008 -- broken
CMake Error at C:/Program Files/CMake 2.8/share/cmake-
2.8/Modules/CMakeTestCCompiler.cmake:52 (MESSAGE):
The C compiler "cl" is not able to compile a simple test program.
It fails with the following output:
Change Dir: F:/ITKOUTPUT/CMakeFiles/CMakeTmp
Run Build Command:C:\PROGRA~1\MICROS~1.0\Common7\IDE\devenv.com
CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec
Microsoft (R) Visual Studio Version 9.0.21022.8.
Copyright (C) Microsoft Corp. All rights reserved.
1>------ Build started: Project: cmTryCompileExec, Configuration: Debug
Win32 ------
1>Compiling...
1>Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 15.00.21022.08 for
80x86
1>Copyright (C) Microsoft Corporation. All rights reserved.
1>cl /Od /D "WIN32" /D "_WINDOWS" /D "_DEBUG" /D "CMAKE_INTDIR=\"Debug\""
/D "_MBCS" /FD /RTC1 /MDd /Fo"cmTryCompileExec.dir\Debug\\"
/Fd"F:\ITKOUTPUT\CMakeFiles\CMakeTmp\Debug/cmTryCompileExec.pdb" /W3 /c /Zi
/TC /Zm1000
1> .\testCCompiler.c
1>testCCompiler.c
1>Compiling manifest to resources...
1>Project : error PRJ0003 : Error spawning 'rc.exe'.
1>Build log was saved at
"file://f:\ITKOUTPUT\CMakeFiles\CMakeTmp\cmTryCompileExec.dir\Debug\BuildLog.ht
m"
1>cmTryCompileExec - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped
==========
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:8 (PROJECT)
Configuring incomplete, errors occurred
Regards,
Tanmay
>
> Hi Tanmay,Thanks for posting the screenshots.You are using correctly the
source directory: C:\ITK\InsightToolkit-3.18.0I would like to see
the rest of the error message
> that you get in CMake.Please grab the full text of the error message that is
displayed on the bottom part of the CMakeGUI, and post it in an email to the
mailing list.Also, if you could take another screenshot of
> CMake, but this time using the "Advance View"that will also be useful.
Thanks Luis------------------------------------------------------------
-
> On Fri, Jun 18, 2010 at 1:49 PM, Tanmay Nath <meet10may-
Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org> wrote:
> hi,
> I will reply to each of your answers.
> 1)There were 3 CTestConfig.cmake files in ITK.one was in ITK.The other
> was in Testing folder.and the last was in Utilities folder.I chose the
> path as shown in the snapshot of the ITK window attached.
> 2)I changed the path of output directory to the other disk but still
> the same errors.
> I am really worried about its installation as I have to do my project
> on this software only.I will be highly obliged and thankful to you if
> you can help me sort out my problem.
> I have attached all the snapshots which i can take to explain my
> position.Kindly help
> thanks
> regards,
> tanmay
>
> On Fri, Jun 18, 2010 at 8:46 PM, Luis Ibanez <luis.ibanez-
5opLkZggLXlBDgjK7y7TUQ at public.gmane.org> wrote:
> > Hi Tanmay,
> >
> > I'll need more information from you
> > in order to help you.
> >
> > 1) What is the directory where you have the
> > file CTestConfig.cmake (from ITK) ?
> >
> > That is the directory that you should pass
> > to CMake as "source directory.
> >
> >
> > Thanks
> >
> >
> > Luis
> >
> >
> > ------------------------------------------------------------------
> > On Fri, Jun 18, 2010 at 11:04 AM, Tanmay Nath <meet10may-
Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org> wrote:
> >>
> >> thanks Luis, but the problem is same..please suggest some other solution..
> >>
> >> thanks
> >>
> >> regards,
> >> tanmay
> >>
> >> On Fri, Jun 18, 2010 at 5:44 PM, Luis Ibanez <luis.ibanez-
5opLkZggLXlBDgjK7y7TUQ at public.gmane.org>
> >> wrote:
> >> > Hi Tanmay,
> >> >
> >> >
> >> > Welcome to ITK !
> >> >
> >> >
> >> > Thanks for posting the screenshot
> >> > of the error that you are facing.
> >> >
> >> > The problem is that in CMake,
> >> > in the field:
> >> >
> >> > "Where the source code is"
> >> >
> >> > you are passing the directory:
> >> >
> >> > C:/ITK/InsightToolkit-3.18.0/Utilities
> >> >
> >> > this is incorrect.
> >> >
> >> >
> >> >
> >> > The directory that you should put is:
> >> >
> >> > C:/ITK/InsightToolkit-3.18.0
> >> >
> >> > which is the top of the ITK source tree.
> >> >
> >> >
> >> >
> >> > Please try this and let us know if you
> >> > have any questions.
> >> >
> >> >
> >> > Thanks
> >> >
> >> >
> >> > Luis
> >> >
> >> >
> >> >
> >> > -----------------------------------------------------------
> >> > On Fri, Jun 18, 2010 at 6:21 AM, Tanmay Nath <meet10may-
Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org>
> >> > wrote:
> >> >>
> >> >> Hi Luis,
> >> >>
> >> >> I am new to ITK and i am facing problem with its installation.
> >> >>
> >> >> I am using windows XP and my compiler is Visual Studio 2008.
> >> >>
> >> >> I am using Cmake 2.8.
> >> >>
> >> >> i have attached the screen shot of the errors coming and a doc file
> >> >> which shows the errors.
> >> >>
> >> >> I would be highly obliged if you could help me sort out the problem.
> >> >>
> >> >> thanks
> >> >>
> >> >> regards,
> >> >> --
> >> >> Tanmay
> >> >
> >> >
> >>
> >>
> >>
> >> --
> >> Tanmay
> >
> >
>
> --Tanmay
>
>
>
>
>
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>
More information about the Insight-users
mailing list