This is the mail archive of the
mailing list for the Cygwin project.
RE: Using VC++
- From: "Charli Li" <KBarticle889459 at aim dot com>
- To: "Cygwin Mailing List" <cygwin at cygwin dot com>
- Date: Mon, 19 Jun 2006 18:27:46 -0400
- Subject: RE: Using VC++
-----BEGIN PGP SIGNED MESSAGE-----
- -----Original Message-----
> From: firstname.lastname@example.org
> Sent: Monday, June 19, 2006 5:27 PM
> To: email@example.com
> Subject: Using VC++
> 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.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (Cygwin)
-----END PGP SIGNATURE-----
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html