Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Feb 2009 21:35:26 +0100
From:      Angelo Turetta <aturetta@commit.it>
To:        Oliver Heesakkers <dev2@heesakkers.info>
Cc:        lwhsu@freebsd.org, multimedia@FreeBSD.org
Subject:   Re: gpac-libgpac needs libglut now
Message-ID:  <4999CE0E.8050000@commit.it>
In-Reply-To: <200902161313.59518.dev2@heesakkers.info>
References:  <200902161313.59518.dev2@heesakkers.info>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4999CE0E.8050000>