This is what our distribution tests for cmake superbuild are doing and they are passing: https://github.com/grpc/grpc/blob/68381892d3fc52594e963a12b077e176021b36c4/test/distrib/cpp/run_distrib_test_cmake_as_externalproject.bat#L22
You can probably missing downloading of openssl and using it. The problem is that boringssl doesn't really supporting "installing", and an installation of gRPC should really only depend on pre-installed dependency libraries - hence the need to use OpenSSL (boringssl is mostly used when embedding into grpc library and when building from source). On Saturday, January 19, 2019 at 11:44:33 AM UTC+1, borya zimka wrote: > > Hello! > I am trying to build the v1.18.0 helloworld example (superbuild > <https://github.com/grpc/grpc/blob/master/examples/cpp/helloworld/cmake_externalproject/CMakeLists.txt>version) > > using VS2017 at Windows10. > Build fails with message "Could NOT find OpenSSL, try to set the path to > OpenSSL root folder in the system variable OPENSSL_ROOT_DIR", full > traceback is in the .txt. > I have tried to set OPENSSL_ROOT_DIR to "grpc/third_party/boringssl" or > "grpc/third_party/boringssl/include", but this haven't helped. > > Using this guide <https://github.com/grpc/grpc/blob/master/BUILDING.md> I > have managed to build grpc itself (with warning 'gRPC_INSTALL will be > forced to FALSE because gRPC_ZLIB_PROVIDER is "module"', but no errors). I > used "Visual Studio 15" generator, not Ninja (not sure if it matters). But > I think it means that all necessary dependencies are actually available, > just not found by cmake. > > Any hints how can this example be build (perhaps not with boringssl) would > be very helpful! > > > -- You received this message because you are subscribed to the Google Groups "grpc.io" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/grpc-io. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/f62c146e-3f11-4367-861d-2a2d380787ba%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
