Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8235737
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T18:54:48+00:00 2026-06-07T18:54:48+00:00

I’m building an android application in eclipse. I need to call a function written

  • 0

I’m building an android application in eclipse. I need to call a function written in C/C++.
I setup everything including NDK, cygwin, etc (ask if u need more details), but when I try to run the project, I get this error

**** Build of configuration Default for project C_Google_FaceDetect ****

C:\cygwin\bin\bash.exe C:\Android_NDK\ndk-build

cygwin warning:

MS-DOS style path detected:

C:\Documents and Settings\John Smith\eclipse_workspace\C_Google_FaceDetect

Preferred POSIX equivalent is:

/cygdrive/c/Documents and Settings/John Smith/eclipse_workspace/C_Google_FaceDetect

CYGWIN environment variable option “nodosfilewarning” turns off this warning.

Consult the user’s guide for more details about POSIX paths:

http://cygwin.com/cygwin-ug-net/using.html#using-pathnames

C:\Android_NDK\ndk-build: line 40: dirname: command not found

C:\Android_NDK\ndk-build: line 78: uname: command not found ERROR:

Unknown host operating system:

*** Build Finished ****

The project name is C_Google_FaceDetect

If I use cygwin to get the PATH, I get

John Smith@E-USK3631BE /cygdrive/c

$ echo $PATH

/cygdrive/c/Program Files/PC Connectivity Solution

/cygdrive/c/WINDOWS/system32

/cygdrive/c/WINDOWS

/cygdrive/c/WINDOWS/System32/Wbem

/cygdrive/c/WINDOWS/system32/nls

/cygdrive/c/WINDOWS/system32/nls/ENGLISH

/cygdrive/c/Program Files/IVI Foundation/IVI/bin

/cygdrive/c/Program Files/IVI Foundation/VISA/WinNT/Bin

/cygdrive/c/Program Files/IVI Foundation/VISA/WinNT/Bin

/cygdrive/c/Program Files/MATLAB/R2012a/runtime/win32

/cygdrive/c/Program Files/MATLAB/R2012a/bin

/cygdrive/c/Program Files/MATLAB/R2010a/runtime/win32

/cygdrive/c/Program Files/MATLAB/R2010a/bin

/cygdrive/c/Program Files/emgucv 2.1.0.793/bin

/cygdrive/c/Documents and Settings/mchi7jb2/My Documents/GLUT/lib

/cygdrive/c/OGLSDK/lib

/cygdrive/c/Program Files/Microsoft Platform SDK for Windows Server 2003 R2/Lib

/cygdrive/c/Program Files/MATLAB/MATLAB Compiler Runtime/v713/runtime/win32

/cygdrive/c/Python27/python.exe

/cygdrive/c/Program Files/QuickTime/QTSystem

/cygdrive/c/Android_NDK

/cygdrive/c/Android_NDK/build

/cygdrive/c/Program Files/Java/jdk1.7.0_04/bin

/cygdrive/c/Android_NDK

/cygdrive/c/Android_NDK/ndk-build/usr/bin

/cygdrive/c/Android_SDK/tools

/cygdrive/c/Android_SDK/platform-tools

/cygdrive/c/Android_NDK

My Android.mk file is as follows

LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)

LOCAL_MODULE    := C_Google_FaceDetect
LOCAL_SRC_FILES := yuv_decoder.c

include $(BUILD_SHARED_LIBRARY)

Please help

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T18:54:49+00:00Added an answer on June 7, 2026 at 6:54 pm

    The problem is gonne when I used this
    C:\cygwin\bin\bash.exe –login -i C:\Android_NDK\ndk-build
    instead of this
    C:\cygwin\bin\bash.exe C:\Android_NDK\ndk-build

    in the eclipse build command

    I found the answer there,Running Cygwin commands from batch file

    maybe the problem is only gonne because I have bigger problems now I dunno

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I need to clean up various Word 'smart' characters in user input, including but
I need a function that will clean a strings' special characters. I do NOT
Thanks in advance for your help. I have a need within an application to
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I'm using v2.0 of ClassTextile.php, with the following call: $testimonial_text = $textile->TextileRestricted($_POST['testimonial']); ... and
In my XML file chapters tag has more chapter tag.i need to display chapters
We're building an app, our first using Rails 3, and we're having to build
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I want to construct a data frame in an Rcpp function, but when I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.