fixing a bug in the local.env.mk setup, and correcting the readme's
Also, the androi-opencv.mk.in wasn't correct for one of the crystax NDK build directory setups
This commit is contained in:
@@ -7,10 +7,10 @@ into native opencv functions(as cv::Mat's)
|
||||
|
||||
to build make sure you have swig and the crystax ndk in your path
|
||||
|
||||
cp sample.local.env.mk local.env.mk
|
||||
make
|
||||
|
||||
that should work...
|
||||
that should work... If it doesn't make sure to edit the generated local.env.mk
|
||||
the key variable
|
||||
|
||||
more later on how to build actual project for android
|
||||
- see the code.google.com/p/android-opencv for details on this
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
#location of android-opencv port of OpenCV to android
|
||||
OPENCV_CONFIG=../build/android-opencv.mk
|
||||
ANDROID_NDK_ROOT=$(HOME)/android-ndk-r4-crystax
|
||||
|
||||
8
android/android-jni/sample.local.env.mk
Normal file
8
android/android-jni/sample.local.env.mk
Normal file
@@ -0,0 +1,8 @@
|
||||
#location of android-opencv.mk file that was generated by the cmake build
|
||||
#of opencv for android
|
||||
OPENCV_CONFIG=../build/android-opencv.mk
|
||||
|
||||
#the root directory of the crystax r4 ndk - ndk-build should be in this dir
|
||||
#you can download the ndk from http://www.crystax.net/android/ndk-r4.php
|
||||
ANDROID_NDK_ROOT=$(HOME)/android-ndk-r4-crystax
|
||||
|
||||
Reference in New Issue
Block a user