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

Luis Ibanez luis.ibanez at kitware.com
Thu Oct 11 16:56:54 EDT 2007



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>> 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
> 
>     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 ?
> 
> 
> 
>        Regards,
> 
> 
>            Luis
> 
> 
> 
>     ------------
>     wZhu wrote:
>      > I was able to config ITK3.4.0 and compile ITK in another computer.
>      >
>      > But with my own laptop, I still cannot config it with CMake.
>      > The error message is:
>      > CMake error: cannot find executable for TRY_RUN.
>      >
>      > I checked the history of this mailing list and found out this has
>      > happened to many people but nobody gave a good answer.
>      > Anybody knows about the answer now?
>      >
>      > Thanks,
>      >
>      >
>      >
>      >
>     ------------------------------------------------------------------------
>      >
>      > _______________________________________________
>      > Insight-users mailing list
>      > Insight-users at itk.org <mailto:Insight-users at itk.org>
>      > http://www.itk.org/mailman/listinfo/insight-users
>     <http://www.itk.org/mailman/listinfo/insight-users>
> 
> 


More information about the Insight-users mailing list