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

[onnx-optimizer] Build error on x64-windows #42854

Open
HoLue opened this issue Dec 22, 2024 · 0 comments
Open

[onnx-optimizer] Build error on x64-windows #42854

HoLue opened this issue Dec 22, 2024 · 0 comments
Assignees
Labels
requires:repro The issue is not currently repro-able

Comments

@HoLue
Copy link

HoLue commented Dec 22, 2024

Can anybody help?
Actually i tried to install libtorch without cuda. Therefore:
vcpkg install libtorch[core,opencv,zstd]:x64-windows

Package: onnx-optimizer:[email protected]

Host Environment

Host: x64-windows
Compiler: MSVC 19.42.34435.0
vcpkg-tool version: 2024-10-18-e392d7347fe72dff56e7857f7571c22301237ae6 vcpkg-scripts version: 9d163f061 2024-11-05 (7 weeks ago)

To Reproduce

vcpkg install libtorch[core,opencv,zstd]:x64-windows

Failure logs

-- Note: onnx-optimizer only supports static library linkage. Building static library.
-- Using cached onnx-optimizer-v0.3.19.tar.gz.
-- Cleaning sources at D:/di/Libraries/Vs/vcpkg/buildtrees/onnx-optimizer/src/v0.3.19-4057de8b9d.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source D:/di/Libraries/Vs/vcpkg/downloads/onnx-optimizer-v0.3.19.tar.gz
-- Applying patch fix-cmakelists.patch
-- Using source at D:/di/Libraries/Vs/vcpkg/buildtrees/onnx-optimizer/src/v0.3.19-4057de8b9d.clean
CMake Warning (dev) at scripts/cmake/vcpkg_find_acquire_program.cmake:70 (cmake_parse_arguments):
The INTERPRETER keyword was followed by an empty string or no value at all.
Policy CMP0174 is not set, so cmake_parse_arguments() will unset the
arg_INTERPRETER variable rather than setting it to an empty string.
Call Stack (most recent call first):
scripts/cmake/vcpkg_find_acquire_program.cmake:143 (z_vcpkg_find_acquire_program_find_internal)
installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_configure.cmake:234 (vcpkg_find_acquire_program)
ports/onnx-optimizer/portfile.cmake:27 (vcpkg_cmake_configure)
scripts/ports.cmake:192 (include)
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at scripts/cmake/vcpkg_find_acquire_program.cmake:30 (cmake_parse_arguments):
The INTERPRETER keyword was followed by an empty string or no value at all.
Policy CMP0174 is not set, so cmake_parse_arguments() will unset the
arg_INTERPRETER variable rather than setting it to an empty string.
Call Stack (most recent call first):
scripts/cmake/vcpkg_find_acquire_program.cmake:149 (z_vcpkg_find_acquire_program_find_external)
installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_configure.cmake:234 (vcpkg_find_acquire_program)
ports/onnx-optimizer/portfile.cmake:27 (vcpkg_cmake_configure)
scripts/ports.cmake:192 (include)
This warning is for project developers. Use -Wno-dev to suppress it.

-- Found external ninja('1.12.1').
-- Configuring x64-windows
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:127 (message):
Command failed: ninja -v
Working Directory: D:/di/Libraries/Vs/vcpkg/buildtrees/onnx-optimizer/x64-windows-rel/vcpkg-parallel-configure
Error code: 1
See logs for more information:
D:\di\Libraries\Vs\vcpkg\buildtrees\onnx-optimizer\config-x64-windows-out.log

Call Stack (most recent call first):
installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_configure.cmake:415 (vcpkg_execute_required_process)
ports/onnx-optimizer/portfile.cmake:27 (vcpkg_cmake_configure)
scripts/ports.cmake:192 (include)

config-x64-windows-out.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
requires:repro The issue is not currently repro-able
Projects
None yet
Development

No branches or pull requests

2 participants