View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0011932CMakeCMakepublic2011-03-04 21:332016-06-10 14:31
ReporterAndrew Pennebaker 
Assigned ToBill Hoffman 
PrioritynormalSeveritycrashReproducibilityalways
StatusclosedResolutionmoved 
PlatformWindows 7 ProfessionalOSWindowsOS Version7
Product VersionCMake 2.8.4 
Target VersionFixed in Version 
Summary0011932: CMake configure complains "cl" is missing; won't let me redo Configure to switch compilers
DescriptionI 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.
Steps To ReproduceCheck 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.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0025676)
Bill Hoffman (manager)
2011-03-06 15:53

I am not sure I see the problem. Did you try File-> Delete Cache?
(0025677)
Andrew Pennebaker (reporter)
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 (manager)
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 (reporter)
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 (manager)
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 (reporter)
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 (manager)
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 (reporter)
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 (manager)
2011-03-07 17:06
edited on: 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 (reporter)
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 (manager)
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 (administrator)
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.

 Issue History
Date Modified Username Field Change
2011-03-04 21:33 Andrew Pennebaker New Issue
2011-03-06 15:53 Bill Hoffman Note Added: 0025676
2011-03-06 17:26 Andrew Pennebaker Note Added: 0025677
2011-03-06 17:48 Bill Hoffman Note Added: 0025679
2011-03-06 18:07 Andrew Pennebaker Note Added: 0025680
2011-03-07 13:16 Bill Hoffman Note Added: 0025684
2011-03-07 14:27 Andrew Pennebaker Note Added: 0025686
2011-03-07 14:38 Bill Hoffman Note Added: 0025687
2011-03-07 14:38 Bill Hoffman Assigned To => Bill Hoffman
2011-03-07 14:38 Bill Hoffman Status new => assigned
2011-03-07 14:50 Andrew Pennebaker Note Added: 0025688
2011-03-07 17:06 Bill Hoffman Note Added: 0025689
2011-03-07 17:06 Bill Hoffman Note Edited: 0025689
2011-03-07 17:32 Andrew Pennebaker Note Added: 0025690
2011-03-07 17:45 Bill Hoffman Note Added: 0025691
2016-06-10 14:28 Kitware Robot Note Added: 0041813
2016-06-10 14:28 Kitware Robot Status assigned => resolved
2016-06-10 14:28 Kitware Robot Resolution open => moved
2016-06-10 14:31 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team