delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/05/30/19:57:37

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.9 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Date: Sun, 31 May 2009 08:57:24 +0900
Message-ID: <7f18338e0905301657t39109d4fgeb121271ace19e11@mail.gmail.com>
Subject: Building against Stripped DLLs
From: Christina McQuirk <aeroquirk11 AT gmail DOT com>
To: cygwin AT cygwin DOT 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

Hi,

I am working on a OpenGL project in gcc, cygwin.  I keep getting the
error -lglu32 not found when I run make.  I did a search through
google/cygwin archives and found that I need to be using UNIX static
library files something like .a or .dll.a instead of the.dll files I
currently have.  (As a note, I did install cygwin through setup.exe
and I have all the devel tools installed and have updated through
setup.exe)

Since I do not have the source or import library files, I tried
Linking against DLLs at described here:
cygwin dot com slash cygwin dash ug dash net slash dll
(bottom of the page).

I recieved the equivalent message of [Note that this will only work if
the DLL is not stripped. Otherwise you will get an error message: "No
symbols in foo.dll".] for my files.  So I get a .def file for the dll,
but there is nothing in it, so I cannot make it a .a import library.

Is there a way to turn these stripped files into .a files?  Or, can I
get the source code somewhere?  The files I am having trouble with are
-lglu32, -lglut32, -lopengl32, -lkernel32.  I have the dlls in my
system32 folder, but I do not have import library version.

Thanks

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