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

problems for windows x86 build #6

Closed
ycs12 opened this issue Jul 29, 2024 · 0 comments
Closed

problems for windows x86 build #6

ycs12 opened this issue Jul 29, 2024 · 0 comments

Comments

@ycs12
Copy link

ycs12 commented Jul 29, 2024

Issue Description

Hi, I'm trying to build sonata for x86 (32-bits) on Windows using cargo build --target i686-pc-windows-msvc (rustc version 1.80.0)
and getting error:

error: failed to run custom build command for `torch-sys v0.14.0`

Caused by:
  process didn't exit successfully: `D:\sonata\target\debug\build\torch-sys-fbc662d9b1c8da76\build-script-build` (exit code: 1)
  --- stderr
  error occurred: Command "C:\\Program Files\\Microsoft Visual Studio\\2022\\Professional\\VC\\Tools\\MSVC\\14.37.32822\\bin\\HostX64\\x86\\cl.exe" "-nologo" "-MD" "-Z7" "-Brepro" "-I" "D:\\libtorch\\include" "-I" "D:\\libtorch\\include/torch/csrc/api/include" "/std:c++17" "-FoD:\\sonata\\target\\i686-pc-windows-msvc\\debug\\build\\torch-sys-33665b9233c4b73b\\out\\19072f24a82f85ae-torch_api_generated.o" "-c" "libtch/torch_api_generated.cpp" with args cl.exe did not execute successfully (status code exit code: 2).

I'm wondering does the sonata project support x86 compilation on Windows?
Thank you so much.

@ycs12 ycs12 changed the title Does problems for windows x86 build Jul 29, 2024
@ycs12 ycs12 closed this as completed Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant