MantisBT - CMake
View Issue Details
0011932CMakeCMakepublic2011-03-04 21:332016-06-10 14:31
Andrew Pennebaker 
Bill Hoffman 
normalcrashalways
closedmoved 
Windows 7 ProfessionalWindows7
CMake 2.8.4 
 
0011932: CMake configure complains "cl" is missing; won't let me redo Configure to switch compilers
I checked out LLVM source from http://llvm.org/docs/GettingStarted.html#checkout. [^]

I opened the project with CMake and clicked Configure.

I selected Visual Studio 10, then clicked Next.

At this point, CMake attempts to configure LLVM. LLVM requires "cl", and CMake returns that information to me.

When I click Configure again, CMake won't let me change any settings. I have to quit CMake and start again.
Check out LLVM source from http://llvm.org/docs/GettingStarted.html#checkout. [^]

Open the project with CMake and clicked Configure.

Select Visual Studio 10, then clicked Next.

At this point, CMake attempts to configure LLVM. LLVM requires "cl", and CMake returns that information to me.

Click Configure again.
No tags attached.
Issue History
2011-03-04 21:33Andrew PennebakerNew Issue
2011-03-06 15:53Bill HoffmanNote Added: 0025676
2011-03-06 17:26Andrew PennebakerNote Added: 0025677
2011-03-06 17:48Bill HoffmanNote Added: 0025679
2011-03-06 18:07Andrew PennebakerNote Added: 0025680
2011-03-07 13:16Bill HoffmanNote Added: 0025684
2011-03-07 14:27Andrew PennebakerNote Added: 0025686
2011-03-07 14:38Bill HoffmanNote Added: 0025687
2011-03-07 14:38Bill HoffmanAssigned To => Bill Hoffman
2011-03-07 14:38Bill HoffmanStatusnew => assigned
2011-03-07 14:50Andrew PennebakerNote Added: 0025688
2011-03-07 17:06Bill HoffmanNote Added: 0025689
2011-03-07 17:06Bill HoffmanNote Edited: 0025689bug_revision_view_page.php?bugnote_id=25689#r235
2011-03-07 17:32Andrew PennebakerNote Added: 0025690
2011-03-07 17:45Bill HoffmanNote Added: 0025691
2016-06-10 14:28Kitware RobotNote Added: 0041813
2016-06-10 14:28Kitware RobotStatusassigned => resolved
2016-06-10 14:28Kitware RobotResolutionopen => moved
2016-06-10 14:31Kitware RobotStatusresolved => closed

Notes
(0025676)
Bill Hoffman   
2011-03-06 15:53   
I am not sure I see the problem. Did you try File-> Delete Cache?
(0025677)
Andrew Pennebaker   
2011-03-06 17:26   
I did. By the way, every time I Delete Cache, my painstakingly created Entries are also deleted.
(0025679)
Bill Hoffman   
2011-03-06 17:48   
OK, I still don't see the original problem. What is wrong with CMake using cl? Is there an error that you get?
(0025680)
Andrew Pennebaker   
2011-03-06 18:07   
As I said, "When I click Configure again, CMake won't let me change any settings. I have to quit CMake and start again."

The only effect of Delete Cache is to remove my Entries and allow Configure to crash again.
(0025684)
Bill Hoffman   
2011-03-07 13:16   
So, does the process hang? Do you have to kill it? What does it mean CMake won't let me change any settings?
(0025686)
Andrew Pennebaker   
2011-03-07 14:27   
It means after CMake reports a configuration error, CMake does not allow me to change the configuration settings in order to resolve the error.
(0025687)
Bill Hoffman   
2011-03-07 14:38   
I just checked out llvm and configured with VS 2010, seems to work for me.. I still do not understand the "does not allow me to change" part. Is the GUI process hung? Do the menus still work? I was able to configure and build llvm with VS 2010. Are there any error messages you can give me?
(0025688)
Andrew Pennebaker   
2011-03-07 14:50   
Can you describe the steps you took to configure with VS 2010? On my system, clicking Configure yields an error about "cl" being missing. The GUI is not hung, but CMake won't let me change the options (e.g. select NMake instead of VS) in order to resolve the problem.
(0025689)
Bill Hoffman   
2011-03-07 17:06   
AH... OK, sounds like you have a bad install of VS 2010. I am guessing you are using the free version? There are some things you have to do to get the paths and such working with the windows SDK. I think MS has some instructions. I am guessing you can not even compile with the IDE not using CMake.

I am using the paid for VS 2010, and it works with no problems.

Might help if you posted the error messages that were in the CMake configure window.

(0025690)
Andrew Pennebaker   
2011-03-07 17:32   
I'm using Visual Studio C++ Express. I didn't expect the free/non-free difference would matter.
(0025691)
Bill Hoffman   
2011-03-07 17:45   
http://social.msdn.microsoft.com/forums/en-US/Vsexpressvc/thread/c5c3afad-f4c6-4d27-b471-0291e099a742/ [^]

Still might be helpful to see your errors. But most likely you do not have the SDK installed correctly, but without seeing your errors, I am guessing...
(0041813)
Kitware Robot   
2016-06-10 14:28   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.