You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This generates a single /usr/local/lib64/pkgconfig/fmt.pc file, so when I run pkg-config --libs fmt, it returns -L/usr/local/lib64 -lfmtd.
This is not a problem on build machines because there's typically no debug libraries built or installed, but on developer machines it leads to linking problems.
From another issue (#1264 (comment)) I see that fmt.pc is intended for release builds, but that would make it more complicated to use it in make files that build both types.
I reworked my make files to use just fmt libraries appropriate for each build type, so this is more of an FYI.
The text was updated successfully, but these errors were encountered:
When I install debug and release
fmt
libraries via CMake, the last one overwritesplgconfig
configuration.For example, I download
fmt-8.1.0.zip
and extract it intofmt-8.1.0
in the current directory and build it as follows:This generates a single
/usr/local/lib64/pkgconfig/fmt.pc
file, so when I runpkg-config --libs fmt
, it returns-L/usr/local/lib64 -lfmtd
.This is not a problem on build machines because there's typically no debug libraries built or installed, but on developer machines it leads to linking problems.
From another issue (#1264 (comment)) I see that
fmt.pc
is intended for release builds, but that would make it more complicated to use it in make files that build both types.I reworked my make files to use just
fmt
libraries appropriate for each build type, so this is more of an FYI.The text was updated successfully, but these errors were encountered: