-
Notifications
You must be signed in to change notification settings - Fork 215
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The default installation directory is forbidden to access in win10-64 #32
Comments
Have you tried installing with admin privileges? @tomhog, could you chip in what is normal under Windows w.r.t default install directories and what to expect. Under linux if you want to install to the system directories you have to install as super user. This is normal, so expecting the same under Windows is OK too. So it might just be a cause of documenting the standard way. |
Program Files and Program Files 86 both need Administrative privileges to
write or edit.
This is a default Windows functionality. If you start VS2017 as an admin,
when you run the INSTALL project, it will be able to write to the
C:\Program Files\VSG, otherwise you will get an error when the Install is
run.
…On Thu, Jan 10, 2019 at 9:17 AM Vulkan made easy ***@***.***> wrote:
Have you tried installing with admin privileges?
@tomhog <https://github.com/tomhog>, could you chip in what is normal
under Windows w.r.t default install directories and what to expect.
Under linux if you want to install to the system directories you have to
install as super user. This is normal, so expecting the same under Windows
is OK too. So it might just be a cause of documenting the standard way.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#32 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/APNcPkeTclqqK3uy_UGBfMSN7_DcnE2Xks5vB0tvgaJpZM4Z5k0N>
.
--
***********************
Maxim Serebrennik
Sr Software Engineer | Leidos
C (201) 686-8809
|
Hi As mentioned above you need to run visual studio as admin to use the default install directory of Program Files/... Alternatively you can set a custom install path if you add the following argument to your CMake command Then you can install it wherever you like |
Hi Tom,
On Thu, 10 Jan 2019 at 16:04, tomhog ***@***.***> wrote:
As mentioned above you need to run visual studio as admin to use the
default install directory of Program Files/...
Alternatively you can set a custom install path if you add the following
argument to your CMake command
-DCMAKE_INSTALL_PREFIX=C:\My\Custom/installpath
Then you can install it wherever you like
Could you add a comment to the INSTALL.md's Window section explaining this,
as it's really a documentation issue rather than an actual build issue.
Thanks.
|
It is in there at the moment
"ensure you have started Visual Studio as administrator otherwise the
install will fail."
I'll make it bold and maybe move it nearer the top, and also add the bit
about being able to add you're own install path.
On Thu, 10 Jan 2019 at 16:09, Robert Osfield <[email protected]>
wrote:
… Hi Tom,
On Thu, 10 Jan 2019 at 16:04, tomhog ***@***.***> wrote:
> As mentioned above you need to run visual studio as admin to use the
> default install directory of Program Files/...
>
> Alternatively you can set a custom install path if you add the following
> argument to your CMake command
> -DCMAKE_INSTALL_PREFIX=C:\My\Custom/installpath
>
> Then you can install it wherever you like
>
Could you add a comment to the INSTALL.md's Window section explaining this,
as it's really a documentation issue rather than an actual build issue.
Thanks.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#32 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAW1AXdlq4QzDSxwsBXEbmrfU7jvEHwgks5vB2XSgaJpZM4Z5k0N>
.
|
I'm closing this issue as it's really a "read the existing install docs" issue |
I use vs2017 to build this project,and it report an error saying that "C:\Program Files\VSG" is forbidden to write (almost like this).
After I change the installation directory to other non-system directory ,everything is OK.
The text was updated successfully, but these errors were encountered: