mingw-cross-env-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Mingw-cross-env-list] cannot find -lGL


From: Tony Theodore
Subject: Re: [Mingw-cross-env-list] cannot find -lGL
Date: Tue, 08 Dec 2015 09:01:46 +1100

Hi Christian,


> <mxe install dir>/mxe/usr/bin/i686-w64-mingw32.static-ld: cannot find -lGL
> <mxe install dir>/mxe/usr/bin/i686-w64-mingw32.static-ld: cannot find -lGLU
> 
> I tried to search the mailing list, but found no match. How can I add the 
> library path or are other options needed?


It’s probably easiest to use `pkg-config`:

$ i686-w64-mingw32.static-pkg-config --libs gl glu
-lopengl32 -lglu32

They’ll be in the standard `usr/i686-w64-mingw32.static/lib` directory.

Cheers,

Tony




reply via email to

[Prev in Thread] Current Thread [Next in Thread]