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
Pay attention to this argument: \$<\$<COMPILE_LANGUAGE:CXX>:/utf-8>.
Looks like error comes from: vcpkg\ports\folly\fix-fmt11-cmake.patch: string(REPLACE "<$<COMPILE_LANGUAGE:CXX>:/utf-8>" "/utf-8" cflags "${cflags}")
Operating system
Windows 11 23H2 (OS Build 22631.4037)
Compiler
clang version 18.1.8
cmake version 3.30.3
Steps to reproduce the behavior
Step 1. cmake configure
Commands:
Output:
Pay attention to this argument:
\$<\$<COMPILE_LANGUAGE:CXX>:/utf-8>
.Looks like error comes from: vcpkg\ports\folly\fix-fmt11-cmake.patch:
string(REPLACE "<$<COMPILE_LANGUAGE:CXX>:/utf-8>" "/utf-8" cflags "${cflags}")
Step 2. cmake build -> error
Commands:
Output:
Files
CMakePreset.json
vcpkg.json
CMakeLists.txt
main.cpp
Failure logs
[1/2] Building CXX object CMakeFiles/main_cpp.dir/main.cpp.obj
FAILED: CMakeFiles/main_cpp.dir/main.cpp.obj
C:\PROGRA~1\LLVM\bin\CLANG_~1.EXE -DFMT_SHARED -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -DSPDLOG_SHARED_LIB -isystem C:/dev/vcpkg_error_minimal_example/build/vcpkg_installed/x64-windows/include -O0 -g -Xclang -gcodeview -D_DEBUG -D_DLL -D_MT -Xclang --dependent-lib=msvcrtd /utf-8 -MD -MT CMakeFiles/main_cpp.dir/main.cpp.obj -MF CMakeFiles\main_cpp.dir\main.cpp.obj.d -o CMakeFiles/main_cpp.dir/main.cpp.obj -c C:/dev/vcpkg_error_minimal_example/main.cpp
clang++: error: no such file or directory: '/utf-8'
ninja: build stopped: cannot make progress due to previous errors.
Additional context
No response
The text was updated successfully, but these errors were encountered: