From 691c26c8faab52c1a211e76b2e9aa089924778ea Mon Sep 17 00:00:00 2001 From: Magne Sjaastad Date: Wed, 29 May 2019 10:14:34 +0200 Subject: [PATCH] Adjustments to install instructions for Windows --- GRPC_install_instructions.txt | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/GRPC_install_instructions.txt b/GRPC_install_instructions.txt index 7deba5e702..2243a31dc2 100644 --- a/GRPC_install_instructions.txt +++ b/GRPC_install_instructions.txt @@ -1,21 +1,22 @@ ########## Windows using vcpkg ################### 1. Clone VCPKG git clone https://github.com/microsoft/vcpkg.git - -4. Install VCPKG from within vcpkg folder: +2. Install VCPKG from within vcpkg folder: .\boostrap-vcpkg.bat -5. Perform integrated install (as admin) within vcpkg folder. Not sure if it is necessary. -.\vcpkg integrate install -5. Install GRPC +3. Install GRPC .\vcpkg install grpc --triplet x64-windows -6. Run cmake with -DCMAKE_TOOLCHAIN_FILE=LOCATION_OF_VCPKG/buildsystems/vcpkg.cmake - This can be set on the configure dialog that comes up when you press configure with a fresh build folder. -7. Enable GRPC by setting RESINSIGHT_ENABLE_GRPC = true -8. Python - - Install Python 3 - - Execute the following using the Python3 - python -m pip install grpcio-tools - - Make sure the python executable is found by setting -DPYTHON_EXECUTABLE=LOCATION_OF_PYTHON.EXE + +4. Python +* Install Python 3 +* Execute the following using Python3 + python -m pip install grpcio-tools +* Make sure the python executable is found by setting -DPYTHON_EXECUTABLE=LOCATION_OF_PYTHON.EXE + +4. Run cmake with the following statements +-DRESINSIGHT_ENABLE_GRPC=true +-DPYTHON_EXECUTABLE=LOCATION_OF_PYTHON.EXE +-DCMAKE_TOOLCHAIN_FILE=LOCATION_OF_VCPKG/scripts/buildsystems/vcpkg.cmake +-A x64 ############ Linux as STANDALONE GPRC (using GRPC_INSTALL_PREFIX=/opt/grpc as an example) ############### 1. Clone grpc