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 To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 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 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/