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
Describe the bug
I have a project in Unity that uses Arfoundation and Airar. I successfully built for android, but when transferring to XCode and building for a device I received the following errors:
Undefined symbol: MetToUIImage(cv::Matconst&)
Undefined symbol: UIImageToMat(UIImageconst& cv::Mat& bool)
Undefined symbol: cv::warpPerspective(..)
Undefined symbol: cv::gtePerspectiveTransform(...)
Undefined symbol: cv::Mat::deallocate()
Undefined symbol: cv::fastFree(void*)
Which seems to be Linker connected error
To Reproduce
Steps to reproduce the behavior:
Copied libAirarColorMap.a and opencv2.framework (v3.4.11 as suggested) to Plugins/iOS in Unity
Set the appropriate settings in Player Settings as suggested in Readme
target iOs Version 11+
Built for iOS and opened in XCode
Built for iOS device
Build failed with the above errors.
Desktop (please complete the following information):
Unity 2022.3.6
ArFoundation 5.0.7
ARKit 5.0.7
XCode 14.3
Additional context
What we tried:
setting opencv2.framework to "Embed&Sign" in Xcode Frameworks and Libraries
Setting Library Search Paths and Header Search Paths to opencv2.framework
Clean build folder in XCode
The text was updated successfully, but these errors were encountered:
Describe the bug
I have a project in Unity that uses Arfoundation and Airar. I successfully built for android, but when transferring to XCode and building for a device I received the following errors:
Undefined symbol: MetToUIImage(cv::Matconst&)
Undefined symbol: UIImageToMat(UIImageconst& cv::Mat& bool)
Undefined symbol: cv::warpPerspective(..)
Undefined symbol: cv::gtePerspectiveTransform(...)
Undefined symbol: cv::Mat::deallocate()
Undefined symbol: cv::fastFree(void*)
Which seems to be Linker connected error
To Reproduce
Steps to reproduce the behavior:
Desktop (please complete the following information):
Additional context
What we tried:
The text was updated successfully, but these errors were encountered: