Gentoo Archives: gentoo-user

From: Nikos Chantziaras <realnc@×××××.de>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: In search for a undeclared identifier...
Date: Mon, 17 Aug 2009 05:02:14
Message-Id: h6ao7q$qep$1@ger.gmane.org
In Reply to: Re: [gentoo-user] In search for a undeclared identifier... by Mike Kazantsev
1 On 08/17/2009 07:52 AM, Mike Kazantsev wrote:
2 > On Mon, 17 Aug 2009 09:42:12 +0600
3 > Mike Kazantsev<mk.fraggod@×××××.com> wrote:
4 >
5 >> On Mon, 17 Aug 2009 05:20:05 +0200
6 >> meino.cramer@×××.de wrote:
7 >>
8 >>> I try to build the developper branch of a software project,
9 >>> which is not in Gentoo.
10 >>>
11 >>> This works a longer time.
12 >>>
13 >>> Now the compilatino process aborts with
14 >>>
15 >>> glmodule.c:926: error: 'glActiveTexture' undeclared (first use in
16 >>> this function) .
17 >>>[...]
18 >>
19 >> On my system it's in /usr/include/GL/glew.h header, which belongs to
20 >> media-libs/glew, so you probably need to have it installed.
21 >
22 > My bad, I've misread grep results. It really is
23 > in /usr/include/GL/glext.h.
24 > And that file should be symlink created by "eselect opengl" with
25 > source belonging either to media-libs/mesa or nvidia drivers.
26 >
27 > If source file include lines are correct, you might want to try
28 > re-emerging nvidia drivers and eselect'ing them.
29
30 The header file is probably installed correctly, since the compiler's
31 error complains about an undeclared identifier rather than a
32 non-existent header ("error: GL/glext.h: No such file or directory").