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_INSTALL_PREFIX variable to the CMake invocation:
> 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 < [email protected]> wrote: > 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 > > On Tue, Oct 3, 2017 at 11:40 AM, <[email protected]> wrote: > >> 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 [email protected]. >> 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 [email protected]. > 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 [email protected]. Visit this group at https://groups.google.com/group/capnproto.
