This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Static linking issue under cygwin.


On Tue, May 26, 2009 at 8:33 PM, Vladimir A. Petrov <vaporg@gmail.com> wrote:
> Andre,
>
>> The correct order for searching the libraries is: -lglut32 -lglu32 -lopengl32
>>
>> 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: Â Â Âhttp://cygwin.com/ml/#unsubscribe-simple
> Problem reports: Â Â Â http://cygwin.com/problems.html
> Documentation: Â Â Â Â http://cygwin.com/docs.html
> FAQ: Â Â Â Â Â Â Â Â Â 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


-- 
KISS! (Keep It Simple, Stupid!)
(garde le simple, imbÃcile!)
"mais qu'est-ce que tu m'as pondu comme usine à gaz? fait des choses
simples et qui marchent, espÃce d'imbÃcile!"
-----------------------------
"Si vous pensez que vous Ãtes 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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]