delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/06/19/18:26:14

X-Spam-Check-By: sourceware.org
From: "Charli Li" <KBarticle889459 AT aim DOT com>
To: "Cygwin Mailing List" <cygwin AT cygwin DOT com>
Subject: RE: Using VC++
Date: Mon, 19 Jun 2006 18:27:46 -0400
Message-ID: <LLEBLEDLPAKFHFKGNDBMMEIPCBAA.KBarticle889459@aim.com>
MIME-Version: 1.0
X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)
In-Reply-To: <loom.20060619T231554-305@post.gmane.org>
X-AOL-IP: 70.20.155.229
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

- -----Original Message-----
> From: cygwin-owner AT cygwin DOT com
> Sent: Monday, June 19, 2006 5:27 PM
> To: cygwin AT cygwin DOT com
> Subject: Using VC++
>
>
>
>                       Hello.
>
>    I am trying to use opengl under C++ and VC++, and it gives me this
> following message GLUT32.DLL: warning LNK4003: invalid library
> format; library
> ignored. Please, could you tell me What to do to fix this problem.
>     Thank you.
>     Have a nice day.
>
>

This is caused by a mismatch of link.exe.  I had this problem when running
the configure script for Mozilla.  The solution is to place the VC\bin dir
IN FRONT OF the C:\cygwin\bin dir (modify cygwin.bat and reset the path so
that the VC++ dir is in front of the Cygwin dir).  In my case, that didn't
work for me, so the alternate solution (if my first one didn't work) is to
rename the C:\cygwin\bin\link.exe to something like glink.exe.

Charli
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (Cygwin)

iD8DBQFElyRZKGyf4JaPChgRAnA/AKCWksaZfGnDXJqRUuPdfwqkeW62lQCdFlrX
6bSLK8/C6QxVCy/Us+sQl+4=
=z0V/
-----END PGP SIGNATURE-----


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