[Insight-users] Re: Cmake freezes

Bill Hoffman bill.hoffman at kitware.com
Tue Aug 9 22:17:03 EDT 2005


Hi, what version of visual studio are you using?   Cmake does a series of try-compiles
to determine the capabilities of the compiler.  With visual studio, we use devenv command
line builds.  It sounds like one of those command line builds hung devenv for some reason
on your system.  My guess is if you looked at the processes, you would see a devenv, and
if you killed it, it would allow you to remove the files.   You could try an uninstall/reinstall
of devenv.  Or you could also try the nmake generator.   To use nmake you have to run cmake
from a shell that has the correct environment for running cl from the command line, a bunch
of environment stuff.   Visual studio provides a shell with all the stuff set, you would
have to run CMakeSetup from that shell.  However, I have heard of this before, and we never
really tracked it down, it just started to work after an upgrade of visual studio or something
like that.

-Bill


At 06:54 PM 8/9/2005, Luis Ibanez wrote:

>Hi Daniel,
>
>Thanks for the rapid response.
>
>I guess I will pass to Bill and/or Andy who
>are more CMake Gurus than I will ever be...
>
>I missed your answer to whether you have used
>CMake for configuring any other package in your
>Windows machine...
>
>
>
>   Regards,
>
>
>      Luis
>
>
>
>---------------------------
>Einstein, Daniel R wrote:
>>Hi, 
>>* Accessing networked drives...?  ------------> none of the ITK stuff is
>>on a networked drive
>>* Using paths with strange characters...? ---->
>>C:\ITK\code\Insight-binary
>>* Having non-typical user permissions...? ----> What do you mean
>>exactly? I have admin rights on this PC.
>>Dan
>>
>>Daniel R Einstein, PhD
>>Biological Monitoring and Modeling
>>Pacific Northwest National Laboratory
>>P.O. Box 999; MSIN P7-59
>>Richland, WA 99352
>>Tel: 509/ 376-2924
>>Fax: 509/376-9064
>>daniel.einstein at pnl.gov
>>
>>-----Original Message-----
>>From: Luis Ibanez [mailto:luis.ibanez at kitware.com] Sent: Tuesday, August 09, 2005 2:39 PM
>>To: Einstein, Daniel R
>>Cc: Insight Users; Bill Hoffman; Andy Cedilnik
>>Subject: Re: Cmake freezes
>>Hi Daniel,
>>Thanks for the additional details...
>>We may still need more information on the particular characteristics of
>>your system.
>>If this is happening to you with both CMake 2.2.0 and 2.0.6 chances are
>>that your Windows machine has some configuration problem.
>>Do you have any special situation, like:
>>* Accessing networked drives...?
>>* Using paths with strange characters...?
>>* Having non-typical user permissions...?
>>Does CMake works for your Windows system when configuring other packages
>>different from ITK, for example, when configuring VTK ?
>>
>>Please let us know,
>>
>>   Thanks
>>
>>      Luis
>>
>>-------------------------
>>Einstein, Daniel R wrote:
>>
>>>Hi Luis,
>>>
>>>Thanks for the reply. Cmake starts out fine. At a certain point it stalls. While it does not take up 100% of the CPU, the task manager lists it as "Not-Responding". I too thought "maybe it is just slow" and waited several hours. No dice. Interestingly, after killing the application with the task manager, I cannot delete the files that Cmake produced to that point. I get a sys message:
>>>
>>>"Cannot delete cmTryCompile.plg: It is being used by another program."
>>
>>>I have to log off and log back on to delete them.
>>>
>>>Dan
>>>
>>>Daniel R Einstein, PhD
>>>Biological Monitoring and Modeling
>>>Pacific Northwest National Laboratory
>>>P.O. Box 999; MSIN P7-59
>>>Richland, WA 99352
>>>Tel: 509/ 376-2924
>>>Fax: 509/376-9064
>>>daniel.einstein at pnl.gov
>>>
>>>
>>>-----Original Message-----
>>>From: Luis Ibanez [mailto:luis.ibanez at kitware.com]
>>>Sent: Tuesday, August 09, 2005 12:51 PM
>>>To: Einstein, Daniel R
>>>Cc: insight-users at itk.org
>>>Subject: Re: [Insight-users] Cmake freezes
>>>
>>>Hi Daniel,
>>>
>>>Please give us more details about your Windows Desktop.
>>>
>>>BTE, when you say "freezes", did you verified if CMake is at this point taking 100% of your CPU ?
>>>
>>>The configuration on Windows tend to take longer...
>>>I wondering if you are not waiting enough for the configuration to be performed.
>>>
>>>
>>>   Please let us know,
>>>
>>>
>>>      Luis
>>>
>>>
>>>
>>>-------------------------
>>>Einstein, Daniel R wrote:
>>>
>>>
>>>>Hello,
>>>>
>>>>I built ITK on my Linux machine and figured I needed it on my windows machines as well. Built it fine on my laptop. However, on my desktop cmake hangs durning configuration.
>>>>
>>>>Anyone ever seen this before? I tried both 2.2.0 and 2.0.6.
>>>>
>>>>Dan
>>>>Daniel R Einstein, PhD
>>>>Biological Monitoring and Modeling
>>>>Pacific Northwest National Laboratory
>>>>P.O. Box 999; MSIN P7-59
>>>>Richland, WA 99352
>>>>Tel: 509/ 376-2924
>>>>Fax: 509/376-9064
>>>>_daniel.einstein at pnl.gov_ <mailto:daniel.einstein at pnl.gov>
>>>>
>>>>
>>>>
>>>>----------------------------------------------------------------------
>>>>--
>>>>
>>>>_______________________________________________
>>>>Insight-users mailing list
>>>>Insight-users at itk.org
>>>>http://www.itk.org/mailman/listinfo/insight-users
>>>
>>>
>>>
>>



More information about the Insight-users mailing list