[Bug 528892] Review Request: mingw32-freeglut - Fedora MinGW alternative to the OpenGL Utility Toolkit (GLUT)

bugzilla at redhat.com bugzilla at redhat.com
Thu Oct 15 09:23:47 UTC 2009


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=528892





--- Comment #6 from Paulo Roma Cavalcanti <promac at gmail.com>  2009-10-15 05:23:46 EDT ---
(In reply to comment #5)
> (In reply to comment #3)
> > I recreated mingw32-freglut on F10(64 bits) and F11(32 bits).
> > On F10, the compilation goes just fine. On F11:
> > 
> > [leo:~/cg/TutorsMin1.0] make
> > i686-pc-mingw32-gcc -o fog".exe" fog.c glm.o -lglut32 -lglu32 -lopengl32
> > /usr/lib/gcc/i686-pc-mingw32/4.4.0/../../../../i686-pc-mingw32/bin/ld: cannot
> > find -lglut32
> > collect2: ld returned 1 exit status
> > make: *** [fog".exe"] Error 1
> > 
> > This is what I have on F10:
> > 
> > [cascavel:/usr/i686-pc-mingw32/sys-root/mingw/lib] d *glut*
> > -rw-r--r-- 1 root root 86612 2008-12-10 18:55 libglut32.a
> > -rw-r--r-- 1 root root 86374 2008-12-10 18:55 libglut.a
> > -rwxr-xr-x 1 root root 90624 2009-10-14 06:15 libglut.dll.a
> 
> When you say you "recreated" freeglut, what does that mean?
> 

I mean I created the rpm:

http://orion.lcg.ufrj.br/RPMS/myrpms-f11/repoview/mingw32-freeglut.html



> The package under review contains the following library-related
> files:
> 
> /usr/i686-pc-mingw32/sys-root/mingw/bin/libglut-0.dll
> /usr/i686-pc-mingw32/sys-root/mingw/lib/libglut.dll.a
> 
> > On F11:
> > 
> > [leo:/usr/i686-pc-mingw32/sys-root/mingw/lib] d *glut*
> > -rwxr-xr-x 1 root root 90624 2009-10-14 08:46 libglut.dll.a
> 
> I'm assuming this file comes from my package?

yes:

[orion:~/RPMS11/lcgrpms] lstrpm mingw32-freeglut-2.6.0-0.1.rc1.fc11.noarch.rpm
/usr/i686-pc-mingw32/sys-root/mingw/bin/libglut-0.dll
/usr/i686-pc-mingw32/sys-root/mingw/include/GL/freeglut.h
/usr/i686-pc-mingw32/sys-root/mingw/include/GL/freeglut_ext.h
/usr/i686-pc-mingw32/sys-root/mingw/include/GL/freeglut_std.h
/usr/i686-pc-mingw32/sys-root/mingw/include/GL/glut.h
/usr/i686-pc-mingw32/sys-root/mingw/lib/libglut.dll.a
/usr/share/doc/mingw32-freeglut-2.6.0
/usr/share/doc/mingw32-freeglut-2.6.0/AUTHORS
/usr/share/doc/mingw32-freeglut-2.6.0/COPYING
/usr/share/doc/mingw32-freeglut-2.6.0/FrequentlyAskedQuestions
/usr/share/doc/mingw32-freeglut-2.6.0/NEWS
/usr/share/doc/mingw32-freeglut-2.6.0/README
/usr/share/doc/mingw32-freeglut-2.6.0/README.win32
/usr/share/doc/mingw32-freeglut-2.6.0/TODO



> 
> With mingw32-freeglut installed you can compile programs
> like this:
> 
> i686-pc-mingw32-gcc cube.c -o cube -lglut -lglu32 -lopengl32
> 
> You don't need to copy files from one system to another.
> 

What I said is that without 

libglut32.a and libglut.a 

on F11, which I do not have, my system does not find glut32.

I need to copy both libs from 

mingw32-w32api-3.12-8.fc10.noarch

Why are those libs missing from F11?

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the mingw mailing list