I'm trying to use {fmt} (https://fmt.dev) in my project, but I'm stuck on the linker step - I suspect that there are missing pieces in the toolchain.
The first few lines of the error message are these:
Code: Select all
externals/fmt/libfmtd.a(format.cc.obj):(.literal+0x0): undefined reference to `__xpg_strerror_r'
externals/fmt/libfmtd.a(format.cc.obj):(.literal+0x2c): undefined reference to `std::allocator<char>::allocator()'
externals/fmt/libfmtd.a(format.cc.obj):(.literal+0x30): undefined reference to `std::allocator<char>::~allocator()'
externals/fmt/libfmtd.a(format.cc.obj):(.literal+0x34): undefined reference to `fputc'
externals/fmt/libfmtd.a(format.cc.obj):(.literal+0x68): undefined reference to `std::allocator<wchar_t>::allocator()'
externals/fmt/libfmtd.a(format.cc.obj):(.literal+0x6c): undefined reference to `std::allocator<wchar_t>::~allocator()'
externals/fmt/libfmtd.a(format.cc.obj):(.literal+0x70): undefined reference to `fputws'
Thanks,
Update: These are all implemented - its just one of my project that fails with these errors for some reason, others builds fine with {fmt}.