delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/04/30/10:14:10

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Reply-To: <nhv AT cape DOT com>
From: "Norman Vine" <nhv AT cape DOT com>
To: "Matthew Webber" <mattasp AT myrealbox DOT com>
Cc: <cygwin AT cygwin DOT com>
Subject: RE: possible BUG: winapi.a missing some functions
Date: Wed, 30 Apr 2003 10:16:39 -0400
Message-ID: <EKEJIKAILPONGGENMBGAEEOADEAA.nhv@cape.com>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
In-Reply-To: <1051637544.63da6560mattasp@myrealbox.com>
X-Virus-Scanned: Cape.Com VirusScan, no known virus found

Matthew Webber writes:
> 
> 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.
> 
> I would be grateful for any help recieved.

If you have MSVC installed you can use reimp utility which is part of 
the mingw-utils package to build a libgdi32.a that has these

download mingw-utils from
http://sourceforge.net/project/showfiles.php?group_id=2435

HTH

Norman


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

- Raw text -


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