-
Notifications
You must be signed in to change notification settings - Fork 141
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
Undefined symbols for architecture arm64 #9
Comments
@CocoaBob |
@CocoaBob Ok so just copying the opencv2.framework to project wasn't enough I had to manually add it in Build Phases > Link Binary with Libraries and now it works |
@neutrum Strange, it was already there when we clone/download the project. |
If you update to the latest you can get opencv installed with Cocoapods... |
@mhanlon But I clone the latest one and run pod install to install the opcnv2 but it can not find the opencv2/swiching.hpp |
@GhostFlying, once you run |
Hey,
I am having trouble building your app I am using following setup:
Xcode Version 9.0 beta 6 (9M214v)
opencv 3.2.0 (I reimported it as suggested)
but i am still getting this error:
Undefined symbols for architecture arm64:
"cv::String::deallocate()", referenced from:
cv::String::~String() in PlaneDetector.o
cv::String::operator=(cv::String const&) in PlaneDetector.o
"_cvGEMM", referenced from:
cvFitPlane(CvMat const*, float*) in PlaneDetector.o
"_cvSVD", referenced from:
cvFitPlane(CvMat const*, float*) in PlaneDetector.o
"_cvSet", referenced from:
cvFitPlane(CvMat const*, float*) in PlaneDetector.o
"_cvReleaseMat", referenced from:
cvFitPlane(CvMat const*, float*) in PlaneDetector.o
"_cvCreateMat", referenced from:
+[PlaneDetector detectPlaneWithPoints:] in PlaneDetector.o
cvFitPlane(CvMat const*, float*) in PlaneDetector.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
As I understand it this is symbols are referenced from the opencv library which does have arm64 references.
So where could be the problem ?
The text was updated successfully, but these errors were encountered: