Meanwhile I've resolved all problems on my own and successfully built the 
"helloworld" example program for C++. So there is no need to reply to my 
inquiries.

Best Regards
Claus Volko


On Friday, April 12, 2024 at 8:53:17 PM UTC+2 Claus Volko wrote:

> I solved the problem by using this command:
>
> cmake -DCMAKE_BUILD_TYPE=Release -DgRPC_INSTALL=ON -DgRPC_BUILD_TESTS=OFF 
> -DgRPC_CARES_PROVIDER=module -DgRPC_ABSL_PROVIDER=module 
> -DgRPC_PROTOBUF_PROVIDER=module -DgRPC_RE2_PROVIDER=module 
> -DgRPC_SSL_PROVIDER=module -DgRPC_ZLIB_PROVIDER=module ../..
>
> However, now I have the problem that when I try to build the example 
> program "helloworld" for cpp, libraries related to OpenSSL are missing. I 
> installed OpenSSL on my machine and the package does not contain a file 
> named SSL.lib, it only contains a file named libssl.lib. The same goes for 
> crypto.lib. Where can I get these files?
>
> Best Regards
> Claus Volko
> On Friday, April 12, 2024 at 6:51:24 AM UTC+2 Claus Volko wrote:
>
>> I am using Windows 10.
>>
>> When I am following the steps described at 
>> https://github.com/grpc/grpc/blob/master/BUILDING.md#build-from-source 
>> and execute the code in 
>> https://github.com/grpc/grpc/blob/master/test/distrib/cpp/run_distrib_test_cmake.sh,
>>  
>> I run into a problem related to absl. 
>>
>> When I execute this code:
>>
>> mkdir "cmake/build"
>> cd "cmake/build"
>> cmake -DCMAKE_BUILD_TYPE=Release -DgRPC_INSTALL=ON -DgRPC_BUILD_TESTS=OFF 
>> -DgRPC_CARES_PROVIDER=package -DgRPC_ABSL_PROVIDER=package 
>> -DgRPC_PROTOBUF_PROVIDER=package -DgRPC_RE2_PROVIDER=package 
>> -DgRPC_SSL_PROVIDER=package -DgRPC_ZLIB_PROVIDER=package ../..
>> cmake --build .
>>
>> I get the following error message:
>>
>> <<
>> -- Selecting Windows SDK version 10.0.22621.0 to target Windows 
>> 10.0.19045.
>> CMake Error at cmake/abseil-cpp.cmake:38 (find_package):
>>   Could not find a package configuration file provided by "absl" with any 
>> of
>>   the following names:
>>
>>     abslConfig.cmake
>>     absl-config.cmake
>>
>>   Add the installation prefix of "absl" to CMAKE_PREFIX_PATH or set
>>   "absl_DIR" to a directory containing one of the above files.  If "absl"
>>   provides a separate development package or SDK, be sure it has been
>>   installed.
>> Call Stack (most recent call first):
>>   CMakeLists.txt:335 (include)
>>
>>
>> -- Configuring incomplete, errors occurred!
>> >>
>>
>> What can I do about that?
>>
>> Best Regards
>> Claus Volko
>>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/f65ceddf-e65e-49dc-aed3-e2de90a47fd3n%40googlegroups.com.

Reply via email to