Closed vishwanath377 closed 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
C:\dev\cpp\vcpkg\buildtrees\blend2d\install-x64-windows-dbg-out.log
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.
I am getting an error while trying to configure cmake for the installation of osgearth.
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.
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
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.
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 ?
I've opened a PR with the blend2d project that will hopefully fix this issue
I've opened a PR with the blend2d project that will hopefully fix this issue
Thanks
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
Those warnings are from the osg port, they are just warnings so they are harmless and you can ignore them.
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?
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: @.***>
Fixed in PR #24508
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!