-
Notifications
You must be signed in to change notification settings - Fork 6.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[libpng] Build error #29836
Comments
Can you provide the specific error message of D:\github\vcpkg\buildtrees\libpng\install-x86-windows-rel-out.log? |
We haven't been able to repro this; if more information comes up, or this issue appears again, please reopen. |
[1/21] C:\PROGRA mt.exe : general error c101008d: Failed to write the updated manifest to the resource of file "pngfix.exe". Another program is using this file, and the process cannot be accessed. ninja: build stopped: subcommand failed. |
I checked on the Internet, your problem should be that the anti-virus software reads the executable program, and then your program cannot be read. This is not a vcpkg problem. You can also search for this error. |
thx, disabling the Anti-Virus worked for me |
Host Environment
To Reproduce
Steps to reproduce the behavior:
./vcpkg install opencv
Failure logs
Computing installation plan...
The following packages will be built and installed:
opencv[core,default-features]:x86-windows -> 4.7.0
Additional packages (*) will be modified to complete this operation.
Detecting compiler hash for triplet x86-windows...
-- Automatically setting HTTP(S)_PROXY environment variables to "127.0.0.1:7890".
Detecting compiler hash for triplet x64-windows...
Restored 0 package(s) from C:\Users\admin\AppData\Local\vcpkg\archives in 326.6 us. Use --debug to see more details.
Installing 1/9 libpng:x86-windows...
Building libpng[core]:x86-windows...
-- Using cached glennrp-libpng-v1.6.39.tar.gz.
-- Cleaning sources at D:/github/vcpkg/buildtrees/libpng/src/v1.6.39-a77eb96d39.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source D:/github/vcpkg/downloads/glennrp-libpng-v1.6.39.tar.gz
-- Applying patch cmake.patch
-- Applying patch fix-export-targets.patch
-- Applying patch pkgconfig.patch
-- Applying patch fix-msa-support-for-mips.patch
-- Using source at D:/github/vcpkg/buildtrees/libpng/src/v1.6.39-a77eb96d39.clean
-- Found external ninja('1.11.0').
-- Configuring x86-windows
-- Building x86-windows-dbg
-- Building x86-windows-rel
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:134 (message):
Command failed: D:/github/vcpkg/downloads/tools/cmake-3.25.1-windows/cmake-3.25.1-windows-i386/bin/cmake.exe --build . --config Release --target install -- -v -j13
Working Directory: D:/github/vcpkg/buildtrees/libpng/x86-windows-rel
See logs for more information:
D:\github\vcpkg\buildtrees\libpng\install-x86-windows-rel-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/libpng/portfile.cmake:81 (vcpkg_cmake_install)
scripts/ports.cmake:147 (include)
error: building libpng:x86-windows failed with: BUILD_FAILED
error: Please ensure you're using the latest port files with
git pull
andvcpkg update
.Then check for known issues at:
https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+libpng
You can submit a new issue at:
https://github.com/microsoft/vcpkg/issues/new?template=report-package-build-failure.md&title=[libpng]+Build+error
Include '[libpng] Build error' in your bug report title, the following version information in your bug description, and attach any relevant failure logs from above.
vcpkg-tool version: 2023-01-24-8a88d63f241d391772fbde69af9cab96c3c64c75
vcpkg-scripts version: 54cc53c 2023-02-23 (8 hours ago)
Additional context
have read
#28267
#15731
and can't find a solution
The text was updated successfully, but these errors were encountered: