Hi,

Rene Engelhard kirjoitti 26.2.2020 klo 18.49:
[...]
>> libfmt-dev does not have a .pc file. Thus this isn't resolvable.
>>
>> root@frodo:/# pkg-config --cflags fmt
>> Package fmt was not found in the pkg-config search path.
>> Perhaps you should add the directory containing `fmt.pc'
>> to the PKG_CONFIG_PATH environment variable
>> No package 'fmt' found
>>
>> -> bug in spdlog
> 
> Commenting out the above line of course works.
> 
> It seems to me that libfmt-dev is header-only or static? (-dev doesn't
> depend on a fmt shared library). So that means that it could safely be
> removed for the header-only usecase.

It is correct that as of moment libfmt-dev provides a static library only, due 
to
a small library size plus still somewhat frequent API changes.

[...]
> Or fmt gets a .pc file (Cced.)

Thanks for the message. Upstream started to provide .pc-file in relatively 
recent versions.
With libfmt-dev from experimental (and soon in unstable), "pkg-config --cflags 
fmt" works.


Regards,
-- 
Eugene V. Lyubimkin aka JackYF
C++ GNU/Linux userspace developer, Debian Developer

Reply via email to