I have the exact same problem on the v1.0.0 branch. I could vent my frustration with gRPC after 4 days of trying to get up and running, but I'll spare you.
I am trying to use the Google Speech API from a C++ Windows application. I need statically linked libraries for grp, grpc and grpc++, but the cmake process is not working for me. I had to add the following lines to CMakeLists.txt:
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} /MTd")
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} /MT")
, while the call to cmake looks like:
cmake -G "Visual Studio 12 2013" -D_WIN32_WINNT=0x0601 -D_SCL_SECURE_NO_WARNINGS=1
This brings the number of compile errors down from 799 (!) to 45. But now I am stuck on the missing sha1-586.obj file. I have tried renaming sha1.obj, but then it simply starts complaining about other missing files.
I would very much appreciate it if Google would either/both:
* add proper support for the Windows platform
* make precompiled libraries and executables available, so we don't have to spend a week trying to compile things.
-Paul
P.S.: using the Cpp REST SDK from Microsoft I have been able to successfully call the server and get a result. But we need streaming support, so REST won't do.
Op vrijdag 26 augustus 2016 14:46:47 UTC+2 schreef
joest...@gmail.com: