Skip to content

Analogy-LogViewer/Analogy-cpp-Logging

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Analogy-cpp-Logging

C++ gRPC client that streams messages to Analogy Log Server.

Windows

steps to install gRPC C++ library/dependencies:

  1. install vcpkg. See Quick start for windows.

  2. install gRPC C++ from the command line:

  • 32 bit: vcpkg install grpc:x86-windows or vcpkg install grpc
  • 64 bit: vcpkg install grpc:x64-windows
  1. If zlib support is desired, you'll also need to install the zlib feature: vcpkg install protobuf[zlib] or vcpkg install protobuf[zlib]:x64-windows

  2. Once installed, you can find the installed packages in the vcpkg directory under the folder <vcpkg_installed_path>\packages. In order to make the packages available system-wide, you need to issue the command vcpkg integrate install

  3. (this step is not needed asthe c++ files were alread generated): Generating c++ files:

  • from the proto folder run:
  • protoc -I=. --cpp_out=. Analogy.proto
  • protoc -I=. --grpc_out=. --plugin=protoc-gen-grpc="<vcpkg_install_path>\packages\grpc_x64-windows\tools\grpc\grpc_cpp_plugin.exe" Analogy.proto

6.Creating a project using CMake:

  • from the build folder run the following command: cmake -G "Visual Studio 16 2019" ../ -DCMAKE_TOOLCHAIN_FILE=<vcpkg_install_path>/scripts/buildsystems/vcpkg.cmake

7.now from the build folder you can open the visual studio solution and run the client project or run cmake build .

About

C++ gRPC client that streams messages to Analogy Log Server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published