delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/05/27/05:13:04

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.4 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <4f8dccd00905261133j39ec79b1hf0111102fa6d1776@mail.gmail.com>
References: <COL104-W19F2679EE5369743F5846C93550 AT phx DOT gbl> <4f8dccd00905261133j39ec79b1hf0111102fa6d1776 AT mail DOT gmail DOT com>
Date: Wed, 27 May 2009 11:12:46 +0200
Message-ID: <1de9d39c0905270212s40462c46r373dc983889fe966@mail.gmail.com>
Subject: Re: Static linking issue under cygwin.
From: jean-luc malet <jeanluc DOT malet AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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

On Tue, May 26, 2009 at 8:33 PM, Vladimir A. Petrov <vaporg AT gmail DOT com> wrot=
e:
> Andre,
>
>> The correct order for searching the libraries is: -lglut32 -lglu32 -lope=
ngl32
>>
>> fly-cubes.c must be _before_ the libraries. Chuck's response was correct=
 about this last point,
>> but wrong about the librairies order.
>
> Thank you for your clarification.
>
> ---
> /vap/
>
> --
> Unsubscribe info: =C2=A0 =C2=A0 =C2=A0http://cygwin.com/ml/#unsubscribe-s=
imple
> Problem reports: =C2=A0 =C2=A0 =C2=A0 http://cygwin.com/problems.html
> Documentation: =C2=A0 =C2=A0 =C2=A0 =C2=A0 http://cygwin.com/docs.html
> FAQ: =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 http:=
//cygwin.com/faq/
>
>

I never managed to build something that link against those libs. if
you strip the "32" at the end of each libs it shall work
ie use :
lglut -lglu -lGL
however I don't know but every package that use autotools try to link
with theses.... what is the difference between -lopengl32 and -lGL?
thanks
JLM


--=20
KISS! (Keep It Simple, Stupid!)
(garde le simple, imb=C3=A9cile!)
"mais qu'est-ce que tu m'as pondu comme usine =C3=A0 gaz? fait des choses
simples et qui marchent, esp=C3=A8ce d'imb=C3=A9cile!"
-----------------------------
"Si vous pensez que vous =C3=AAtes trop petit pour changer quoique ce soit,
essayez donc de dormir avec un moustique dans votre chambre." Betty
Reese
http://www.grainesdechangement.com/citations.htm

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