microsoft / vcpkg

C++ Library Manager for Windows, Linux, and MacOS
MIT License
23.29k stars 6.43k forks source link

CMake Error at C:/dev/cpp/vcpkg/scripts/buildsystems/vcpkg.cmake:850 (message): #24460

Closed vishwanath377 closed 2 years ago

vishwanath377 commented 2 years ago

CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:158 (message): Command failed: "C:/Program Files/CMake/bin/cmake.exe" --build . --config Debug --target install -- -v -j9 Working Directory: C:/dev/cpp/vcpkg/buildtrees/blend2d/x64-windows-dbg See logs for more information: C:\dev\cpp\vcpkg\buildtrees\blend2d\install-x64-windows-dbg-out.log

Call Stack (most recent call first): build/build/vcpkg_installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_build.cmake:111 (vcpkg_execute_build_process) build/build/vcpkg_installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_install.cmake:41 (vcpkg_cmake_build) ports/blend2d/portfile.cmake:42 (vcpkg_cmake_install) scripts/ports.cmake:145 (include)

error: building blend2d:x64-windows failed with: BUILD_FAILED Please ensure you're using the latest portfiles 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+blend2d You can submit a new issue at: https://github.com/microsoft/vcpkg/issues/new?template=report-package-build-failure.md&title=[blend2d]+Build+error including: package: blend2d[core,futex,jit,logging,tls]:x64-windows -> 2022-02-19 vcpkg-tool version: 2022-03-30-692785ac944e81417840c6de244fb3e18a4b35eb vcpkg-scripts version: 94c728df6 2022-04-25 (2 days ago)

Additionally, attach any relevant sections from the log files above. -- Running vcpkg install - failed CMake Error at C:/dev/cpp/vcpkg/scripts/buildsystems/vcpkg.cmake:850 (message): vcpkg install failed. See logs for more information: C:\dev\cpp\vcpkg\build\build\vcpkg-manifest-install.log Call Stack (most recent call first): C:/Program Files/CMake/share/cmake-3.23/Modules/CMakeDetermineSystem.cmake:124 (include) CMakeLists.txt:26 (PROJECT)

-- Configuring incomplete, errors occurred!

LilyWangLL commented 2 years ago

Thanks for posting this issue. Please provide the error log files:

C:\dev\cpp\vcpkg\buildtrees\blend2d\install-x64-windows-dbg-out.log
C:\dev\cpp\vcpkg\build\build\vcpkg-manifest-install.log
vishwanath377 commented 2 years ago

C:\dev\cpp\vcpkg\buildtrees\blend2d\install-x64-windows-dbg-out.log

``` [1/161] C:\PROGRA~2\MICROS~2\2017\COMMUN~1\VC\Tools\MSVC\1416~1.270\bin\Hostx64\x64\cl.exe /TP -IC:\dev\cpp\vcpkg\buildtrees\blend2d\src\23dc95ca7d-d2fcae6730.clean\3rdparty\asmjit\src /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -MP -GR- -GF -Zc:__cplusplus -Zc:inline -Zc:strictStrings -Zc:threadSafeInit- -volatile:iso -W4 -DBL_BUILD_OPT_AVX2 -DASMJIT_STATIC -DASMJIT_NO_STDCXX -GS /showIncludes /FoCMakeFiles\blend2d.dir\src\blend2d\api-nocxx.cpp.obj /FdCMakeFiles\blend2d.dir\ /FS -c C:\dev\cpp\vcpkg\buildtrees\blend2d\src\23dc95ca7d-d2fcae6730.clean\src\blend2d\api-nocxx.cpp cl : Command line warning D9025 : overriding '/GR' with '/GR-' cl : Command line warning D9025 : overriding '/W3' with '/W4' [2/161] C:\PROGRA~2\MICROS~2\2017\COMMUN~1\VC\Tools\MSVC\1416~1.270\bin\Hostx64\x64\cl.exe /TP -IC:\dev\cpp\vcpkg\buildtrees\blend2d\src\23dc95ca7d-d2fcae6730.clean\3rdparty\asmjit\src /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -MP -GR- -GF -Zc:__cplusplus -Zc:inline -Zc:strictStrings -Zc:threadSafeInit- -volatile:iso -W4 -DBL_BUILD_OPT_AVX2 -DASMJIT_STATIC -DASMJIT_NO_STDCXX -GS /showIncludes /FoCMakeFiles\blend2d.dir\src\blend2d\format.cpp.obj /FdCMakeFiles\blend2d.dir\ /FS -c C:\dev\cpp\vcpkg\buildtrees\blend2d\src\23dc95ca7d-d2fcae6730.clean\src\blend2d\format.cpp cl : Command line warning D9025 : overriding '/GR' with '/GR-' cl : Command line warning D9025 : overriding '/W3' with '/W4' [3/161] C:\PROGRA~2\MICROS~2\2017\COMMUN~1\VC\Tools\MSVC\1416~1.270\bin\Hostx64\x64\cl.exe /TP -IC:\dev\cpp\vcpkg\buildtrees\blend2d\src\23dc95ca7d-d2fcae6730.clean\3rdparty\asmjit\src /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -MP -GR- -GF -Zc:__cplusplus -Zc:inline -Zc:strictStrings -Zc:threadSafeInit- -volatile:iso -W4 -DBL_BUILD_OPT_AVX2 -DASMJIT_STATIC -DASMJIT_NO_STDCXX -GS /showIncludes /FoCMakeFiles\blend2d.dir\src\blend2d\filesystem.cpp.obj /FdCMakeFiles\blend2d.dir\ /FS -c C:\dev\cpp\vcpkg\buildtrees\blend2d\src\23dc95ca7d-d2fcae6730.clean\src\blend2d\filesystem.cpp cl : Command line warning D9025 : overriding '/GR' with '/GR-' cl : Command line warning D9025 : overriding '/W3' with '/W4' [4/161] C:\PROGRA~2\MICROS~2\2017\COMMUN~1\VC\Tools\MSVC\1416~1.270\bin\Hostx64\x64\cl.exe /TP -IC:\dev\cpp\vcpkg\buildtrees\blend2d\src\23dc95ca7d-d2fcae6730.clean\3rdparty\asmjit\src /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -MP -GR- -GF -Zc:__cplusplus -Zc:inline -Zc:strictStrings -Zc:threadSafeInit- -volatile:iso -W4 -DBL_BUILD_OPT_AVX2 -DASMJIT_STATIC -DASMJIT_NO_STDCXX -GS /showIncludes /FoCMakeFiles\blend2d.dir\src\blend2d\bitset.cpp.obj /FdCMakeFiles\blend2d.dir\ /FS -c C:\dev\cpp\vcpkg\buildtrees\blend2d\src\23dc95ca7d-d2fcae6730.clean\src\blend2d\bitset.cpp cl : Command line warning D9025 : overriding '/GR' with '/GR-' cl : Command line warning D9025 : overriding '/W3' with '/W4' [5/161] C:\PROGRA~2\MICROS~2\2017\COMMUN~1\VC\Tools\MSVC\1416~1.270\bin\Hostx64\x64\cl.exe /TP -IC:\dev\cpp\vcpkg\buildtrees\blend2d\src\23dc95ca7d-d2fcae6730.clean\3rdparty\asmjit\src /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -MP -GR- -GF -Zc:__cplusplus -Zc:inline -Zc:strictStrings -Zc:threadSafeInit- -volatile:iso -W4 -DBL_BUILD_OPT_AVX2 -DASMJIT_STATIC -DASMJIT_NO_STDCXX -GS /showIncludes /FoCMakeFiles\blend2d.dir\src\blend2d\array.cpp.obj /FdCMakeFiles\blend2d.dir\ /FS -c C:\dev\cpp\vcpkg\buildtrees\blend2d\src\23dc95ca7d-d2fcae6730.clean\src\blend2d\array.cpp cl : Command line warning D9025 : overriding '/GR' with '/GR-' cl : Command line warning D9025 : overriding '/W3' with '/W4' [6/161] C:\PROGRA~2\MICROS~2\2017\COMMUN~1\VC\Tools\MSVC\1416~1.270\bin\Hostx64\x64\cl.exe /TP -IC:\dev\cpp\vcpkg\buildtrees\blend2d\src\23dc95ca7d-d2fcae6730.clean\3rdparty\asmjit\src /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -MP -GR- -GF -Zc:__cplusplus -Zc:inline -Zc:strictStrings -Zc:threadSafeInit- -volatile:iso -W4 -DBL_BUILD_OPT_AVX2 -DASMJIT_STATIC -DASMJIT_NO_STDCXX -GS /showIncludes /FoCMakeFiles\blend2d.dir\src\blend2d\fontmanager.cpp.obj /FdCMakeFiles\blend2d.dir\ /FS -c C:\dev\cpp\vcpkg\buildtrees\blend2d\src\23dc95ca7d-d2fcae6730.clean\src\blend2d\fontmanager.cpp cl : Command line warning D9025 : overriding '/GR' with '/GR-' cl : Command line warning D9025 : overriding '/W3' with '/W4' [7/161] C:\PROGRA~2\MICROS~2\2017\COMMUN~1\VC\Tools\MSVC\1416~1.270\bin\Hostx64\x64\cl.exe /TP -IC:\dev\cpp\vcpkg\buildtrees\blend2d\src\23dc95ca7d-d2fcae6730.clean\3rdparty\asmjit\src /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -MP -GR- -GF -Zc:__cplusplus -Zc:inline -Zc:strictStrings -Zc:threadSafeInit- -volatile:iso -W4 -DBL_BUILD_OPT_AVX2 -DASMJIT_STATIC -DASMJIT_NO_STDCXX -GS /showIncludes /FoCMakeFiles\blend2d.dir\src\blend2d\font.cpp.obj /FdCMakeFiles\blend2d.dir\ /FS -c C:\dev\cpp\vcpkg\buildtrees\blend2d\src\23dc95ca7d-d2fcae6730.clean\src\blend2d\font.cpp cl : Command line warning D9025 : overriding '/GR' with '/GR-' cl : Command line warning D9025 : overriding '/W3' with '/W4' [8/161] C:\PROGRA~2\MICROS~2\2017\COMMUN~1\VC\Tools\MSVC\1416~1.270\bin\Hostx64\x64\cl.exe /TP -IC:\dev\cpp\vcpkg\buildtrees\blend2d\src\23dc95ca7d-d2fcae6730.clean\3rdparty\asmjit\src /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -MP -GR- -GF -Zc:__cplusplus -Zc:inline -Zc:strictStrings -Zc:threadSafeInit- -volatile:iso -W4 -DBL_BUILD_OPT_AVX2 -DASMJIT_STATIC -DASMJIT_NO_STDCXX -GS /showIncludes /FoCMakeFiles\blend2d.dir\src\blend2d\geometry.cpp.obj /FdCMakeFiles\blend2d.dir\ /FS -c C:\dev\cpp\vcpkg\buildtrees\blend2d\src\23dc95ca7d-d2fcae6730.clean\src\blend2d\geometry.cpp cl : Command line warning D9025 : overriding '/GR' with '/GR-' cl : Command line warning D9025 : overriding '/W3' with '/W4' [9/161] C:\PROGRA~2\MICROS~2\2017\COMMUN~1\VC\Tools\MSVC\1416~1.270\bin\Hostx64\x64\cl.exe /TP -IC:\dev\cpp\vcpkg\buildtrees\blend2d\src\23dc95ca7d-d2fcae6730.clean\3rdparty\asmjit\src /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -MP -GR- -GF -Zc:__cplusplus -Zc:inline -Zc:strictStrings -Zc:threadSafeInit- -volatile:iso -W4 -DBL_BUILD_OPT_AVX2 -DASMJIT_STATIC -DASMJIT_NO_STDCXX -GS -arch:AVX /showIncludes /FoCMakeFiles\blend2d.dir\src\blend2d\matrix_avx.cpp.obj /FdCMakeFiles\blend2d.dir\ /FS -c C:\dev\cpp\vcpkg\buildtrees\blend2d\src\23dc95ca7d-d2fcae6730.clean\src\blend2d\matrix_avx.cpp cl : Command line warning D9025 : overriding '/GR' with '/GR-' cl : Command line warning D9025 : overriding '/W3' with '/W4' [10/161] C:\PROGRA~2\MICROS~2\2017\COMMUN~1\VC\Tools\MSVC\1416~1.270\bin\Hostx64\x64\cl.exe /TP -IC:\dev\cpp\vcpkg\buildtrees\blend2d\src\23dc95ca7d-d2fcae6730.clean\3rdparty\asmjit\src /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -MP -GR- -GF -Zc:__cplusplus -Zc:inline -Zc:strictStrings -Zc:threadSafeInit- -volatile:iso -W4 -DBL_BUILD_OPT_AVX2 -DASMJIT_STATIC -DASMJIT_NO_STDCXX -GS /showIncludes /FoCMakeFiles\blend2d.dir\src\blend2d\image.cpp.obj /FdCMakeFiles\blend2d.dir\ /FS -c C:\dev\cpp\vcpkg\buildtrees\blend2d\src\23dc95ca7d-d2fcae6730.clean\src\blend2d\image.cpp cl : Command line warning D9025 : overriding '/GR' with '/GR-' cl : Command line warning D9025 : overriding '/W3' with '/W4' [11/161] C:\PROGRA~2\MICROS~2\2017\COMMUN~1\VC\Tools\MSVC\1416~1.270\bin\Hostx64\x64\cl.exe /TP -IC:\dev\cpp\vcpkg\buildtrees\blend2d\src\23dc95ca7d-d2fcae6730.clean\3rdparty\asmjit\src /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -MP -GR- -GF -Zc:__cplusplus -Zc:inline -Zc:strictStrings -Zc:threadSafeInit- -volatile:iso -W4 -DBL_BUILD_OPT_AVX2 -DASMJIT_STATIC -DASMJIT_NO_STDCXX -GS /showIncludes /FoCMakeFiles\blend2d.dir\src\blend2d\imagecodec.cpp.obj /FdCMakeFiles\blend2d.dir\ /FS -c C:\dev\cpp\vcpkg\buildtrees\blend2d\src\23dc95ca7d-d2fcae6730.clean\src\blend2d\imagecodec.cpp FAILED: CMakeFiles/blend2d.dir/src/blend2d/imagecodec.cpp.obj C:\PROGRA~2\MICROS~2\2017\COMMUN~1\VC\Tools\MSVC\1416~1.270\bin\Hostx64\x64\cl.exe /TP -IC:\dev\cpp\vcpkg\buildtrees\blend2d\src\23dc95ca7d-d2fcae6730.clean\3rdparty\asmjit\src /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -MP -GR- -GF -Zc:__cplusplus -Zc:inline -Zc:strictStrings -Zc:threadSafeInit- -volatile:iso -W4 -DBL_BUILD_OPT_AVX2 -DASMJIT_STATIC -DASMJIT_NO_STDCXX -GS /showIncludes /FoCMakeFiles\blend2d.dir\src\blend2d\imagecodec.cpp.obj /FdCMakeFiles\blend2d.dir\ /FS -c C:\dev\cpp\vcpkg\buildtrees\blend2d\src\23dc95ca7d-d2fcae6730.clean\src\blend2d\imagecodec.cpp cl : Command line warning D9025 : overriding '/GR' with '/GR-' cl : Command line warning D9025 : overriding '/W3' with '/W4' C:\dev\cpp\vcpkg\buildtrees\blend2d\src\23dc95ca7d-d2fcae6730.clean\src\blend2d\imagecodec.cpp(139): error C2668: 'BLImageCodecPrivate::blImageCodecAssignWeak': ambiguous call to overloaded function C:\dev\cpp\vcpkg\buildtrees\blend2d\src\23dc95ca7d-d2fcae6730.clean\src\blend2d\imagecodec.cpp(86): note: could be 'BLResult BLImageCodecPrivate::blImageCodecAssignWeak(BLImageCodecCore *,const BLImageCodecCore *) noexcept' c:\dev\cpp\vcpkg\buildtrees\blend2d\src\23dc95ca7d-d2fcae6730.clean\src\blend2d\imagecodec.h(132): note: or 'BLResult blImageCodecAssignWeak(BLImageCodecCore *,const BLImageCodecCore *) noexcept' [found using argument-dependent lookup] C:\dev\cpp\vcpkg\buildtrees\blend2d\src\23dc95ca7d-d2fcae6730.clean\src\blend2d\imagecodec.cpp(139): note: while trying to match the argument list '(BLImageCodecCore *, const BLImageCodec *)' C:\dev\cpp\vcpkg\buildtrees\blend2d\src\23dc95ca7d-d2fcae6730.clean\src\blend2d\imagecodec.cpp(147): error C2668: 'BLImageCodecPrivate::blImageCodecAssignWeak': ambiguous call to overloaded function C:\dev\cpp\vcpkg\buildtrees\blend2d\src\23dc95ca7d-d2fcae6730.clean\src\blend2d\imagecodec.cpp(86): note: could be 'BLResult BLImageCodecPrivate::blImageCodecAssignWeak(BLImageCodecCore *,const BLImageCodecCore *) noexcept' c:\dev\cpp\vcpkg\buildtrees\blend2d\src\23dc95ca7d-d2fcae6730.clean\src\blend2d\imagecodec.h(132): note: or 'BLResult blImageCodecAssignWeak(BLImageCodecCore *,const BLImageCodecCore *) noexcept' [found using argument-dependent lookup] C:\dev\cpp\vcpkg\buildtrees\blend2d\src\23dc95ca7d-d2fcae6730.clean\src\blend2d\imagecodec.cpp(147): note: while trying to match the argument list '(BLImageCodecCore *, const BLImageCodec *)' C:\dev\cpp\vcpkg\buildtrees\blend2d\src\23dc95ca7d-d2fcae6730.clean\src\blend2d\imagecodec.cpp(165): error C2668: 'BLImageCodecPrivate::blImageCodecAssignWeak': ambiguous call to overloaded function C:\dev\cpp\vcpkg\buildtrees\blend2d\src\23dc95ca7d-d2fcae6730.clean\src\blend2d\imagecodec.cpp(86): note: could be 'BLResult BLImageCodecPrivate::blImageCodecAssignWeak(BLImageCodecCore *,const BLImageCodecCore *) noexcept' c:\dev\cpp\vcpkg\buildtrees\blend2d\src\23dc95ca7d-d2fcae6730.clean\src\blend2d\imagecodec.h(132): note: or 'BLResult blImageCodecAssignWeak(BLImageCodecCore *,const BLImageCodecCore *) noexcept' [found using argument-dependent lookup] C:\dev\cpp\vcpkg\buildtrees\blend2d\src\23dc95ca7d-d2fcae6730.clean\src\blend2d\imagecodec.cpp(165): note: while trying to match the argument list '(BLImageCodecCore *, const BLImageCodec *)' C:\dev\cpp\vcpkg\buildtrees\blend2d\src\23dc95ca7d-d2fcae6730.clean\src\blend2d\imagecodec.cpp(235): error C2668: 'BLImageCodecPrivate::blImageCodecArrayInitBuiltInCodecs': ambiguous call to overloaded function C:\dev\cpp\vcpkg\buildtrees\blend2d\src\23dc95ca7d-d2fcae6730.clean\src\blend2d\imagecodec.cpp(224): note: could be 'BLResult BLImageCodecPrivate::blImageCodecArrayInitBuiltInCodecs(BLArrayCore *) noexcept' c:\dev\cpp\vcpkg\buildtrees\blend2d\src\23dc95ca7d-d2fcae6730.clean\src\blend2d\imagecodec.h(140): note: or 'BLResult blImageCodecArrayInitBuiltInCodecs(BLArrayCore *) noexcept' [found using argument-dependent lookup] C:\dev\cpp\vcpkg\buildtrees\blend2d\src\23dc95ca7d-d2fcae6730.clean\src\blend2d\imagecodec.cpp(235): note: while trying to match the argument list '(BLArrayCore *)' [12/161] C:\PROGRA~2\MICROS~2\2017\COMMUN~1\VC\Tools\MSVC\1416~1.270\bin\Hostx64\x64\cl.exe /TP -IC:\dev\cpp\vcpkg\buildtrees\blend2d\src\23dc95ca7d-d2fcae6730.clean\3rdparty\asmjit\src /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -MP -GR- -GF -Zc:__cplusplus -Zc:inline -Zc:strictStrings -Zc:threadSafeInit- -volatile:iso -W4 -DBL_BUILD_OPT_AVX2 -DASMJIT_STATIC -DASMJIT_NO_STDCXX -GS /showIncludes /FoCMakeFiles\blend2d.dir\src\blend2d\glyphbuffer.cpp.obj /FdCMakeFiles\blend2d.dir\ /FS -c C:\dev\cpp\vcpkg\buildtrees\blend2d\src\23dc95ca7d-d2fcae6730.clean\src\blend2d\glyphbuffer.cpp cl : Command line warning D9025 : overriding '/GR' with '/GR-' cl : Command line warning D9025 : overriding '/W3' with '/W4' [13/161] C:\PROGRA~2\MICROS~2\2017\COMMUN~1\VC\Tools\MSVC\1416~1.270\bin\Hostx64\x64\cl.exe /TP -IC:\dev\cpp\vcpkg\buildtrees\blend2d\src\23dc95ca7d-d2fcae6730.clean\3rdparty\asmjit\src /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -MP -GR- -GF -Zc:__cplusplus -Zc:inline -Zc:strictStrings -Zc:threadSafeInit- -volatile:iso -W4 -DBL_BUILD_OPT_AVX2 -DASMJIT_STATIC -DASMJIT_NO_STDCXX -GS /showIncludes /FoCMakeFiles\blend2d.dir\src\blend2d\gradient.cpp.obj /FdCMakeFiles\blend2d.dir\ /FS -c C:\dev\cpp\vcpkg\buildtrees\blend2d\src\23dc95ca7d-d2fcae6730.clean\src\blend2d\gradient.cpp cl : Command line warning D9025 : overriding '/GR' with '/GR-' cl : Command line warning D9025 : overriding '/W3' with '/W4' [14/161] C:\PROGRA~2\MICROS~2\2017\COMMUN~1\VC\Tools\MSVC\1416~1.270\bin\Hostx64\x64\cl.exe /TP -IC:\dev\cpp\vcpkg\buildtrees\blend2d\src\23dc95ca7d-d2fcae6730.clean\3rdparty\asmjit\src /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -MP -GR- -GF -Zc:__cplusplus -Zc:inline -Zc:strictStrings -Zc:threadSafeInit- -volatile:iso -W4 -DBL_BUILD_OPT_AVX2 -DASMJIT_STATIC -DASMJIT_NO_STDCXX -GS /showIncludes /FoCMakeFiles\blend2d.dir\src\blend2d\imagescale.cpp.obj /FdCMakeFiles\blend2d.dir\ /FS -c C:\dev\cpp\vcpkg\buildtrees\blend2d\src\23dc95ca7d-d2fcae6730.clean\src\blend2d\imagescale.cpp cl : Command line warning D9025 : overriding '/GR' with '/GR-' cl : Command line warning D9025 : overriding '/W3' with '/W4' [15/161] C:\PROGRA~2\MICROS~2\2017\COMMUN~1\VC\Tools\MSVC\1416~1.270\bin\Hostx64\x64\cl.exe /TP -IC:\dev\cpp\vcpkg\buildtrees\blend2d\src\23dc95ca7d-d2fcae6730.clean\3rdparty\asmjit\src /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -MP -GR- -GF -Zc:__cplusplus -Zc:inline -Zc:strictStrings -Zc:threadSafeInit- -volatile:iso -W4 -DBL_BUILD_OPT_AVX2 -DASMJIT_STATIC -DASMJIT_NO_STDCXX -GS /showIncludes /FoCMakeFiles\blend2d.dir\src\blend2d\context.cpp.obj /FdCMakeFiles\blend2d.dir\ /FS -c C:\dev\cpp\vcpkg\buildtrees\blend2d\src\23dc95ca7d-d2fcae6730.clean\src\blend2d\context.cpp cl : Command line warning D9025 : overriding '/GR' with '/GR-' cl : Command line warning D9025 : overriding '/W3' with '/W4' [16/161] C:\PROGRA~2\MICROS~2\2017\COMMUN~1\VC\Tools\MSVC\1416~1.270\bin\Hostx64\x64\cl.exe /TP -IC:\dev\cpp\vcpkg\buildtrees\blend2d\src\23dc95ca7d-d2fcae6730.clean\3rdparty\asmjit\src /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -MP -GR- -GF -Zc:__cplusplus -Zc:inline -Zc:strictStrings -Zc:threadSafeInit- -volatile:iso -W4 -DBL_BUILD_OPT_AVX2 -DASMJIT_STATIC -DASMJIT_NO_STDCXX -GS /showIncludes /FoCMakeFiles\blend2d.dir\src\blend2d\matrix.cpp.obj /FdCMakeFiles\blend2d.dir\ /FS -c C:\dev\cpp\vcpkg\buildtrees\blend2d\src\23dc95ca7d-d2fcae6730.clean\src\blend2d\matrix.cpp cl : Command line warning D9025 : overriding '/GR' with '/GR-' cl : Command line warning D9025 : overriding '/W3' with '/W4' [17/161] C:\PROGRA~2\MICROS~2\2017\COMMUN~1\VC\Tools\MSVC\1416~1.270\bin\Hostx64\x64\cl.exe /TP -IC:\dev\cpp\vcpkg\buildtrees\blend2d\src\23dc95ca7d-d2fcae6730.clean\3rdparty\asmjit\src /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -MP -GR- -GF -Zc:__cplusplus -Zc:inline -Zc:strictStrings -Zc:threadSafeInit- -volatile:iso -W4 -DBL_BUILD_OPT_AVX2 -DASMJIT_STATIC -DASMJIT_NO_STDCXX -GS /showIncludes /FoCMakeFiles\blend2d.dir\src\blend2d\compop.cpp.obj /FdCMakeFiles\blend2d.dir\ /FS -c C:\dev\cpp\vcpkg\buildtrees\blend2d\src\23dc95ca7d-d2fcae6730.clean\src\blend2d\compop.cpp cl : Command line warning D9025 : overriding '/GR' with '/GR-' cl : Command line warning D9025 : overriding '/W3' with '/W4' [18/161] C:\PROGRA~2\MICROS~2\2017\COMMUN~1\VC\Tools\MSVC\1416~1.270\bin\Hostx64\x64\cl.exe /TP -IC:\dev\cpp\vcpkg\buildtrees\blend2d\src\23dc95ca7d-d2fcae6730.clean\3rdparty\asmjit\src /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -MP -GR- -GF -Zc:__cplusplus -Zc:inline -Zc:strictStrings -Zc:threadSafeInit- -volatile:iso -W4 -DBL_BUILD_OPT_AVX2 -DASMJIT_STATIC -DASMJIT_NO_STDCXX -GS /showIncludes /FoCMakeFiles\blend2d.dir\src\blend2d\math.cpp.obj /FdCMakeFiles\blend2d.dir\ /FS -c C:\dev\cpp\vcpkg\buildtrees\blend2d\src\23dc95ca7d-d2fcae6730.clean\src\blend2d\math.cpp cl : Command line warning D9025 : overriding '/GR' with '/GR-' cl : Command line warning D9025 : overriding '/W3' with '/W4' [19/161] C:\PROGRA~2\MICROS~2\2017\COMMUN~1\VC\Tools\MSVC\1416~1.270\bin\Hostx64\x64\cl.exe /TP -IC:\dev\cpp\vcpkg\buildtrees\blend2d\src\23dc95ca7d-d2fcae6730.clean\3rdparty\asmjit\src /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -MP -GR- -GF -Zc:__cplusplus -Zc:inline -Zc:strictStrings -Zc:threadSafeInit- -volatile:iso -W4 -DBL_BUILD_OPT_AVX2 -DASMJIT_STATIC -DASMJIT_NO_STDCXX -GS /showIncludes /FoCMakeFiles\blend2d.dir\src\blend2d\path.cpp.obj /FdCMakeFiles\blend2d.dir\ /FS -c C:\dev\cpp\vcpkg\buildtrees\blend2d\src\23dc95ca7d-d2fcae6730.clean\src\blend2d\path.cpp cl : Command line warning D9025 : overriding '/GR' with '/GR-' cl : Command line warning D9025 : overriding '/W3' with '/W4' ninja: build stopped: subcommand failed. ```
vishwanath377 commented 2 years ago

C:\dev\cpp\vcpkg\build\build\vcpkg-manifest-install.log

Detecting compiler hash for triplet x64-windows... The following packages will be built and installed:

Call Stack (most recent call first): build/build/vcpkg_installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_build.cmake:111 (vcpkg_execute_build_process) build/build/vcpkg_installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_install.cmake:41 (vcpkg_cmake_build) ports/blend2d/portfile.cmake:42 (vcpkg_cmake_install) scripts/ports.cmake:145 (include)

error: building blend2d:x64-windows failed with: BUILD_FAILED Please ensure you're using the latest portfiles 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+blend2d You can submit a new issue at: https://github.com/microsoft/vcpkg/issues/new?template=report-package-build-failure.md&title=[blend2d]+Build+error including: package: blend2d[core,futex,jit,logging,tls]:x64-windows -> 2022-02-19 vcpkg-tool version: 2022-03-30-692785ac944e81417840c6de244fb3e18a4b35eb vcpkg-scripts version: 94c728df6 2022-04-25 (2 days ago)

Additionally, attach any relevant sections from the log files above.

vishwanath377 commented 2 years ago

I am getting an error while trying to configure cmake for the installation of osgearth.

LilyWangLL commented 2 years ago

Thanks for your reply, I can reproduce this issue with Visual Studio 2017. I will confirm the reason soon. Blend2D is currently in a beta testing mode, this is decription on upstream. And this issue doesn't appear with Visual Studio 2019 and Visual Studio 2022. You can install them and use blend2d.

vishwanath377 commented 2 years ago

D:\a_work\1\s\src\vcpkg\build.cpp(986): open_for_write("C:\dev\cpp\vcpkg\buildtrees\yasm\stdout-x64-windows.log"): permission denied -- Running vcpkg install - failed CMake Error at C:/dev/cpp/vcpkg/scripts/buildsystems/vcpkg.cmake:850 (message): vcpkg install failed. See logs for more information: C:\dev\cpp\vcpkg\build\build\vcpkg-manifest-install.log Call Stack (most recent call first): C:/Program Files/CMake/share/cmake-3.23/Modules/CMakeDetermineSystem.cmake:124 (include) CMakeLists.txt:26 (PROJECT)

Got an new error

jasonbeverage commented 2 years ago

We just ran into this today as well. It's an issue with this commit: https://github.com/microsoft/vcpkg/commit/20ac8a66f4f8fef944bb1f7457232b429c697a16 Apparently this new version of blend2d doesn't build on VS2017 but builds fine on VS2019.

vishwanath377 commented 2 years ago

CMake Warning at scripts/cmake/vcpkg_configure_cmake.cmake:432 (message): The following variables are not used in CMakeLists.txt:

  BUILD_OSG_PLUGIN_DICOM
  BUILD_OSG_PLUGIN_DIRECTSHOW
  BUILD_OSG_PLUGIN_FBX
  BUILD_OSG_PLUGIN_INVENTOR
  BUILD_OSG_PLUGIN_OPENCASCADE
  BUILD_OSG_PLUGIN_QTKIT
  BUILD_OSG_PLUGIN_RESTHTTPDEVICE
  BUILD_OSG_PLUGIN_SVG
  BUILD_OSG_PLUGIN_VNC
  BUILD_OSG_PLUGIN_ZEROCONFDEVICE
  BUILD_REF_DOCS_SEARCHENGINE
  BUILD_REF_DOCS_TAGFILE
  CMAKE_DISABLE_FIND_PACKAGE_FONTCONFIG
  CMAKE_DISABLE_FIND_PACKAGE_LIBLAS

Please recheck them and remove the unnecessary options from the vcpkg_configure_cmake 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/osg/portfile.cmake:83 (vcpkg_configure_cmake) scripts/ports.cmake:145 (include)

this is the warning how to get rid of these warnings ?

jasonbeverage commented 2 years ago

I've opened a PR with the blend2d project that will hopefully fix this issue

vishwanath377 commented 2 years ago

I've opened a PR with the blend2d project that will hopefully fix this issue

Thanks

vishwanath377 commented 2 years ago

CMake Warning at scripts/cmake/vcpkg_configure_cmake.cmake:432 (message): The following variables are not used in CMakeLists.txt:

  BUILD_OSG_PLUGIN_DICOM
  BUILD_OSG_PLUGIN_DIRECTSHOW
  BUILD_OSG_PLUGIN_FBX
  BUILD_OSG_PLUGIN_INVENTOR
  BUILD_OSG_PLUGIN_OPENCASCADE
  BUILD_OSG_PLUGIN_QTKIT
  BUILD_OSG_PLUGIN_RESTHTTPDEVICE
  BUILD_OSG_PLUGIN_SVG
  BUILD_OSG_PLUGIN_VNC
  BUILD_OSG_PLUGIN_ZEROCONFDEVICE
  BUILD_REF_DOCS_SEARCHENGINE
  BUILD_REF_DOCS_TAGFILE
  CMAKE_DISABLE_FIND_PACKAGE_FONTCONFIG
  CMAKE_DISABLE_FIND_PACKAGE_LIBLAS

Please recheck them and remove the unnecessary options from the vcpkg_configure_cmake 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/osg/portfile.cmake:83 (vcpkg_configure_cmake) scripts/ports.cmake:145 (include)

this is the warning how to get rid of these warnings ?

Can U give the solution for this problem

jasonbeverage commented 2 years ago

Those warnings are from the osg port, they are just warnings so they are harmless and you can ignore them.

vishwanath377 commented 2 years ago

Step 5 - Set up your runtime environment

You’ll need to make sure that the vcpkg dependencies and osgEarth are in your path:

set PATH=%PATH%;path\to\build\vcpkg_installed\x64-windows\bin set PATH=%PATH%;path\to\build\vcpkg_installed\x64-windows\tools\osg set PATH=%PATH%;[installroot]

How can we do this following step?

jasonbeverage commented 2 years ago

This is just telling you to set up your PATH environment variable on windows to make sure the dlls that vcpkg installed can be found.

If you need help with osgearth I recommend opening an issue or discussion on the osgearth GitHub repository and we can help you there. That way we can keep this issue related to blend2d.

On Sun, May 1, 2022, 11:26 PM vishwanath377 @.***> wrote:

Step 5 - Set up your runtime environment

You’ll need to make sure that the vcpkg dependencies and osgEarth are in your path:

set PATH=%PATH%;path\to\build\vcpkg_installed\x64-windows\bin set PATH=%PATH%;path\to\build\vcpkg_installed\x64-windows\tools\osg set PATH=%PATH%;[installroot]

How can we do this following step?

— Reply to this email directly, view it on GitHub https://github.com/microsoft/vcpkg/issues/24460#issuecomment-1114460917, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACPXYS3HSOMIM37FVM4C53VH5DPDANCNFSM5URDOKUQ . You are receiving this because you commented.Message ID: @.***>

LilyWangLL commented 2 years ago

Fixed in PR #24508