Open raoufowo opened 2 months ago
C:/Program Files/LLVM/bin/clang.exe
with
C:\MinGW\bin\ld.exe
.
Are you sure this is what you want?
C:/Program Files/LLVM/bin/clang.exe
withC:\MinGW\bin\ld.exe
. Are you sure this is what you want?
I think it should use C:/MinGW/bin/c++.exe I have no idea how to fix it ,I tried remove LLVM from windows envirment,reinstall cmake ,update vcpkg and reinstall mingw still same issue
Actually vcpkg's mingw toolchain expects prefixed tools:
find_program(CMAKE_C_COMPILER "${CMAKE_SYSTEM_PROCESSOR}-w64-mingw32-gcc")
find_program(CMAKE_CXX_COMPILER "${CMAKE_SYSTEM_PROCESSOR}-w64-mingw32-g++")
Operating system
WINDOWS 10
Compiler
MinGW
Steps to reproduce the behavior
Failure logs
C:\vccpkg>vcpkg install sqlite3:x86-mingw-static Computing installation plan... The following packages will be built and installed: sqlite3[core,json1]:x86-mingw-static@3.46.0#1 Detecting compiler hash for triplet x86-mingw-static... Compiler found: C:/MinGW/bin/c++.exe Restored 0 package(s) from C:\Users\AZE\AppData\Local\vcpkg\archives in 255 us. Use --debug to see more details. Installing 1/1 sqlite3[core,json1]:x86-mingw-static@3.46.0#1... Building sqlite3[core,json1]:x86-mingw-static@3.46.0#1... C:\vccpkg\triplets\community\x86-mingw-static.cmake: info: loaded community triplet from here. Community triplets are not built in the curated registry and are thus less likely to succeed. -- Using cached sqlite-autoconf-3460000.zip. -- Cleaning sources at C:/vccpkg/buildtrees/sqlite3/src/nf-3460000-3ccc79c074.clean. Use --editable to skip cleaning for the packages you specify. -- Extracting source C:/vccpkg/downloads/sqlite-autoconf-3460000.zip -- Applying patch fix-arm-uwp.patch -- Applying patch add-config-include.patch -- Using source at C:/vccpkg/buildtrees/sqlite3/src/nf-3460000-3ccc79c074.clean -- Configuring x86-mingw-static CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:112 (message): Command failed: C:/vccpkg/downloads/tools/ninja/1.10.2-windows/ninja.exe -v Working Directory: C:/vccpkg/buildtrees/sqlite3/x86-mingw-static-rel/vcpkg-parallel-configure Error code: 1 See logs for more information: C:\vccpkg\buildtrees\sqlite3\config-x86-mingw-static-dbg-CMakeCache.txt.log C:\vccpkg\buildtrees\sqlite3\config-x86-mingw-static-rel-CMakeCache.txt.log C:\vccpkg\buildtrees\sqlite3\config-x86-mingw-static-dbg-CMakeConfigureLog.yaml.log C:\vccpkg\buildtrees\sqlite3\config-x86-mingw-static-rel-CMakeConfigureLog.yaml.log C:\vccpkg\buildtrees\sqlite3\config-x86-mingw-static-out.log
Call Stack (most recent call first): installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_configure.cmake:269 (vcpkg_execute_required_process) ports/sqlite3/portfile.cmake:68 (vcpkg_cmake_configure) scripts/ports.cmake:191 (include)
error: building sqlite3:x86-mingw-static failed with: BUILD_FAILED Elapsed time to handle sqlite3:x86-mingw-static: 18 s Please ensure you're using the latest port files with
git pull
andvcpkg update
. Then check for known issues at: https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+sqlite3 You can submit a new issue at: https://github.com/microsoft/vcpkg/issues/new?title=[sqlite3]+Build+error+on+x86-mingw-static&body=Copy+issue+body+from+C%3A%2Fvccpkg%2Finstalled%2Fvcpkg%2Fissue_body.mdAdditional context
that s happen in every package I try to install config-x86-mingw-static-dbg-CMakeCache.txt.log config-x86-mingw-static-rel-CMakeCache.txt.log config-x86-mingw-static-rel-CMakeConfigureLog.yaml.log config-x86-mingw-static-dbg-CMakeConfigureLog.yaml.log config-x86-mingw-static-out.log