mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-09 23:16:00 -06:00
Adjustments to install instructions for Windows
This commit is contained in:
parent
b2b3581e9d
commit
691c26c8fa
@ -1,21 +1,22 @@
|
|||||||
########## Windows using vcpkg ###################
|
########## Windows using vcpkg ###################
|
||||||
1. Clone VCPKG
|
1. Clone VCPKG
|
||||||
git clone https://github.com/microsoft/vcpkg.git
|
git clone https://github.com/microsoft/vcpkg.git
|
||||||
|
2. Install VCPKG from within vcpkg folder:
|
||||||
4. Install VCPKG from within vcpkg folder:
|
|
||||||
.\boostrap-vcpkg.bat
|
.\boostrap-vcpkg.bat
|
||||||
5. Perform integrated install (as admin) within vcpkg folder. Not sure if it is necessary.
|
3. Install GRPC
|
||||||
.\vcpkg integrate install
|
|
||||||
5. Install GRPC
|
|
||||||
.\vcpkg install grpc --triplet x64-windows
|
.\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.
|
4. Python
|
||||||
7. Enable GRPC by setting RESINSIGHT_ENABLE_GRPC = true
|
* Install Python 3
|
||||||
8. Python
|
* Execute the following using Python3
|
||||||
- Install Python 3
|
python -m pip install grpcio-tools
|
||||||
- Execute the following using the Python3
|
* Make sure the python executable is found by setting -DPYTHON_EXECUTABLE=LOCATION_OF_PYTHON.EXE
|
||||||
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) ###############
|
############ Linux as STANDALONE GPRC (using GRPC_INSTALL_PREFIX=/opt/grpc as an example) ###############
|
||||||
1. Clone grpc
|
1. Clone grpc
|
||||||
|
Loading…
Reference in New Issue
Block a user