-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Building ONNXRuntime v1.8.0 on RPi Zero gives linking error #8062
Comments
Could you please run "make VERBOSE=1" in /home/pi/onnxruntime/build/Linux/MinSizeRel and post the log here? If build time is a concern, please try cross-compiling, which will only take a few minutes(vs 10+ hours). |
As a quick fix, you may open cmake/CMakeLists.txt,
And change it to
|
I'm a bit of a noob at cross compiling. How would I do this for an armv6 architecture? |
Okay so I followed those instructions and cross compiled the library with the following Dockerfile:
However after copying the wheel file (
|
Sorry I don't understand the docker file. It was not written by me. I can't provider further help on it. It is not relevant to the build document I showed you. |
As it turns out, it's important to also add
|
So, is it possible to install onnxruntime on raspberrypi zero or not? If yes, could you advice the steps to install? |
Bump |
nsync is removed. If you still see
Please go to the build folder and run
Then find the failed build command in the log file and post the full command here. |
Describe the bug
I am trying to build ONNXRuntime v1.8.0 on RPi Zero. During building I get a pthread linking error. Here is the full stack trace
Urgency
None
System information
To Reproduce
bash build.sh --config MinSizeRel --arm --update --build --build_shared_lib --build_wheel
Expected behavior
The library to build...
Screenshots
None
Additional context
I am not picky on version either. If an older version of ONNX works then I will revert and build from source.
PS. I'd estimate the complete build time of this to be 14 hours on this device.
The text was updated successfully, but these errors were encountered: