Closed traversaro closed 4 years ago
Now there is a new error in spdlog compilation:
D:\a\drake-lite-cmake\drake-lite-cmake\spdlog\include\spdlog/details/fmt_helper.h(37,43): error C3083: 'internal': the symbol to the left of a '::' must be a type [D:\a\drake-lite-cmake\drake-lite-cmake\spdlog\build\spdlog.vcxproj]
D:\a\drake-lite-cmake\drake-lite-cmake\spdlog\include\spdlog/details/fmt_helper.h(37,53): error C2039: 'count_digits': is not a member of 'fmt' [D:\a\drake-lite-cmake\drake-lite-cmake\spdlog\build\spdlog.vcxproj]
Probably it is the effect of some update of MSVC or similar.
Now there is a new error in spdlog compilation:
D:\a\drake-lite-cmake\drake-lite-cmake\spdlog\include\spdlog/details/fmt_helper.h(37,43): error C3083: 'internal': the symbol to the left of a '::' must be a type [D:\a\drake-lite-cmake\drake-lite-cmake\spdlog\build\spdlog.vcxproj] D:\a\drake-lite-cmake\drake-lite-cmake\spdlog\include\spdlog/details/fmt_helper.h(37,53): error C2039: 'count_digits': is not a member of 'fmt' [D:\a\drake-lite-cmake\drake-lite-cmake\spdlog\build\spdlog.vcxproj]
Probably it is the effect of some update of MSVC or similar.
I think the problem was due to the fact that we get fmt from the latest vcpkg (for testing eventual regression), while spdlog was obtained from the v1.6.0 . As discussed in https://github.com/microsoft/vcpkg/pull/12312, this creates problems. Bumping spdlog to v1.7.0 should solve the problem.
Workaround for https://github.com/traversaro/drake-lite-cmake/issues/17 .