Open sainteckes opened 1 year ago
Did you generated bindings, aka ors-sys
by yourself? If you do, add your bindings here to make it available to ors
package: https://github.com/HaoboGu/ors/blob/main/ors-sys/src/bindings/bindings.rs
No thanks for the hint I will try that!
Okay that worked fine, I generated Bindings from the c api and included the file in bindings.rs. Now it is complaining about the pointer types. It is expecting u8 but found i8. Do you know where this could be coming from?
you can set here: https://github.com/HaoboGu/ors/blob/main/ors-sys/src/lib.rs
The lines complaining are those: https://github.com/HaoboGu/ors/blob/7a156f7218d9066411ecb34a7c046f8aadc6e802/ors/src/log.rs#L84
so e.g. category that is fixed to i8 is expected to be u8..
try to convert category to u8 directly using as
?
The target aarch64-unknown-linux-gnu is available as download from the onnxruntime github repo. The build script is not prepared for that, but when modifying the script or using ORT_ENV_STRATEGY=system a lot of names can't be found, for example:
Do you know the reason for that?
Would be really nice to use the library with Raspberry Pi :)