On Tue, Jan 8, 2013 at 3:06 PM, John Brown <johnbrown105@...> wrote:
> On Tue, 8 Jan 2013 14:53:13 -0500 , Larry Pottle wrote:
> > On Mon, Jan 7, 2013 at 8:40 PM, John Brown
> > <johnbrown105@...>> wrote:
> > >No doubt the line `LIBS="-lGL $LIBS"' is the problem. The MinGW
> > >Open GL library is /mingw/lib/libopengl32.a, not libGL.a.
> > Thanks John!
> > My appologies for the wait.
> > There doesn't appear to be a libGL.a file on my system, However I
> > did find a dynamic link at
> > usr/lib/libGL.so.
> That is your Linux Open GL library. In order to be found by the
> cross-compiler, it needs to be called libGL.a and should be located in the
> cross-compiler's lib directory.
> > > Copy libopengl32.a to libGL.a (or create a symbolic link) and try
> > Apparently libGL.so is already linked to libopengl32.a as I tried:
> > ln -s '/usr/i686-pc-mingw32/sys-root/mingw/lib/libopengl32.a' libGL.so
> Instead, just:
> cd /usr/i686-pc-mingw32/sys-root/mingw/lib
> cp libopengl32.a libGL.a
> > and the command line replied with:
> > ln: creating symbolic link `libGL.so': File exists.
> > I then ran the Mingw compiler again and results are essentially
> > the same:
> > checking GL/gl.h usability... no
> > checking GL/gl.h presence... yes
> > configure: WARNING: GL/gl.h: present but cannot be compiled
> I don't know what this means, but remember, you can look at config.log
> to see the specific cause of the errors.
> > checking for GL/gl.h... no
> > checking for glEnable in -lGL... no
> > configure: error: lacking proper OpenGL support
> This is because a MinGW libGL.a still does not exist.
> John Brown.
> Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
> and more. Get SQL Server skills now (including 2012) with LearnDevNow -
> 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
> SALE $99.99 this month only - learn more at:
> MinGW-users mailing list
> This list observes the Etiquette found at
> We ask that you be polite and do the same. Disregard for the list
> etiquette may cause your account to be moderated.
> You may change your MinGW Account Options or unsubscribe at:
> Also: mailto:mingw-users-request@...
I tried your suggestion:
>cp libopengl32.a libGL.a
But it didn't have any impact on the problem.
> you can look at config.log to see the specific cause of the errors.
I opened the conf.log and tried to determine this but I not sure what to
look for. I copied
a portion of the log that appears to have some relation to Mingw and
attached it to this reply.
Do you see any clues?