Package Details: lib32-freeglut 3.0.0-4

Git Clone URL: https://aur.archlinux.org/lib32-freeglut.git (read-only)
Package Base: lib32-freeglut
Description: Provides functionality for small OpenGL programs. (32-bit)
Upstream URL: http://freeglut.sourceforge.net/
Licenses: MIT
Submitter: None
Maintainer: WoefulDerelict
Last Packager: WoefulDerelict
Votes: 133
Popularity: 0.448882
First Submitted: 2008-04-16 23:37
Last Updated: 2016-08-21 04:36

Latest Comments

carstene1ns commented on 2014-07-02 10:03

2.8.1 is out for a year or so, please also add 'lib32-glu' and 'mesa' to makedepends, move 'lib32-libxxf86vm' to makedepends and change dependency 'lib32-mesa' to 'lib32-libgl'. This is the way it works for the freeglut[1] package in the repos.

[1] https://projects.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/freeglut

cor commented on 2013-08-26 21:40

Please add lib32-mesa-libgl to the required packages. lib32-freeglut does not compile without it.

algoban commented on 2013-01-05 22:27

I have the following problem when I try to compile it:

In file included from ../include/GL/freeglut.h:17:0,
from freeglut_callbacks.c:28:
../include/GL/freeglut_std.h:123:20: fatal error: GL/glu.h: No such file or directory
compilation terminated.
make[2]: *** [libglut_la-freeglut_callbacks.lo] Error 1
make[2]: se sale del directorio `/tmp/yaourt-tmp-al/aur-lib32-freeglut/src/freeglut-2.8.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: se sale del directorio `/tmp/yaourt-tmp-al/aur-lib32-freeglut/src/freeglut-2.8.0'
make: *** [all] Error 2

algoban commented on 2013-01-05 22:25

I'm have the following problem trying to compile it:

In file included from ../include/GL/freeglut.h:17:0,
from freeglut_callbacks.c:28:
../include/GL/freeglut_std.h:123:20: fatal error: GL/glu.h: No such file or directory
compilation terminated.
make[2]: *** [libglut_la-freeglut_callbacks.lo] Error 1
make[2]: se sale del directorio `/tmp/yaourt-tmp-al/aur-lib32-freeglut/src/freeglut-2.8.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: se sale del directorio `/tmp/yaourt-tmp-al/aur-lib32-freeglut/src/freeglut-2.8.0'
make: *** [all] Error 2

speps commented on 2012-12-08 22:41

Fixed in 2.8.0-3, sorry for the late.

excieve commented on 2012-12-07 22:26

PKGBUILD and patch from link provided by sh4nks worked for me, though had to update md5 of the patch and there's some fuzz while applying it.

Druedain commented on 2012-12-07 16:27

… and .rej files https://dl.dropbox.com/u/8129529/rej.zip

Druedain commented on 2012-12-07 16:23

=> Tworzę pakiet: lib32-freeglut 2.8.0-3 (pią, 7 gru 2012, 18:22:34 CET)
==> Sprawdzanie zależności potrzebnych do uruchomienia...
==> Sprawdzanie zależności potrzebnych do budowy...
==> Pobieranie źródeł...
-> Znaleziono freeglut-2.8.0.tar.gz
-> Znaleziono freeglut-2.8.0-disable-smooth-opengl3-demo.patch
==> Sprawdzam pliki źródłowe przy użyciu md5sums...
freeglut-2.8.0.tar.gz ... Zgadza się
freeglut-2.8.0-disable-smooth-opengl3-demo.patch ... Zgadza się
==> Rozpakowuję źródła...
-> Rozpakowywanie freeglut-2.8.0.tar.gz za pomocą bsdtar
==> Removing existing pkg/ directory...
==> Zaczynam build()
patching file configure.ac
Hunk #1 FAILED at 115.
1 out of 1 hunk FAILED -- saving rejects to file configure.ac.rej
patching file Makefile.am
Hunk #1 FAILED at 46.
1 out of 1 hunk FAILED -- saving rejects to file Makefile.am.rej
patching file Makefile.in
Hunk #1 FAILED at 275.
1 out of 1 hunk FAILED -- saving rejects to file Makefile.in.rej
patching file progs/demos/Makefile.am
patching file progs/demos/Makefile.in
==> BŁĄD: Wystąpił błąd w build().
Przerywam...

sh4nks commented on 2012-12-07 16:15

Working PKGBUILD with the Patch from @luciferin's Link: https://gist.github.com/4234323

Druedain commented on 2012-12-06 15:23

@j605 could you confirm that coping those libs still works? During the compilation I've got 30 new files in .libs, but coping it to /usr/lib32 doesn't change anything and compilation breaks at the same moment, throwing error mentioned by h0x…

It would be really useful to have 32bit freeglut on 64bit Arch… any suggestions? :)

luciferin commented on 2012-11-30 14:16

This gentoo bug report has a proposed patch that fixes the problem.

https://bugs.gentoo.org/show_bug.cgi?id=428382

j605 commented on 2012-11-19 16:30

copying libs from src/.libs to /usr/lib32/ works for now.

j605 commented on 2012-11-19 13:08

How to reslove the error mentioned already below, google is not helping

Valvar commented on 2012-11-07 11:54

I have a similar error to h0x. If anyone has a solution I would really appreciate it...

Anonymous comment on 2012-10-07 21:26

gcc -m32 -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -march=x86-64 -mtune=generic -O3 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wall -pedantic -MT smooth_opengl3-smooth_opengl3.o -MD -MP -MF .deps/smooth_opengl3-smooth_opengl3.Tpo -c -o smooth_opengl3-smooth_opengl3.o `test -f 'smooth_opengl3.c' || echo './'`smooth_opengl3.c
smooth_opengl3.c:105:25: error: conflicting types for ‘PFNGLSHADERSOURCEPROC’
In file included from /usr/include/GL/gl.h:2085:0,
from ../../../include/GL/freeglut_std.h:122,
from ../../../include/GL/freeglut.h:17,
from smooth_opengl3.c:45:
/usr/include/GL/glext.h:6699:25: note: previous declaration of ‘PFNGLSHADERSOURCEPROC’ was here
make[4]: *** [smooth_opengl3-smooth_opengl3.o] Error 1

speps commented on 2012-01-24 20:26

@rtoijala @josephgbr Ok, figured out what happened. Proprietary drivers replaces lib32-libgl without depending on lib32-libxxf86vm.
So redundant lib32-libxxf86vm needs to be added. Fixed in 2.8.0-2, Thanks.

Anonymous comment on 2012-01-21 11:16

Build fails without lib32-libxxf86vm because of missing dependencies:

../../../src/.libs/libglut.so: undefined reference to `XF86VidModeSetViewPort'
../../../src/.libs/libglut.so: undefined reference to `XF86VidModeGetModeLine'
../../../src/.libs/libglut.so: undefined reference to `XF86VidModeGetAllModeLines'
../../../src/.libs/libglut.so: undefined reference to `XF86VidModeQueryExtension'
../../../src/.libs/libglut.so: undefined reference to `XF86VidModeGetViewPort'
../../../src/.libs/libglut.so: undefined reference to `XF86VidModeSwitchToMode'
collect2: ld returned 1 exit status

You should add lib32-libxxf86vm as either a meake-depends or a dependency, I'm not sure which.

speps commented on 2012-01-20 21:29

Updated to 2.8.0-1

conan commented on 2011-11-11 22:49

The full build messages and config.log in here: http://pastebin.com/3LAJecVF

Any other info you need, just ask.

speps commented on 2011-11-11 19:11

@conan I cannot reproduce the issue. Please attach your config.log here using a pastebin service.

conan commented on 2011-11-11 13:12

Package's broken:


==> Starting build()...
patching file src/freeglut_window.c
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc -m32
checking for C compiler default output file name... a.out
checking whether the C compiler works... configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.


rafaelff commented on 2011-06-03 04:03

Speps, running namcap I notice 2 little issues :
1) lib32-libxxf86vm is a dependency
2) licenses array should be "custom:MIT" (as MIT is not in the common list)

speps commented on 2011-05-15 18:38

@Huulivoide It builds fine for me without patches, can you please link a full log pastebin? Thanks

Huulivoide commented on 2011-05-15 14:51

Doesent build, please add
sed 's|SUBDIRS = src include progs doc|SUBDIRS = src include doc|g' -i Makefile
after configure to fix

speps commented on 2010-12-05 23:49

@all Package owned, and fixed in order to conform multilib standards.

SataMaxx commented on 2010-10-20 01:00

This lib shouldn't be installed in /usr/lib32 instead of /opt/lib32/usr/lib, as others lib32-* in multilib are ?
I couldn't run an application depending on it without editing the PKGBUILD to install it in /usr/lib32…