Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
228b8725
Commit
228b8725
authored
Feb 24, 2012
by
Andrey Kamaev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Windows build scripts for Android are updated for SDK r14 and newer
parent
01b986ef
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
build.cmd
android/scripts/build.cmd
+1
-1
wincfg.cmd.tmpl
android/scripts/wincfg.cmd.tmpl
+2
-2
No files found.
android/scripts/build.cmd
View file @
228b8725
...
...
@@ -73,7 +73,7 @@ ECHO. & ECHO Updating Android project...
:: compile java part
ECHO. & ECHO Compiling Android project...
(CALL "%ANT_DIR%\bin\ant"
compile
) || (ECHO. & ECHO failed to compile android project & GOTO end)
(CALL "%ANT_DIR%\bin\ant"
debug
) || (ECHO. & ECHO failed to compile android project & GOTO end)
:end
POPD
...
...
android/scripts/wincfg.cmd.tmpl
View file @
228b8725
:: variables required for OpenCV build ::
:: Note: all pathes should be specified without tailing slashes!
SET ANDROID_NDK=C:\full\path\to\your\copy\of\android\NDK\android-ndk-r7
SET ANDROID_NDK=C:\full\path\to\your\copy\of\android\NDK\android-ndk-r7
b
SET CMAKE_EXE=C:\full\path\to\cmake\utility\cmake.exe
SET MAKE_EXE=%ANDROID_NDK%\prebuilt\windows\bin\make.exe
...
...
@@ -27,4 +27,4 @@ SET BUILD_DIR=build
::SET BUILD_DIR=build_x86
:::: other options
::SET ANDROID_NATIVE_API_LEVEL=8 &:: android-3 is enough for native part of OpenCV but android-8 is required for Java API
and samples
::SET ANDROID_NATIVE_API_LEVEL=8 &:: android-3 is enough for native part of OpenCV but android-8 is required for Java API
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment