Skip to content
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

[libjpeg-turbo] Build error on x64-windows #44645

Open
nblwdlt opened this issue Mar 27, 2025 · 3 comments
Open

[libjpeg-turbo] Build error on x64-windows #44645

nblwdlt opened this issue Mar 27, 2025 · 3 comments
Assignees
Labels
category:question This issue is a question

Comments

@nblwdlt
Copy link

nblwdlt commented Mar 27, 2025

Copy issue body from D:/vcpkg/installed/vcpkg/issue_body.md

Copy link

Please see #30604 for how to properly report a build failure.

@nblwdlt
Copy link
Author

nblwdlt commented Mar 27, 2025

Package: libjpeg-turbo:x64-windows@3.0.1

Host Environment

  • Host: x64-windows
  • Compiler: MSVC 19.29.30159.0
  • vcpkg-tool version: 2023-12-12-1c9ec1978a6b0c2b39c9e9554a96e3e275f7556e
    vcpkg-scripts version: unknown

To Reproduce

vcpkg install qt5-base:x86-windows-static
Failure logs

-- Using cached libjpeg-turbo-libjpeg-turbo-3.0.1.tar.gz.
-- Cleaning sources at D:/vcpkg/buildtrees/libjpeg-turbo/src/3.0.1-4324fbd2eb.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source D:/vcpkg-download/libjpeg-turbo-libjpeg-turbo-3.0.1.tar.gz
-- Applying patch add-options-for-exes-docs-headers.patch
-- Applying patch workaround_cmake_system_processor.patch
-- Using source at D:/vcpkg/buildtrees/libjpeg-turbo/src/3.0.1-4324fbd2eb.clean
-- Using cached nasm-2.16.01-win64.zip.
CMake Error at scripts/cmake/vcpkg_extract_archive.cmake:19 (message):
  D:/vcpkg-download/tools/nasm was an extraction target, but it already
  exists.
Call Stack (most recent call first):
  scripts/cmake/vcpkg_find_acquire_program.cmake:199 (vcpkg_extract_archive)
  ports/libjpeg-turbo/portfile.cmake:23 (vcpkg_find_acquire_program)
  scripts/ports.cmake:170 (include)



@Cheney-W Cheney-W added the category:question This issue is a question label Mar 28, 2025
@Cheney-W
Copy link
Contributor

Could you please remove the D:/vcpkg-download/tools/nasm folder manually and reinstall libjpeg-turbo.
Also, I saw you used an old version of vcpkg(2023-12-12), I think you could run below commands to update your local vcpkg:

git pull
.\bootstrap-vcpkg.bat

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:question This issue is a question
Projects
None yet
Development

No branches or pull requests

2 participants