delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
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 |
Message-ID: | <a62355d4050704002031211fb0@mail.gmail.com> |
Date: | Mon, 4 Jul 2005 12:50:21 +0530 |
From: | kali raj <kalikraj AT gmail DOT com> |
Reply-To: | kali raj <kalikraj AT gmail DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Linking a (.a) and a (.dll) to an appl in cygwin |
In-Reply-To: | <42C68E0A.6020307@familiehaase.de> |
Mime-Version: | 1.0 |
References: | <a62355d40507020111417601b7 AT mail DOT gmail DOT com> <42C68E0A DOT 6020307 AT familiehaase DOT de> |
X-IsSubscribed: | yes |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id j647Kcj5029648 |
Sure, I will give u the actual problem clearly Actually i am using a glut libary in cygwin that is static and is native of cygwin. this library i am using in the presentation layer(consider). At the network/transport layer i am using a third party supplied dynamic library of windowsXP. In the presentation layer now when i call glutStrokeCharacter() with GLUT_STROKE_ROMAN as the font type the application throws an errror saying "font not found". But when i remove the windows library it works fine. I feel that the windows dynamic library breaks the glut static library of cygwin. Is my explanation enough or if no kindly let me know i will further explain. Reg Kaliraj K On 7/2/05, Gerrit P. Haase <gerrit AT familiehaase DOT de> wrote: > kali raj wrote: > > > HI > > Iam trying to build an application that requries a static cygwin > > library and a windows dynamic library. The static library(.a) is a > > native Cygwin library and the dynamic libary (.dll) is an external > > dynamic library of windows. When i build my cygwin applicatio using > > gcc in cygwin it builds well and also links well. But while running > > the static library of cygwin breaks throwing out some "not found" > > errors. Is that possible to build such an application in CYGWIN/X that > > requires a native static library of Cygwin and an external dynamic > > libary of windows(XP). > > > > /********make file sample line *******/ > > gcc -o test.exe test.o -lglut ../xxx.lib -mwindows > > > > /****************************************/ > > > > libglut.a ------ native cygwin static library > > xxx.lib ---------- external windows dynamic library (xxx.dll) > > > > Do i need to add any compilation or linking options > > Not more than you already have used. > > What are the errors in detail? > > > Gerrit > -- > =^..^= > > -- > 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/ > > -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |