fail to build onnxruntime_tidl (cross-compilation arm64) from windows #23785
-
Hello Team, I'm facing an issue while trying to build ONNX Runtime on Windows. The command I'm using is:
The build process fails with the following error: error C1083: Cannot open include file: 'dlfcn.h': No such file or directory Even when I remove --arm64 and --update to check the .whl output, I still encounter the same error. After investigating, I found that dlfcn.h is typically used on Ubuntu/Linux and not on Windows. Could this be an issue with the build configuration? Has anyone encountered this before or knows a workaround? Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Can you try using See https://onnxruntime.ai/docs/build/inferencing.html#build-instructions |
Beta Was this translation helpful? Give feedback.
Can you try using
build.bat
? For example.\build.bat --config Release --build_shared_lib --parallel --skip_submodule_sync --skip_tests --compile_no_warning_as_error --build_wheel
See https://onnxruntime.ai/docs/build/inferencing.html#build-instructions