Skip to content

BuildNotes

Dibyendu Majumdar edited this page Jun 11, 2019 · 3 revisions

Notes on Building OpenRedukti

These are notes to myself.

grpc on Windows

vcpkg install grpc --triplet x64-windows-static-dyncrt

After installation:

The package grpc:x64-windows-static-dyncrt provides CMake targets:

    find_package(gRPC CONFIG REQUIRED)
    # Note: 9 target(s) were omitted.
    target_link_libraries(main PRIVATE gRPC::gpr gRPC::grpc gRPC::grpc++ gRPC::grpc_cronet)
cmake -DPROTOBUF_SRC_ROOT_FOLDER=c:\Software\protobuf371d -G "Visual Studio 15 2017 Win64" -DCMAKE_BUILD_TYPE=Debug -DgRPC_DIR=c:\work\vcpkg\installed\x64-windows-static-dyncrt\share\grpc ..
cmake -DPROTOBUF_SRC_ROOT_FOLDER=c:\Software\protobuf371d -G "Visual Studio 15 2017 Win64" -DCMAKE_BUILD_TYPE=Debug -DgRPC_DIR=c:\work\vcpkg\installed\x64-windows-static-dyncrt\share\grpc -Dc-ares_DIR=c:\work\vcpkg\installed\x64-windows-static-dyncrt\share\c-ares ..

Clone this wiki locally