Relative Content

Tag Archive for opencvcmakestatic-librariescmakelists-options

Building OpenCV into Static Library results in missing functions

I am building my c/c++ static library for either my ios or android. Before I built the dynamic library using the keyword SHARED and everything worked fine. I crosscompiled openCV for both versions (android and ios) and I am using a local version. I ran the corresponding platforms/ios/build_framework.py and platform/android/build_sdk.py. Running the --help option it also says that the static version is built by default. This is my CMakeLists.txt I use to build the STATIC version. For the SHAREDI only exchanged the keyword.