delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/02/05/09:19:30

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4B6C2CF9.6050101@gmail.com>
Date: Fri, 05 Feb 2010 14:36:41 +0000
From: Dave Korn <dave DOT korn DOT cygwin AT googlemail DOT com>
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Is cygwin support linux header file??
References: <201002050936282653269 AT techtrex DOT com> <4B6B9F25 DOT 9010001 AT cygwin DOT com>
In-Reply-To: <4B6B9F25.9010001@cygwin.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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/

  Phil, you could probably try building a MinGW version by adding

  CC="gcc-3 -mno-cygwin" CXX="gcc-3 -mno-cygwin"

to the configure line, but how well it would interoperate with cygwin apps is
not guaranteed.

    cheers,
      DaveK

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019