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: Is cygwin support linux header file??


On 02/05/2010 09:36 AM, Dave Korn wrote:
On 05/02/2010 04:31, Larry Hall (Cygwin) wrote:
On 02/04/2010 08:36 PM, phil song wrote:
Hi,cygwin,
             when I compile some project in cygwin,It prompts

/cygdrive/g/work_platform/open-s/ftk-0.2/src/os/linux/ftk_linux.h:43:22:
linux/fb.h: No such file or
   directory
/cygdrive/g/work_platform/open-s/ftk-0.2/src/os/linux/ftk_linux.h:44:22:
linux/kd.h: No such file or
   directory
/cygdrive/g/work_platform/open-s/ftk-0.2/src/os/linux/ftk_linux.h:45:25:
linux/input.h: No such file
   or directory


who can tell me how to operate to let fb.h in cygwin enviroment?

You can't. You're compiling code built to depend of Linux-specific features. If you want to build it on another platform, you're going to need to figure out what it's doing on Linux and figure out how to accomplish that on the target platform. Some would call this non-portable code. And they'd be right.

It does support "Windows", though:


http://code.google.com/p/ftk/

True but that's not what the OP was trying to build. ftk also supports VS2008 express edition. But that's also off-topic for this list.

--
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?

--
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]