Static linking issue under cygwin.

jean-luc malet jeanluc.malet@gmail.com
Wed May 27 15:28:00 GMT 2009


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/



More information about the Cygwin mailing list