[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 08:37:29 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 #5 from Richard W.M. Jones <rjones at redhat.com>  2009-10-15 04:37:25 EDT ---
(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?

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?

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.

Also I'm only testing this on Fedora 11 and above, because
Fedora 10 is almost at end of life.

-- 
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