You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dear ONNX community,
I'm working on a project that uses both OpenCV and ONNX for some specialized text recognition purposes.
We are developing the mobile application on Xamarin with targets for both Android and IOS.
For the OpenCV part we are using the EmguCV library (version 4.5.5.4823) and for ONNX we are using ONNXRuntime from the nuget repository, Microsoft.ML.OnnxRuntime (version 1.14.0).
The issue I am experiencing is that on iOS the build process stops at the linking phase of the main application with this kind of errors:
I've tried to change the MTOUCH --registrar setting to static (as some sources suggest) but the error is there with static set.
While if I don't set it to static I have a similar but different error:
/MTOUCH: Error MT5213: Duplicate symbol in: /obj/iPhoneSimulator/Debug/mtouch-cache/WebP.a(libwebpdecode_la-alpha_dec.o) (Location related to previous error) (MT5213)
They are essentialy the same kind of error, but on different library depending on how i set the behavior of the linker (or if I build for a simulator vs actual device, which actually changes the default for the same setting).
I've written to the EMGU support and they said that it is not their fault as they follow the correct procedure for including libraries that should lead to the linker excluding duplicated libraries automatically, and suggested me to write to the developers of ONNX for a solution.
Do you have any suggestion on what I might try to do?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Dear ONNX community,
I'm working on a project that uses both OpenCV and ONNX for some specialized text recognition purposes.
We are developing the mobile application on Xamarin with targets for both Android and IOS.
For the OpenCV part we are using the EmguCV library (version 4.5.5.4823) and for ONNX we are using ONNXRuntime from the nuget repository, Microsoft.ML.OnnxRuntime (version 1.14.0).
The issue I am experiencing is that on iOS the build process stops at the linking phase of the main application with this kind of errors:
/MTOUCH: Error MT5212: Native linking failed, duplicate symbol: ''google::protobuf::internal::EpsCopyInputStream::ReadArenaString(char const*, google::protobuf::internal::ArenaStringPtr*, google::protobuf::Arena*)''. (MT5212)
I've tried to change the MTOUCH --registrar setting to static (as some sources suggest) but the error is there with static set.
While if I don't set it to static I have a similar but different error:
They are essentialy the same kind of error, but on different library depending on how i set the behavior of the linker (or if I build for a simulator vs actual device, which actually changes the default for the same setting).
I've written to the EMGU support and they said that it is not their fault as they follow the correct procedure for including libraries that should lead to the linker excluding duplicated libraries automatically, and suggested me to write to the developers of ONNX for a solution.
Do you have any suggestion on what I might try to do?
Beta Was this translation helpful? Give feedback.
All reactions