Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Message-ID: <005601c30e76$83cd5e70$4bf886d9@ellixia> From: "Elfyn McBratney" To: "cygwin" , "Matthew Webber" References: <1051637501 DOT 63da6560mattasp AT myrealbox DOT com> Subject: Re: possible BUG: functions normally in winpen.h do not appear to exist Date: Tue, 29 Apr 2003 18:39:34 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mimeole: Produced By Microsoft MimeOLE V6.00.2800.1106 > I have recently tried to compile fltk (fltk.org) under the latest version of > cygwin. The build failed because it was unable to find the following > functions/defines: > > o DC_PEN > o DC_BRUSH > o SetDCPenColor > o SetDCBrushColor > > I then searched my borland compiler's include directory and found that > the functions/defines were prototyped/defined in winpen.h, so i copied > this to the cygwin include directory and attempted a recompile. It > compiled but did not link due to the fact that SetDCPenColor and > SetDCBrushColor were undefined references. > > I came to the conclusion that i was eaither missing a package, or that > the winapi package was missing those functions. What platform are you running Cygwin on? (eg., Windows 9x/Me or Windows NT/2000/XP). If the prior, you won't be able to use those GDI functions as they're only available on Windows 2000 and later. Elfyn -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/