Im creating a project in Xcode using OpenCV as a framework. It works great with the Build&Run option from Xcode, but now I need to run it in the Terminal and it gives me this error:
dyld: Library not loaded: @executable_path/../Frameworks/OpenCV.framework/Versions/A/OpenCV
Referenced from: /Users/Victor/Documents/PFC/src/opencv/blob/build/Release/./test3
Reason: image not found
Trace/BPT trap
I look for the build and just execute it with 开发者_JS百科./
So, any clue?
You need to run it from the build directory rather than the Release directory (assuming Frameworks is a directory in blob)
精彩评论