Some errors in the console of the eclipse while building 'the Tutorial 3 (Advanced) - Add Native OpenCV' which is one of the sample applications.

asked 2013-12-03 18:05:21 -0600

Jay Choi gravatar image

updated 2013-12-03 18:23:35 -0600

I installed the TADP (Tegra Android Development Platform) and I tried to build 'the Tutorial 3 (Advanced) - Add Native OpenCV', but I got the following errors in the console of the eclipse.

/cygdrive/c/Android/android-ndk-r8/ndk-build.cmd: line 1: @echo: command not found /cygdrive/c/Android/android-ndk-r8/ndk-build.cmd: line 2: rem: command not found /cygdrive/c/Android/android-ndk-r8/ndk-build.cmd: line 5: fg: no job control /cygdrive/c/Android/android-ndk-r8/ndk-build.cmd: line 5: exit: /b: numeric argument required

The ndk-build.cmd does not seem to work properly with the bash.

@echo off rem This is a Windows cmd.exe script used to invoke the NDK-specific GNU Make executable set NDK_ROOT=%~dp0 set NDK_MAKE=%NDK_ROOT%/prebuilt/windows/bin/make.exe %NDK_ROOT%\prebuilt\windows\bin\make.exe -f %NDK_ROOT%build/core/build-local.mk SHELL=cmd %* || exit /b %ERRORLEVEL%

How can I deal with it? Thank you for your attention.

edit retag flag offensive close merge delete