> -----Original Message-----
> From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On
> Behalf Of Mike McQuaid
> Sent: Thursday, August 26, 2010 1:12 AM
> To: Mark Roden
> Cc: cmake@cmake.org
> Subject: Re: [CMake] several questions about cmake
> 
> On 26 August 2010 01:34, Mark Roden <mmro...@gmail.com> wrote:
> > I'm starting to get deep into CMake, and I have a few questions as I
> > try to convert the socket++ library such that it can be compiled by
> > CMake on Windows.
> >
> > 1) The default install directory on Windows is C:\Program Files, or
> > C:\Program Files (x86) on 64 bit.  This default will not work on
> > Windows 7 (and perhaps Vista), because the user isn't running as
> > administrator anymore, and only administrators can modify that
> > directory.  There should probably be a warning to that effect on
> > windows systems; otherwise, there are painful ways to run install,
> but
> > they are painful.
> 
> Most developers run as administrator so I don't think there should be a
> warning.
> 

In Windows 7 and Windows 2008 server, being logged in as a user in the 
Administrators 
group is not sufficient, you have to elevate the privs of your process to write 
in those directories.
Another possibility is turning off UAC all together.

So the warning might still be a good idea.

-Kelly
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to