Giles Payne
a897fc91ec
Add no_samples_build option to Android SDK build
5 years ago
Alexander Alekhin
95415ac3a5
android: change ANDROID_STL='c++_shared'
...
- fixes crashes in face-detector application
- libc++_shared.so is bundled automatically via CMake helper project
5 years ago
Alexander Alekhin
779f59da6b
pre: OpenCV 3.4.7 (version++)
5 years ago
Alexander Alekhin
c6deba6003
android: fix javadoc
6 years ago
Alexander Alekhin
3c1267dbe6
android: update 'debug' information support
6 years ago
Alexander Alekhin
f473b61585
android: build package with API 21
...
enables Video I/O backend via Media NDK
6 years ago
Giles Payne
0d1a0b126b
Merge pull request #14005 from komakai:android-video-cap
...
* Add Android Media NDK video i/o file capture back-end
* Fix failing test
* Improve error handling/prevent resource leaks
* Add license text
* Modify default for WITH_ANDROID_MEDIANDK option
* Fix spelling of deleter_AMediaExtractor
6 years ago
Alexander Alekhin
e8a0bc5794
android: reduce memory consumption by gradle builds
6 years ago
Alexander Alekhin
80e5642ca2
pre: OpenCV 3.4.6 (version++)
6 years ago
Giles Payne
55f02d8c66
Merge pull request #14011 from komakai:debug-build
...
* Add Android SDK debug build flag
* Change LOG_TAG define for consistency with other modules
6 years ago
Alexander Alekhin
480c6dae6d
android: backport build_sdk.py
6 years ago
Giles Payne
7444f0c651
Merge pull request #13939 from komakai:android-build-improvements
...
* Android build improvements
* look for NDK in "ndk-bundle" directory under the SDK directory if location not specified
* look for cmake and ninja in "cmake" directory under the SDK directory if not found in the path
* disable use of ccache if not found in the path
* Redo build tool existence checks
6 years ago
Alexander Alekhin
8f1356c3c5
OpenCV version++ (3.4.5)
...
OpenCV 3.4.5
6 years ago
Alexander Alekhin
2b35c1708b
android: gradle-based package and samples
...
- drop hello-android sample
6 years ago
Alexander Alekhin
d5f430cc11
android: gradle wrapper
...
https://github.com/gradle/gradle/tree/v4.6.0
License: Apache 2.0
6 years ago
Alexander Alekhin
a1fe8f754f
OpenCV version++ (3.4.4)
...
OpenCV 3.4.4
6 years ago
Alexander Alekhin
bb45bf9695
android: NDK17 support
...
tested with NDK 17b (17.1.4828580)
6 years ago
Alexander Alekhin
c1df9ad456
OpenCV version++
...
OpenCV 3.4.3
6 years ago
Alexander Alekhin
d69a327d6d
OpenCV version++
...
OpenCV 3.4.2
7 years ago
Vlad Kraevskiy
90ba69a403
Fixed a typo in android toolchain documentation.
7 years ago
Alexander Alekhin
78f205ffa5
python: better Python 3 support
7 years ago
cclauss
d4a966c7c4
Fix Python string formatting
7 years ago
Alexander Alekhin
0bd33c8d1c
android: don't use relative paths to contrib modules
7 years ago
Alexander Alekhin
b07f772f36
android: enable C++11 in test sample
7 years ago
Alexander Alekhin
4990506948
cuda: WITH_CUDA=OFF by default (need to enable it explicitly)
7 years ago
Alexander Alekhin
6ffc48769a
OpenCV version++
...
OpenCV 3.4.1
7 years ago
luz.paz
d47b1f3b70
Misc. ./apps ./doc ./platoforms typos
...
Found via `codespell -q 3 --skip="./3rdparty" -I ../opencv-whitelist.txt`
7 years ago
Alexander Alekhin
edcbbee979
android: update build_sdk.py
...
- configuration files for ABIs configuration
- use builtin Android NDK's toolchain by default (force flag to use OpenCV's toolchain)
- default values for 'work_dir' and 'opencv_dir'
7 years ago
Alexander Alekhin
08086178bd
android: fix SDK build
...
- fix Javadoc:
- generate Javadoc after gather step to process all Java files (including Android 21)
- generate into 'OpenCV-android-sdk' directly without additional copy step
- use smart copy/move utility functions ('shutil' doesn't well with existed destination)
- by default move files to reduce pressure on storage I/O (> 800Mb)
7 years ago
Alexander Alekhin
d01a2038ae
cmake(android): update CMAKE_FIND_ROOT_PATH_MODE_* handling
...
Avoids this error message with CMake 3.10:
CMake Error: CMake was unable to find a build program corresponding to "Ninja".
CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
Related changes is that pkg-config tool is found (/usr/bin/pkg-config).
7 years ago
Alexander Alekhin
bc6a355370
android(toolchain): fix find_path() behavior (zlib search problem)
7 years ago
Erik Man
37911e60d8
Allow compilation with unified include directory
...
This makes it possible to compile OpenCV with for instance ndk-r16
7 years ago
Alexander Alekhin
c92aa95726
android(toolchain): detailed error message
7 years ago
Alexander Alekhin
cac4a7e5b5
OpenCV version++
...
OpenCV 3.4.0-rc
7 years ago
Alexander Alekhin
bd6fb497bc
OpenCV version++
...
OpenCV 3.3.1
7 years ago
Alexander Alekhin
4af3ca4e4d
OpenCV version++
...
OpenCV 3.3.0
7 years ago
berak
6b0661cca1
Update README.android
7 years ago
Alexander Alekhin
133b91a026
android: build fixes
...
- eliminate CMake 3.5+ warnings
- removed usage of dropped "OPENCV_CAMERA_MODULES" variable
- partial support for Android NDK 11+
8 years ago
Alexander Alekhin
d85c11e525
OpenCV version++
...
3.2.0-rc
8 years ago
Alexander Alekhin
4d17051f14
android: backport Android SDK build script
8 years ago
Alexander Alekhin
9285dddbaa
android: clone build_sdk.py from 3.x
8 years ago
Matthew Cook
e06a9e9009
Fix android libc++ build
8 years ago
Alexander Alekhin
3e649895e5
android: increase default native API level 8=>9
8 years ago
Alexander Alekhin
7188e6e2ac
android: update build scripts
9 years ago
Dmitry Mozgin
03e4b7552e
Added --extra_modules_path to build_sdk.py
9 years ago
Matt Leotta
912592de4c
Remove "INSTALL_NAME_DIR lib" target property
...
The INSTALL_NAME_DIR property of a target specifies how a dynamic library should
be found on OS X. If INSTALL_NAME_DIR is not specified the loader will search
relative to the standard search paths. If specified it should either be
an absolute path or relative path prefixed with either @executable_path ,
@load_path , or @rpath . Specifying "lib" does not make sense here and
causes linking error as documented here:
http://answers.opencv.org/question/4134/cmake-install_name_tool-absolute-path-for-library-on-mac-osx/
and here
http://stackoverflow.com/questions/26978806/dyld-library-not-loaded-lib-libopencv-core-3-0-dylib-reason-image-not-found
This patch removes INSTALL_NAME_DIR everywhere it is set to "lib".
An alternate solution would be to set an absolute path like
"${CMAKE_INSTALL_PREFIX}/lib" or relative path like
"@executable_path/../lib". However, if there is not specific need for
specifying a path, it is probably best left unset.
9 years ago
Anush Elangovan
3405a865c4
Add LLVM c++_static c++_shared STL targets
...
The Android NDK would be moving to Clang as its default compiler
in the future. This patch allows OpenCV to build with the default
c++_shared / c++_static
TEST=Builds OpenCV with -DANDROID_TOOLCHAIN_NAME=
aarch64-linux-android-clang3.6 -DANDROID_STL=c++_shared
9 years ago
Maksim Shabunin
8d1f5b5490
Version++ for android
9 years ago
Alexander Alekhin
4e669f59a0
fix android pack
9 years ago
Maksim Shabunin
eebd4cad66
Fix compilation problems with XCode 7.1.1 and cmake 3.3.2
9 years ago