fail to build onnxruntime_tidl (cross-compilation arm64) from windows #23785
Unanswered
habibbenayed
asked this question in
General
Replies: 1 comment
-
Can you try using See https://onnxruntime.ai/docs/build/inferencing.html#build-instructions |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello Team,
I'm facing an issue while trying to build ONNX Runtime on Windows. The command I'm using is:
python build.py --build_dir build/windows --config Release --build_wheel --update --arm64 --parallel --skip_tests --skip_onnx_tests --use_tidl --compile_no_warning_as_error --cmake_generator "Visual Studio 17 2022"
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.
All reactions