Re: [CMake] Unable to create project files with Visual Studio 2010 on Windows 7

2015-01-09 Thread David . Karr
Indeed I have tried several ways to create and build projects without using CMake at all, and so far no luck--I still get requires elevation errors. I don't have a solution for my problem yet but it appears that whatever it is that is stopping me from building projects, CMake does not cause

Re: [CMake] Unable to create project files with Visual Studio 2010 on Windows 7

2015-01-08 Thread David . Karr
On 1/6/2015 7:10 PM, david.k...@engilitycorp.com wrote: I have just started using a new Windows 7 host with Visual Studio 2010 Professional. When I call CMake to generate my project files, I get the following output in CMakeError.log: Does your visual studio work without CMake? Can you

Re: [CMake] Unable to create project files with Visual Studio 2010 on Windows 7

2015-01-07 Thread David . Karr
What do you mean when you say I set CMAKE_ROOT to a directory ?? That should not be necessary, no matter how you're running cmake... Is that an ENV var or a CMake variable you're setting somewhere? CMAKE_ROOT was an ENV variable used by a script outside of CMake that (in the more

Re: [CMake] Unable to create project files with Visual Studio 2010 on Windows 7

2015-01-07 Thread Bill Hoffman
On 1/6/2015 7:10 PM, david.k...@engilitycorp.com wrote: I have just started using a new Windows 7 host with Visual Studio 2010 Professional. When I call CMake to generate my project files, I get the following output in CMakeError.log: Does your visual studio work without CMake? Can you create a

Re: [CMake] Unable to create project files with Visual Studio 2010 on Windows 7

2015-01-07 Thread David Cole via CMake
The The requested operation requires elevation. message indicates some sort of permissions problem (admin privileges...) Did you run VS and/or CMake as an admin one time, and then not as an admin a second time...? It should work with either all-non-admin runs or all-admin runs, but you probably

Re: [CMake] Unable to create project files with Visual Studio 2010 on Windows 7

2015-01-07 Thread David . Karr
A small correction: the problem with The C compiler identification is unknown seems to have been due to the fact that I forgot to open that particular command window as administrator. In a new command window, run as administrator, both -G Visual Studio 10 and -G Visual Studio 10 Win64 produce

Re: [CMake] Unable to create project files with Visual Studio 2010 on Windows 7

2015-01-07 Thread David Cole via CMake
What do you mean when you say I set CMAKE_ROOT to a directory ?? That should not be necessary, no matter how you're running cmake... Is that an ENV var or a CMake variable you're setting somewhere? D On Wed, Jan 7, 2015 at 1:18 PM, david.k...@engilitycorp.com wrote: A small correction: the

Re: [CMake] Unable to create project files with Visual Studio 2010 on Windows 7

2015-01-07 Thread David . Karr
I tried this with a CMakeLists file that contains only a PROJECT and ADD_EXECUTABLE (with a single C++ source file). The only things present in the directory before running CMake were the C++ file, CMakeLists.txt, and a batch file that I used to run CMake. I still get the requires elevation

[CMake] Unable to create project files with Visual Studio 2010 on Windows 7

2015-01-06 Thread David . Karr
I have just started using a new Windows 7 host with Visual Studio 2010 Professional. When I call CMake to generate my project files, I get the following output in CMakeError.log: == Determining if the C compiler works failed with the following output: Change Dir: