[CMake] Fwd: Compiler Test Failing on Windows 7

John Drescher drescherjm at gmail.com
Wed Jan 6 15:00:30 EST 2010


On Wed, Jan 6, 2010 at 2:49 PM, Gregory Peele ARA/CFD <gpeele at ara.com> wrote:
> Let's stress that the source and binary directories of this build are
> readable and writable to Joe's account.  It is NOT a file permission issue
> for any files in our build tree.  If CMake or Visual Studio generate files
> outside of our source or binary tree all bets are off of course.
>
>
>
> Given that Microsoft heavily recommends running Visual Studio 2005 as
> Administrator in both Vista and Windows 7 - it nags you each time you launch
> if you don't - and it also fails for Joe on non-CMake-generated solutions, I
> suspect the real problem is a bug in Visual Studio 2005 on Windows 7.
>
>
>
> Has anyone on this list successfully built projects using Visual Studio 2005
> on Windows 7 without marking CMake and Visual Studio to run as
> Administrator?  Presumably what happens if CMake is not marked to run as
> Administrator, when it attempts the try-compile stage, it does not honor the
> "run as Administrator" marking on devenv or vcbuild or whatever process it
> uses, and then Visual Studio 2005 does naughty things and fails.
>

I am pretty sure I do that on a VM install of Win7 RC1. I was using
2005 but now I moved to 2008. I have not experienced this issue and I
am not logged in as the Admin however I am using family networking on
the VM.

John


More information about the CMake mailing list