Hi, I use the following procedure to build the opencv-framework: link1 It all works well and the framework is built sucessfully ! But in XCode, thats where the problem occurrs: There I add the framework according to the following procedure: link2. This also performes. But now the issue: Whenever I open Xcode with a project where I incorporated the opencv-framework, the opencv2 framework is no longer recognized by XCode upon opening XCode ! The following error message appears :
'opencv2/opencv.hpp' file not found
I have an annoying workarround, that is: Unlinking the framework and linking it again. Thats how the Xcode project runs just fine. But whenever I close and re-open XCode project again, that's when the error occurrs again !!
I am using XCode 5.1.1 on MacOS Mavericks 10.9.4. The opencv2-framework has the version 2.4.9.0
Questions: I) can the framework be built on one location (with procedure described in link1 above) and then copied into another location where it is added into the Xcode project ? Or does the building process already needs to be in the final location where the opencv2-framework is going to sit ? (and if so, how could one download a finished opencv2-framework and not building it from scratch ??) II) Could the toolchains be corrupt ? III) Could the header-search-paths be wrong ?? How do you correctly set the Header search paths ?? (is $(inherited) correct ??) (i.e. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include) IV) If I run Step2 of the link1 creation process, it sais: "ln: Developer/Developer: File exists" Is this correct ? Or is that step somehow corrupt and not doing the symbolic links.
Pretty desperate for help! Thank you very much for any hint !