-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
I got this error after adding OpenCV to my project.
clang: error: linker command failed with exit code 1 (use -v to see invocation)
My code
@State var image = UIImage(named: "2021")!
var body: some View {
VStack {
Image(uiImage: image)
.scaledToFill()
.onTapGesture {
let x = OpenCV.Mat(uiImage: image)
print("tapped!")
}
}
.padding()
}
}
I also tried let x = Mat(uiImage: image) getting the same error.
Xcode 16.2
iPhone 16 Pro (iOS 18.2)
Metadata
Metadata
Assignees
Labels
No labels