Closed kyuhyong closed 8 months ago
Does this branch fixes the issue https://github.com/eProsima/Micro-XRCE-DDS-Agent/pull/345 ?
Does this branch fixes the issue eProsima/Micro-XRCE-DDS-Agent#345 ?
This issue resolved actually by setting UAGENT_USE_SYSTEM_LOGGER to ON. It was OFF before.
option(UAGENT_USE_SYSTEM_LOGGER "Force use of system installed spdlog logger on superbuild." ON)
Cool closed as solved
I revisited this package and still get error regard to fmt either UAGENT_USE_SYSTEM_LOGGER is ON or OFF
I checked the version of spdlog as below.
$ sudo apt show libspdlog-dev
Package: libspdlog-dev
Version: 1:0.16.3-1
Priority: optional
Section: universe/libdevel
Source: spdlog
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 501 kB
Homepage: https://github.com/gabime/spdlog
Download-Size: 143 kB
APT-Manual-Installed: yes
APT-Sources: http://ports.ubuntu.com/ubuntu-ports bionic/universe arm64 Packages
Description: Very fast, header only, C++ logging library
Features: Very fast - performance is the primary goal; Headers only; No
dependencies - just copy and use; call style using the excellent cppformat
library; ostream call style is supported too; Optional extremely fast
asynchronous mode - using lockfree queues and other tricks to reach millions
of calls/sec; Custom formatting; Multi/Single threaded loggers; Easily
extendable with custom log targets (just implement a single function in the
sink interface). Severity based filtering - threshold levels can be modified
in runtime as well as in compile time.
.
Various log targets:
Rotating log files, Daily log files, Console logging, Linux syslog.
How can I solve the issue?
This is issue resolved by source install spdlog from the git repository. Latest spdlog is v1.15 and after install, it builds without error.
Issue template
Steps to reproduce the issue
Foxy is installed I followed below method to install micro_ros_agent
Initially had issue with libfmt so I apt installed below
$ sudo apt install libfmt-dev libspdlog-dev
Expected behavior
Actual behavior
I am keep getting below error
How to solve this issue?
Additional information