gpac-libgpac needs libglut now

Jung-uk Kim jkim at FreeBSD.org
Tue Feb 17 11:01:37 PST 2009


On Tuesday 17 February 2009 12:04 pm, Denise H. G. wrote:
> Angelo Turetta <aturetta at commit.it> writes:
> > Oliver Heesakkers wrote:
> >> Hello,
> >>
> >> I was unable to build gpac-libgpac because I did not have
> >> libglut installed. Perhaps you need to add a dependency here.
> >
> > That's not enough.
> >
> > In my PC I have libGL, libGL, libglut installed, but the build
> > stops at:
> >
> > cc -O3  -O2 -fno-strict-aliasing -pipe  -fPIC -pthread
> > -fno-strict-aliasing -Wno-pointer-sign
> > -I/space/usr/ports/multimedia/gpac-libgpac/work/gpac/include 
> > -I../ -DGPAC_HAVE_CONFIG_H  -fPIC -DPIC -c compositor/mesh.c -o
> > compositor/mesh.opic
> > In file included from compositor/mesh.c:33:
> > compositor/gl_inc.h:45:19: error: GL/gl.h: No such file or
> > directory
> >
> > The problem seems that this part of src/Makefile apparently is
> > not used:
> >
> > # OpenGL support
> > ifeq ($(HAS_OPENGL),yes)
> > EXTRALIBS+= $(OGL_LIBS)
> > COMPOSITOR_CFLAGS+=$(OGL_INCLS)
> > endif
> >
> > config.mak contains:
> > OGL_INCLS=-I/usr/local/include
> > OGL_LIBS=-L/usr/local/lib -lGL -lglut
> >
> > I hope someone who better understand gmake can
> > Angelo.
>
> I don't know much about gmake, but made a dirty hack and it seemed
> to work...
>
> ---- cut ----

Can you try the attached patch instead?

Thanks,

Jung-uk Kim
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gpac-libgpac.diff
Type: text/x-diff
Size: 2153 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-multimedia/attachments/20090217/75991389/gpac-libgpac.bin


More information about the freebsd-multimedia mailing list