MillhioreBT / forgottenserver-downgrade

TFS Downgrade 1.5+ is an engine based on nekiro downgrade but highly updated with current tfs code, it also has the lua modules divided and uses lua5.4
GNU General Public License v2.0
19 stars 18 forks source link

error: building libmariadb:x64-windows failed with: BUILD_FAILED while installing libraries #32

Open tosiaplplpl opened 1 month ago

tosiaplplpl commented 1 month ago

I'm getting error: building libmariadb:x64-windows failed with: BUILD_FAILED while installing libraries vcpkg for 64-bit build:. Windows 10 22H2 x64. vcpkg is updated

Installing 70/72 libmariadb[core,iconv,schannel,ssl]:x64-windows@3.4.1...
Building libmariadb[core,iconv,schannel,ssl]:x64-windows@3.4.1...
-- Downloading https://github.com/mariadb-corporation/mariadb-connector-c/archive/v3.4.1.tar.gz -> mariadb-corporation-mariadb-connector-c-v3.4.1.tar.gz...
-- Extracting source C:/vcpkg/downloads/mariadb-corporation-mariadb-connector-c-v3.4.1.tar.gz
-- Applying patch compiler-flags.diff
-- Applying patch dependencies.diff
-- Applying patch disable-mariadb_config.diff
-- Applying patch library-linkage.diff
-- Applying patch cmake-export.diff
-- Applying patch no-abs-path.diff
-- Applying patch ushort-check.diff
-- Using source at C:/vcpkg/buildtrees/libmariadb/src/v3.4.1-3a966c3287.clean
CMake Warning (dev) at scripts/cmake/vcpkg_find_acquire_program.cmake:70 (cmake_parse_arguments):
  An empty string was given as the value after the INTERPRETER keyword.
  Policy CMP0174 is not set, so cmake_parse_arguments() will unset the
  arg_INTERPRETER variable rather than setting it to an empty string.
Call Stack (most recent call first):
  scripts/cmake/vcpkg_find_acquire_program.cmake:143 (z_vcpkg_find_acquire_program_find_internal)
  installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_configure.cmake:116 (vcpkg_find_acquire_program)
  ports/libmariadb/portfile.cmake:50 (vcpkg_cmake_configure)
  scripts/ports.cmake:192 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at scripts/cmake/vcpkg_find_acquire_program.cmake:30 (cmake_parse_arguments):
  An empty string was given as the value after the INTERPRETER keyword.
  Policy CMP0174 is not set, so cmake_parse_arguments() will unset the
  arg_INTERPRETER variable rather than setting it to an empty string.
Call Stack (most recent call first):
  scripts/cmake/vcpkg_find_acquire_program.cmake:149 (z_vcpkg_find_acquire_program_find_external)
  installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_configure.cmake:116 (vcpkg_find_acquire_program)
  ports/libmariadb/portfile.cmake:50 (vcpkg_cmake_configure)
  scripts/ports.cmake:192 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found external ninja('1.11.0').
-- Configuring x64-windows
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:127 (message):
    Command failed: "D:/Visual Studio Community 2022/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" -v
    Working Directory: C:/vcpkg/buildtrees/libmariadb/x64-windows-rel/vcpkg-parallel-configure
    Error code: 1
    See logs for more information:
      C:\vcpkg\buildtrees\libmariadb\config-x64-windows-dbg-CMakeCache.txt.log
      C:\vcpkg\buildtrees\libmariadb\config-x64-windows-rel-CMakeCache.txt.log
      C:\vcpkg\buildtrees\libmariadb\config-x64-windows-dbg-CMakeConfigureLog.yaml.log
      C:\vcpkg\buildtrees\libmariadb\config-x64-windows-rel-CMakeConfigureLog.yaml.log
      C:\vcpkg\buildtrees\libmariadb\config-x64-windows-out.log

Call Stack (most recent call first):
  installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_configure.cmake:269 (vcpkg_execute_required_process)
  ports/libmariadb/portfile.cmake:50 (vcpkg_cmake_configure)
  scripts/ports.cmake:192 (include)

error: building libmariadb:x64-windows failed with: BUILD_FAILED
See https://learn.microsoft.com/vcpkg/troubleshoot/build-failures?WT.mc_id=vcpkg_inproduct_cli for more information.
Elapsed time to handle libmariadb:x64-windows: 4.7 min
Please ensure you're using the latest port files with `git pull` and `vcpkg update`.
Then check for known issues at:
  https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+libmariadb
You can submit a new issue at:
  https://github.com/microsoft/vcpkg/issues/new?title=[libmariadb]+Build+error+on+x64-windows&body=Copy+issue+body+from+C%3A%2Fvcpkg%2Finstalled%2Fvcpkg%2Fissue_body.md
gesior commented 2 days ago

I'm getting error

This PR should fix all compilation errors on Windows: https://github.com/MillhioreBT/forgottenserver-downgrade/pull/34