ios - Embed OpenCV framework inside another xCode project without linking -


i have developed xcode static library iphone app using opencv. want give static library them don't want them go through hassle of making opencv work in project changing build settings , that, that's had myself in static library.

i use 'projectception' method dragging static-library-project main xcode project. when use method need add frameworks use in static library project again in main project in 'link binary libraries' build phase.

so question is: there way opencv in static library project , new project imports static library not have opencv work?

yes. clone(copy) opencv inside project (headers , implementation)*, desclare copied files inside project , don't use c/c++ include folder , library linkage.

*implementations in modules/.../src/


Comments

Popular posts from this blog

java - Jmockit String final length method mocking Issue -

asp.net - Razor Page Hosted on IIS 6 Fails Every Morning -

c++ - wxwidget compiling on windows command prompt -