Discussion:
[capnproto] Suggested addition to capnproto.org/install.html Windows Installation instructions
n***@accups.com
2017-10-03 18:40:18 UTC
Permalink
4. Open the “Cap’n Proto” solution in Visual Studio.
Leads to an error on point 7 because CMAKE_INSTALL_PREFIX is "C:/Program
Files/..." by default, which requires administrative permissions to access.

4. Open the “Cap’n Proto” solution in Visual Studio as administrator.
The above addition hints at the solution to the issue.
--
You received this message because you are subscribed to the Google Groups "Cap'n Proto" group.
To unsubscribe from this group and stop receiving emails from it, send an email to capnproto+***@googlegroups.com.
Visit this group at https://groups.google.com/group/capnproto.
'Kenton Varda' via Cap'n Proto
2017-10-03 22:05:39 UTC
Permalink
Hmm, but we shouldn't be telling people they need to run as Administrator
to do things.

Maybe the install prefix should default somewhere else? Harris, any
thoughts?

-Kenton
4. Open the “Cap’n Proto” solution in Visual Studio.
Leads to an error on point 7 because CMAKE_INSTALL_PREFIX is "C:/Program
Files/..." by default, which requires administrative permissions to access.
4. Open the “Cap’n Proto” solution in Visual Studio as administrator.
The above addition hints at the solution to the issue.
--
You received this message because you are subscribed to the Google Groups
"Cap'n Proto" group.
To unsubscribe from this group and stop receiving emails from it, send an
Visit this group at https://groups.google.com/group/capnproto.
--
You received this message because you are subscribed to the Google Groups "Cap'n Proto" group.
To unsubscribe from this group and stop receiving emails from it, send an email to capnproto+***@googlegroups.com.
Visit this group at https://groups.google.com/group/capnproto.
Harris Hancock
2017-10-03 22:44:09 UTC
Permalink
I agree with Kenton. I think we definitely should not advocate running
Visual Studio as Administrator, but we could adjust step 3 to add the
cmake -G "Visual Studio 14 2015" -DCMAKE_INSTALL_PREFIX=<prefix>
with explanatory text about what <prefix> means, and adjusting step 7 to
use the same notional <prefix> variable -- I imagine most developers
wouldn't want to install their dependencies in C:/Program Files/... anyway.


On Tue, Oct 3, 2017 at 3:05 PM, 'Kenton Varda' via Cap'n Proto <
Hmm, but we shouldn't be telling people they need to run as Administrator
to do things.
Maybe the install prefix should default somewhere else? Harris, any
thoughts?
-Kenton
4. Open the “Cap’n Proto” solution in Visual Studio.
Leads to an error on point 7 because CMAKE_INSTALL_PREFIX is "C:/Program
Files/..." by default, which requires administrative permissions to access.
4. Open the “Cap’n Proto” solution in Visual Studio as administrator.
The above addition hints at the solution to the issue.
--
You received this message because you are subscribed to the Google Groups
"Cap'n Proto" group.
To unsubscribe from this group and stop receiving emails from it, send an
Visit this group at https://groups.google.com/group/capnproto.
--
You received this message because you are subscribed to the Google Groups
"Cap'n Proto" group.
To unsubscribe from this group and stop receiving emails from it, send an
Visit this group at https://groups.google.com/group/capnproto.
--
You received this message because you are subscribed to the Google Groups "Cap'n Proto" group.
To unsubscribe from this group and stop receiving emails from it, send an email to capnproto+***@googlegroups.com.
Visit this group at https://groups.google.com/group/capnproto.
Loading...