Marker Detection Linux Installation
VictorPurMar opened this issue · comments
Hello,
First of all thank you for this fantastic project!
Im a member of a mobile development students group, and we are developing an Android App as final course project. We are very interested to use droidAR as a central part of this application, but we have serious troubles to install the Marker in linux.
We can't propertly follow all the steps in the guide:
http://code.google.com/p/droidar/wiki/Markerdetection
It was possible to try this to steps for early noobs?:
- Load the external tool configuration "Build AR.launch" into eclipse and edit the environment variables to match your cygwin root folder and your NDK root folder. The cygwin path is a windows path and the ndkdir is a unix path. Keep this in mind when using spaces.
Cywing is not necesary for Linux...
-
¿In the Build AR.lauch it will be correct this part? (if my android-ndk-r4-crystax was on usr/local/android-ndk-r4-crystax )
mapAttribute key="org.eclipse.debug.core.environmentVariables
mapEntry key="CYGWIN_PATH" value="C:\cygwin
mapEntry key="NDKDIR" value="/usr/local/android-ndk-r4-crystax/ -
¿How can compile the library using the external tool configuaration?
Thank you!
Finally i have the solution!
Build AR.lauch is not necesary in linux, because you can't use the .bat.
After add the folders, "cv and cxcore into the jni folder of the ARMarker project"
You only must change the compile.sh, adding the android-ndk-r4-crystax path to the last line. In my case:
#Run the ndk build file. Change this to the correct location.
/opt/android-ndk-r4-crystax/ndk-build V=1
After that step, you can go to the console and run the sh (./compile.sh), remember to add the perissions.