-
 

fluent_bit_vendor repository

Repository Summary

Checkout URI https://github.com/minipada/fluent_bit_vendor.git
VCS Type git
VCS Version humble
Last Updated 2023-06-06
Dev Status UNMAINTAINED
CI status No Continuous Integration
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Packages

Name Version
fluent_bit_vendor 2.1.3

README

fluent_bit_vendor

Build Status

CMake wrapper to provide Fluent Bit C API.

The wrapper compiles Fluent Bit and export the library and includes. Some includes are not provided by the standard package and that is why there is a patch.

Then, in your ROS 2 project:

  1. Add it as dependency in your package.xml
  2. Add it as dependency in your CMakeLists.txt
find_package(fluent_bit_vendor REQUIRED)
find_package(fluent_bit REQUIRED)

  1. Include it in your project
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wpedantic"
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wsign-compare"
#include <fluent-bit.h>
#pragma GCC diagnostic pop

  1. Link your cpp file to it
target_link_libraries(
  my_library
  fluent_bit::fluent_bit
)

  1. Run colcon build

CONTRIBUTING

No CONTRIBUTING.md found.