[Insight-users] ITK 3.4.0 cannot be configured successfully with CMake 2.4.7, VS2005

Luis Ibanez luis.ibanez at kitware.com
Sun Nov 25 08:14:38 EST 2007


Hi wZhu,


Have you verified that your Visual Studio 2005 is functional ?

For example, have you tried buildng CMake itself from the
source code ?

You may want to first discard the possibility that your
compiler may be incorrectly installed.


Please let us know what you find.


     Thanks


        Luis


--------------
wZhu wrote:
>  
> I noticed this fact: if I have both Visual Studio .NET 2003 and 
> 2005 installed in the computer, I will be able to configure ITK 3.4.0 
> for Visual Studio 2005 with CMake. In my current laptop, I've 
> uninstalled VS 2003 and I only have VS 2005 installed. So I got the 
> error in configure. Could someone please check whether ITK 3.4.0 has 
> unnecessary dependency on VS 2003, or find out what's needed on VS 2003? 
> I hope I don't have to install VS 2003 again just to config ITK 3.4.0.
>  
> Thank you,
> 
> 
>  
> On Oct 11, 2007 8:08 PM, wZhu <energystar at gmail.com 
> <mailto:energystar at gmail.com>> wrote:
> 
>     Hi Luis,
>      
>     I am using Visual Studio 2005 Professional Edition. I still cannot
>     configure V3.4 in my laptop. A few months ago I have similar setting
>     in my laptop and I was able to configure and build V3.2.
>      
>     The only major change I can remember was: I uninstalled Visual
>     Studio .NET 2003 because I think it is no longer needed. Otherwise
>     it is pretty much the same.
>      
>     Thank you very much,
>      
>     Sincerely
>     Weihang Zhu
> 
>      
>     On 10/11/07, *Luis Ibanez* <luis.ibanez at kitware.com
>     <mailto:luis.ibanez at kitware.com>> wrote:
> 
> 
> 
>         Hi wZhu,
> 
>            Thanks for sending the CMake log files.
> 
> 
>            Question:
> 
>               Are you using Visual Studio Express 2005 ?
> 
>               Have you installed the "Microsoft Platform SDK directory" ?
> 
> 
> 
>             Please let us know,
> 
> 
>                 Thanks
> 
> 
>                    Luis
> 
> 
> 
>         --------------
>         wZhu wrote:
>          > Hi Luis,
>          >
>          > Thank you for the help. I googled the error:
>          >
>          > "CMake Error: Unable to find executable for TRY_RUN"
>          >
>          > I found out that several posts in ITK and VTK user groups
>         reported the
>          > similar error. For example:
>          >
>         http://public.kitware.com/pipermail/insight-users/2007-May/022140.html
>          > This is exactly the same error I got.
>          >
>          > In fact, I also received replies directly to my own email
>         account (not
>          > posted) saying they've got the same problem.
>          >
>          > Several months ago, I was able to compile ITK3.2.0 on my
>         laptop. But I
>          > cannot compile ITK 3.4.0 now. It is weird.
>          >
>          > I am posting the two files you pointed out as follows. It is
>         quite long.
>          > Although both files reported 'succeeded', no ITK.sln was
>         generated.
>          > Thank you!
>          >
>          >
>          > CMakeError.log:
>          > ----------------------------------------------------
>          >
>          > Value of the 22nd bit of a 32-bit quiet-NaN is
>         0TestQnanhibit.c produced
>          > following output:
>          >
>          >
>          > Microsoft (R) Visual Studio Version 8.0.50727.762.
>          >
>          > Copyright (C) Microsoft Corp 1984-2005. All rights reserved.
>          >
>          >
>          > ----------------------------------------------
>          >
>          >
>          >
>          >
>          >
>          >
>          >
>          >
>          > On 10/4/07, *Luis Ibanez* <luis.ibanez at kitware.com
>         <mailto:luis.ibanez at kitware.com>
>          > <mailto: luis.ibanez at kitware.com
>         <mailto:luis.ibanez at kitware.com>>> wrote:
>          >
>          >
>          >     Hi wZhu,
>          >
>          >     I wouldn't say:
>          >
>          >              "this has happened to many people"
>          >
>          >     the only other report of somebody having trouble configuring
>          >     ITK 3.4 with CMake 2.4.7 in the archives of the
>         users-list is:
>          >
>          >    
>         http://public.kitware.com/pipermail/insight-users/2007-September/023784.html
>         <http://public.kitware.com/pipermail/insight-users/2007-September/023784.html>
>          >
>          >     and that happens to be...  your own email of Sept 30th.
>          >
>          >
>          >     ITK is build in the Nightly Dashboard
>          >     with Visual Studio 6.0, 7.0 , 7.1 and 8.0
>          >
>          >
>          >     -----
>          >
>          >
>          >     Since this is failing in your laptop only, the obvious
>         suspect
>          >     is the configuration of your compiler in that machine.
>          >
>          >     Please post to the list the files
>          >
>          >          CMakeError.log
>          >          CMakeOutput.log
>          >
>          >     That CMake generates in the binary directory where you are
>          >     trying to configure ITK.
>          >
>          >
>          >     BTW: Have you successfully build *any* other
>          >          software package in that laptop ?
>          >
>          >          VTK for example ?
>          >
>          >
> 
> 
> 


More information about the Insight-users mailing list