Skip to content

Build fails for target i686-pc-windows-msvc #24

Closed
@mush42

Description

Since onnxRuntime supports, and provides pre-built binaries for Windows 32-bit, it is logical to support this build target for ort as well.

Currently, when trying to build using the following command,:

bash cargo build --target i686-pc-windows-msvc

I get the following output:

error: failed to run custom build command for `ort v1.14.1`

Caused by:
  process didn't exit successfully: `D:\projects\blindpandas\libtashkeel\target\debug\build\ort-84e4d33039989d14\build-script-build` (exit code: 101)
  --- stdout
  [ort] strategy: "unknown"

  --- stderr
  thread 'main' panicked at 'unsupported target architecture: x86', C:\Users\user\.cargo\registry\src\github.com-1ecc6299db9ec823\ort-1.14.1\build.rs:385:9
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...

Please fix this as it is sometime necessary to provide wheels for 32-bit python versions, or add inference to a 32-bit executable such as NVDA screen reader.

Best
Musharraf

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions