This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: search.h


On Jul 18 22:24, alex42 wrote:
> 
> I am attempting to create an Android application based on C code that I did
> not write. This means using Cygwin to compile this code into the form that
> the Android NDK can use. However, when I try to do this, it gives an error
> on one of the source files, claiming that search.h doesn't exist. I checked,
> and search.h is definitely in the Cygwin libraries that I have installed.
> What might be causing this and how can I fix it?

If it's an Android app, you're cross-compiling.  If you're
cross-compiling the system headers have no meaning and you shouldn't use
them.  The right header files to use are those which come with the
Android development environment.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]