vcpkg icon indicating copy to clipboard operation
vcpkg copied to clipboard

[sdl2] build failure

Open Rossmaxx opened this issue 3 years ago • 1 comments

Host Environment

  • OS: Windows 11
  • Compiler: MinGW-w64 12.1 (msys2)

To Reproduce Steps to reproduce the behavior: ./vcpkg -- triplet=x64-mingw-dynamic install sdl2

Failure logs

-- Configuring x64-mingw-dynamic
CMake Warning at installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_configure.cmake:302 (message):
  The following variables are not used in CMakeLists.txt:

      SDL_FORCE_STATIC_VCRT

  Please recheck them and remove the unnecessary options from the
  `vcpkg_cmake_configure` call.

  If these options should still be passed for whatever reason, please use the
  `MAYBE_UNUSED_VARIABLES` argument.
Call Stack (most recent call first):
  ports/sdl2/portfile.cmake:38 (vcpkg_cmake_configure)
  scripts/ports.cmake:147 (include)


-- Building x64-mingw-dynamic-dbg
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:129 (message):
    Command failed: "C:/Program Files/CMake/bin/cmake.exe" --build . --config Debug --target install -- -v -j9
    Working Directory: C:/vcpkglibs/vcpkg/buildtrees/sdl2/x64-mingw-dynamic-dbg
    See logs for more information:
      C:\vcpkglibs\vcpkg\buildtrees\sdl2\install-x64-mingw-dynamic-dbg-out.log

Call Stack (most recent call first):
  installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_build.cmake:74 (vcpkg_execute_build_process)
  installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_install.cmake:16 (vcpkg_cmake_build)
  ports/sdl2/portfile.cmake:49 (vcpkg_cmake_install)
  scripts/ports.cmake:147 (include)

install-x64-mingw-dynamic-dbg-out.log

Additional context I am trying to build lmms using mingw where sdl2 is a dependency. Due to this error, sdl2 does not get installed.

Rossmaxx avatar Aug 27 '22 07:08 Rossmaxx

I encountered the same problem, too. And my vcpkg versions following:

vcpkg-tool version: 2022-06-17-9268e366206712e38102b28dbd1617697a99ff2e
vcpkg-scripts version: c168ce4e7 2022-06-24 (3 months ago)

Wakotu avatar Sep 18 '22 09:09 Wakotu

This issue hasn’t been updated in 1 month, if it is still an issue, please reopen this issue.

LilyWangLL avatar Oct 23 '22 03:10 LilyWangLL