Open pfhgil opened 2 months ago
Your Mingw triplet is bad potentially, CMAKE_SYSTEM_NAME ends up as 'MINGW' instead 'Windows'.
The following system names are possible on Windows:
CYGWIN - Only if using the Cygwin version of CMake. MSYS - Only if using the MSYS2 version of CMAKE inside an MSYS environment (MSYSTEM=MSYS) Windows - Only if the above 2 don't apply.
There may be more cases, which you can see here: https://cmake.org/cmake/help/latest/variable/CMAKE_SYSTEM_NAME.html
Hi, I'm getting a rather strange error when installing zlib using vcpkg. I use MinGW Clang for cross compilation and my MinGW triplet for vcpkg (it differs from the standard x64-mingw-dynamic triplet only in the installation of the mingw-llvm toolchain). No error occurs when building for the host device.
I noticed that this error seems to appear on line 42 of zlib's CMakeLists.txt. This line says
check_type_size(off64_t OFF64_T)
Host:
Target:
Vcpkg version: 2024-02-07-8a83681f921b10d86ae626fd833c253f4f8c355b Build type: release
Target triplet:
Using toolchain:
config-sg-x64-mingw-dynamic-out.log: