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
Alexander Alekhin
a21be6706d
android: force OpenCV library target to "android-21"
9 years ago
Maksim Shabunin
e009d79cc8
fixup! Some changes to support mingw-w64
9 years ago
Maksim Shabunin
771af4f32d
Some changes to support mingw-w64
...
- IPP is disabled by default when compiler is mingw (couldn't make it
work)
- fixed some warnings
- fixed some `__GNUC__` version checks (for correctness and convenience)
- removed UTF-8 BOM from hough.cpp (fixes #5253 )
9 years ago
Anush Elangovan
7bb3feff45
Add Android ARMEABI_V7A_HARD for Hardfp support
...
Add Android HardFP support. Expose the "armeabi-v7a-hard with NEON"
ANDROID_ABI.
TEST= Add -DANDROID_NATIVE_API_LEVEL=21
-DANDROID_ABI="armeabi-v7a-hard with NEON"
to compile with hardfp. Checked the output of make verbose to
confirm -lm_hard is being linked. There are known test
failures but that can be fixed once this is in.
9 years ago
Maksim Shabunin
2255472e31
Fixed whitespace issue
9 years ago
Maksim Shabunin
ef16650f5c
Android SDK build Initial
9 years ago
Evgeny Talanin
9a3dccab20
Increase Android Manager version
9 years ago
Maksim Shabunin
a816a4b964
Updated android manager readme file
10 years ago
Maksim Shabunin
48cc53bf2e
Updated android toolchain
10 years ago
Maksim Shabunin
1d7d22e117
AndroidMgr: fixed library version check
10 years ago
Maksim Shabunin
33ab9ea188
AndroidMgr: fixed typos and package name
10 years ago
Maksim Shabunin
7541c590e5
AndroidMgr: Reversed file existence checking
10 years ago
Maksim Shabunin
caffbaafbe
Updated Manager for Android
10 years ago
Maksim Shabunin
a362aca783
Rename manager package to OpenCV3 Manager
10 years ago
Maksim Shabunin
316d76bdb6
Rename OpenCV Engine to org.opencv.engine3 for release candidate
10 years ago
Maksim Shabunin
dddba2637f
Changed Android Manager version to 3.0
10 years ago
Maksim Shabunin
ee4bea72bf
Reverted unneeded change
10 years ago
Maksim Shabunin
231685133e
OpenCV Manager: support 3.0.0 library
10 years ago
Maksim Shabunin
9b9ebe0999
Ported from 2.4
10 years ago
Alexander Smorkalov
96e5300fdd
OpenCV and OpenCV Manager version++
10 years ago
Alexander Smorkalov
3649a1a179
Build fix for case without TegraDetector.
10 years ago
Alexander Smorkalov
352485fc54
Android 5 support and aarch64-related fixes for Android Manager.
10 years ago
Andreas Stührk
0a5b200da2
Update link to information about Android platform.
...
The current link does no longer seem to work.
10 years ago
Ilya Lavrenov
96adeb71ca
update android.toolchain.cmake
10 years ago
Ilya Lavrenov
ba612fc9bd
update android.toolchain.cmake
10 years ago
Jonas Vautherin
d83372a8dc
Patch for NDK r10
10 years ago
Alexander Smorkalov
286c6b496d
OpenCV Manager hardware detector workaround for not detected ARM SoC support.
10 years ago