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
I followed the HelloWorld example on the "Getting Started" page, vcpkg/get_started/get-started.md, and the compiled binary produced an error message saying it couldn't find fmtd.dll.
Solution
I fixed this in two ways:
Used target_link_libraries(main PRIVATE fmt::fmt-header-only) in the CMake preset.
Used target_link_libraries(main PRIVATE fmt::fmt) in the CMake preset but typed vcpkg.exe integrate install before building the CMake project.
Hopefully I didn't miss a setup step, but I thought I'd report it in case the example needs some clarification.
Thank you.
The text was updated successfully, but these errors were encountered:
Description
I followed the HelloWorld example on the "Getting Started" page,
vcpkg/get_started/get-started.md
, and the compiled binary produced an error message saying it couldn't findfmtd.dll
.Solution
I fixed this in two ways:
target_link_libraries(main PRIVATE fmt::fmt-header-only)
in the CMake preset.target_link_libraries(main PRIVATE fmt::fmt)
in the CMake preset but typedvcpkg.exe integrate install
before building the CMake project.Hopefully I didn't miss a setup step, but I thought I'd report it in case the example needs some clarification.
Thank you.
The text was updated successfully, but these errors were encountered: