-
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
Error during compiling rel-1.5.3 natively on ARM64 (Ubuntu 20.10 aarch64) #5987
Comments
Would the latest 3.9.1 release solve the issue? |
I was able to bypass this error using So, I guess, 3.9.1 release of |
@snnn |
ah, got it: |
@snnn, I was able to build and install the .whl library. However if I try to import it i am getting this error:
do you have an idea how to fix this error? |
I am getting same error. Any help would be appreciated. @vak Thank you for your detailed instruction. I was able to get a successful build on Raspberry PI4. |
I was able to fix that issue. As described in 2133#issuecomment-542837394 I was getting that error because I was trying to import I manually installed generated
|
So, we should update nlohmann/json to the latest? |
@snnn, oh, yes, please. |
|
I tried installing nlohmann json and some files found missing in /usr/include/nlohmann. I used sudo apt-get install nlohmann-json3-dev for installation and it was success. However some files are missing which I use in my code and hence the code is having compilation issues. I tried copying those files from other system. But it did not work. My system details: |
Describe the bug
During the native compilation of onnxruntime on Linux ARM64 device the following error appears:
nlohmann/json.hpp:8494:24: error: comparison is always true due to limited range of data type [-Werror=type-limits]
Urgency
middle
System information
To Reproduce
BTW, and as of today it is the same without
--branch rel-1.5.3
, i.e. onmaster
branch.Expected behavior
compilation should succeed ;-)
Screenshots
Additional context
Similar or same error:
nlohmann/json#1939
nlohmann/json#1940
Perhaps a newer version of json library should be used?
The text was updated successfully, but these errors were encountered: