X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=2.7 required=5.0 tests=AWL,BAYES_00,BOTNET X-Spam-Check-By: sourceware.org Message-id: <4B6B9F25.9010001@cygwin.com> Date: Thu, 04 Feb 2010 23:31:33 -0500 From: "Larry Hall (Cygwin)" Reply-to: cygwin AT cygwin DOT com User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.21) Gecko/20090320 Remi/2.0.0.21-1.fc8.remi Lightning/0.9 Thunderbird/2.0.0.21 Mnenhy/0.7.5.0 MIME-version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Is cygwin support linux header file?? References: <201002050936282653269 AT techtrex DOT com> In-reply-to: <201002050936282653269@techtrex.com> Content-type: text/plain; charset=UTF-8; format=flowed Content-transfer-encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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 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. -- 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