samoilovv / TinkoffInvestSDK

C++ client for Tinkoff Invest API
https://samoilovv.github.io/TinkoffInvestSDK/
MIT License
28 stars 5 forks source link

При установке и попытке сборки проекта на OsX возникает проблема с сертификатами #19

Open Ilukatsk opened 6 months ago

Ilukatsk commented 6 months ago

При попытке сборки проекта возникает предупреждение:

  Policy CMP0042 is not set: MACOSX_RPATH is enabled by default.  Run "cmake
  --help-policy CMP0042" for policy details.  Use the cmake_policy command to
  set the policy and suppress this warning.

  MACOSX_RPATH is not specified for the following targets:

   zlib

Далее при попытке запустить пример кода не получается найти сертификаты:


E0415 11:43:34.985650000 8009932480 ssl_utils.cc:600]                  load_file: {"created":"@1713170614.985609000","description":"Failed to load file","file":"/Users/admin/TinkoffInvestSDK/cmake-build-debug/_deps/grpc-src/src/core/lib/iomgr/load_file.cc","file_line":72,"filename":"/usr/share/grpc/roots.pem","referenced_errors":[{"created":"@1713170614.985605000","description":"No such file or directory","errno":2,"file":"/Users/admin/TinkoffInvestSDK/cmake-build-debug/_deps/grpc-src/src/core/lib/iomgr/load_file.cc","file_line":45,"os_error":"No such file or directory","syscall":"fopen"}]}
E0415 11:43:34.987093000 8009932480 ssl_security_connector.cc:420]     Could not get default pem root certs.
E0415 11:43:34.987156000 8009932480 secure_channel_create.cc:88]       Failed to create secure subchannel for secure name 'invest-public-api.tinkoff.ru:443'
E0415 11:43:34.987172000 8009932480 secure_channel_create.cc:48]       Failed to create channel args during subchannel creation.```