* [gentoo-user] In search for a undeclared identifier...
@ 2009-08-17 3:20 meino.cramer
2009-08-17 3:42 ` Mike Kazantsev
2009-08-17 4:07 ` Nikos Chantziaras
0 siblings, 2 replies; 8+ messages in thread
From: meino.cramer @ 2009-08-17 3:20 UTC (permalink / raw
To: Gentoo
Hi,
I try to build the developper branch of a software project,
which is not in Gentoo.
This works a longer time.
Now the compilatino process aborts with
glmodule.c:926: error: 'glActiveTexture' undeclared (first use in this function)
.
Sounds somehow OpenGL-related:
I am using a nVidia Corporation GeForce 7600 GT with NVidia-drivers
and eselected opengl. Since Blender, which uses OpenGL a lot runs fine
and is also build each day from developper sources...
Does anyone know to what glActiveTexture belongs to?
And where I can buy one for my Linux box ;)
Thank you very much in advance for any helpful hint !
Best regards
mcc
--
Please don't send me any Word- or Powerpoint-Attachments
unless it's absolutely neccessary. - Send simply Text.
See http://www.gnu.org/philosophy/no-word-attachments.html
In a world without fences and walls nobody needs gates and windows.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] In search for a undeclared identifier...
2009-08-17 3:20 [gentoo-user] In search for a undeclared identifier meino.cramer
@ 2009-08-17 3:42 ` Mike Kazantsev
2009-08-17 4:52 ` Mike Kazantsev
2009-08-17 4:07 ` Nikos Chantziaras
1 sibling, 1 reply; 8+ messages in thread
From: Mike Kazantsev @ 2009-08-17 3:42 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 910 bytes --]
On Mon, 17 Aug 2009 05:20:05 +0200
meino.cramer@gmx.de wrote:
> I try to build the developper branch of a software project,
> which is not in Gentoo.
>
> This works a longer time.
>
> Now the compilatino process aborts with
>
> glmodule.c:926: error: 'glActiveTexture' undeclared (first use in
> this function) .
>
> Sounds somehow OpenGL-related:
> I am using a nVidia Corporation GeForce 7600 GT with NVidia-drivers
> and eselected opengl. Since Blender, which uses OpenGL a lot runs fine
> and is also build each day from developper sources...
>
> Does anyone know to what glActiveTexture belongs to?
> And where I can buy one for my Linux box ;)
>
> Thank you very much in advance for any helpful hint !
On my system it's in /usr/include/GL/glew.h header, which belongs to
media-libs/glew, so you probably need to have it installed.
--
Mike Kazantsev // fraggod.net
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* [gentoo-user] Re: In search for a undeclared identifier...
2009-08-17 3:20 [gentoo-user] In search for a undeclared identifier meino.cramer
2009-08-17 3:42 ` Mike Kazantsev
@ 2009-08-17 4:07 ` Nikos Chantziaras
1 sibling, 0 replies; 8+ messages in thread
From: Nikos Chantziaras @ 2009-08-17 4:07 UTC (permalink / raw
To: gentoo-user
On 08/17/2009 06:20 AM, meino.cramer@gmx.de wrote:
>
> Hi,
>
> I try to build the developper branch of a software project,
> which is not in Gentoo.
>
> This works a longer time.
>
> Now the compilatino process aborts with
>
> glmodule.c:926: error: 'glActiveTexture' undeclared (first use in this function)
> .
>
> Sounds somehow OpenGL-related:
> I am using a nVidia Corporation GeForce 7600 GT with NVidia-drivers
> and eselected opengl. Since Blender, which uses OpenGL a lot runs fine
> and is also build each day from developper sources...
>
> Does anyone know to what glActiveTexture belongs to?
> And where I can buy one for my Linux box ;)
You don't need to buy anything. All you need is to tell the person who
wrote glmodule.c to go fix the code :)
It's probably a matter of:
#define GL_GLEXT_PROTOTYPES
#include <GL/glext.h>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] In search for a undeclared identifier...
2009-08-17 3:42 ` Mike Kazantsev
@ 2009-08-17 4:52 ` Mike Kazantsev
2009-08-17 5:01 ` [gentoo-user] " Nikos Chantziaras
2009-08-17 15:51 ` [gentoo-user] " meino.cramer
0 siblings, 2 replies; 8+ messages in thread
From: Mike Kazantsev @ 2009-08-17 4:52 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1368 bytes --]
On Mon, 17 Aug 2009 09:42:12 +0600
Mike Kazantsev <mk.fraggod@gmail.com> wrote:
> On Mon, 17 Aug 2009 05:20:05 +0200
> meino.cramer@gmx.de wrote:
>
> > I try to build the developper branch of a software project,
> > which is not in Gentoo.
> >
> > This works a longer time.
> >
> > Now the compilatino process aborts with
> >
> > glmodule.c:926: error: 'glActiveTexture' undeclared (first use in
> > this function) .
> >
> > Sounds somehow OpenGL-related:
> > I am using a nVidia Corporation GeForce 7600 GT with NVidia-drivers
> > and eselected opengl. Since Blender, which uses OpenGL a lot runs
> > fine and is also build each day from developper sources...
> >
> > Does anyone know to what glActiveTexture belongs to?
> > And where I can buy one for my Linux box ;)
> >
> > Thank you very much in advance for any helpful hint !
>
> On my system it's in /usr/include/GL/glew.h header, which belongs to
> media-libs/glew, so you probably need to have it installed.
My bad, I've misread grep results. It really is
in /usr/include/GL/glext.h.
And that file should be symlink created by "eselect opengl" with
source belonging either to media-libs/mesa or nvidia drivers.
If source file include lines are correct, you might want to try
re-emerging nvidia drivers and eselect'ing them.
--
Mike Kazantsev // fraggod.net
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* [gentoo-user] Re: In search for a undeclared identifier...
2009-08-17 4:52 ` Mike Kazantsev
@ 2009-08-17 5:01 ` Nikos Chantziaras
2009-08-17 15:51 ` [gentoo-user] " meino.cramer
1 sibling, 0 replies; 8+ messages in thread
From: Nikos Chantziaras @ 2009-08-17 5:01 UTC (permalink / raw
To: gentoo-user
On 08/17/2009 07:52 AM, Mike Kazantsev wrote:
> On Mon, 17 Aug 2009 09:42:12 +0600
> Mike Kazantsev<mk.fraggod@gmail.com> wrote:
>
>> On Mon, 17 Aug 2009 05:20:05 +0200
>> meino.cramer@gmx.de wrote:
>>
>>> I try to build the developper branch of a software project,
>>> which is not in Gentoo.
>>>
>>> This works a longer time.
>>>
>>> Now the compilatino process aborts with
>>>
>>> glmodule.c:926: error: 'glActiveTexture' undeclared (first use in
>>> this function) .
>>>[...]
>>
>> On my system it's in /usr/include/GL/glew.h header, which belongs to
>> media-libs/glew, so you probably need to have it installed.
>
> My bad, I've misread grep results. It really is
> in /usr/include/GL/glext.h.
> And that file should be symlink created by "eselect opengl" with
> source belonging either to media-libs/mesa or nvidia drivers.
>
> If source file include lines are correct, you might want to try
> re-emerging nvidia drivers and eselect'ing them.
The header file is probably installed correctly, since the compiler's
error complains about an undeclared identifier rather than a
non-existent header ("error: GL/glext.h: No such file or directory").
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] In search for a undeclared identifier...
2009-08-17 4:52 ` Mike Kazantsev
2009-08-17 5:01 ` [gentoo-user] " Nikos Chantziaras
@ 2009-08-17 15:51 ` meino.cramer
2009-08-17 16:09 ` [gentoo-user] " Nikos Chantziaras
1 sibling, 1 reply; 8+ messages in thread
From: meino.cramer @ 2009-08-17 15:51 UTC (permalink / raw
To: gentoo-user
> > On my system it's in /usr/include/GL/glew.h header, which belongs to
> > media-libs/glew, so you probably need to have it installed.
>
> My bad, I've misread grep results. It really is
> in /usr/include/GL/glext.h.
> And that file should be symlink created by "eselect opengl" with
> source belonging either to media-libs/mesa or nvidia drivers.
>
> If source file include lines are correct, you might want to try
> re-emerging nvidia drivers and eselect'ing them.
>
> --
> Mike Kazantsev // fraggod.net
Hi,
thank for the help ! :o)
Currently I cannot decide whether everything is setup correctly on my
box:
ls -l /usr/include/GL/glext.h
gives me
lrwxrwxrwx 1 root root 40 2009-08-14 04:34 /usr/include/GL/glext.h -> //usr//lib/opengl/global/include/glext.h
which looks linke pointing neither to mesa nor to nvidia -- at least
for my blurred eyes.
Would it be possible to post a correctly set link for comparison?
Thanks a lot in advance!
mcc
PS: And thank you for the tip: Now I can save my money for better
things as DVDs of "Raiders of the lost identifier" (Indiana Gnu).
--
Please don't send me any Word- or Powerpoint-Attachments
unless it's absolutely neccessary. - Send simply Text.
See http://www.gnu.org/philosophy/no-word-attachments.html
In a world without fences and walls nobody needs gates and windows.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [gentoo-user] Re: In search for a undeclared identifier...
2009-08-17 15:51 ` [gentoo-user] " meino.cramer
@ 2009-08-17 16:09 ` Nikos Chantziaras
2009-08-17 16:23 ` meino.cramer
0 siblings, 1 reply; 8+ messages in thread
From: Nikos Chantziaras @ 2009-08-17 16:09 UTC (permalink / raw
To: gentoo-user
On 08/17/2009 06:51 PM, meino.cramer@gmx.de wrote:
>>> On my system it's in /usr/include/GL/glew.h header, which belongs to
>>> media-libs/glew, so you probably need to have it installed.
>>
>> My bad, I've misread grep results. It really is
>> in /usr/include/GL/glext.h.
>> And that file should be symlink created by "eselect opengl" with
>> source belonging either to media-libs/mesa or nvidia drivers.
>>
>> If source file include lines are correct, you might want to try
>> re-emerging nvidia drivers and eselect'ing them.
>>
>> --
>> Mike Kazantsev // fraggod.net
>
> Hi,
>
> thank for the help ! :o)
>
> Currently I cannot decide whether everything is setup correctly on my
> box:
>
> ls -l /usr/include/GL/glext.h
>
> gives me
>
> lrwxrwxrwx 1 root root 40 2009-08-14 04:34 /usr/include/GL/glext.h -> //usr//lib/opengl/global/include/glext.h
>
> which looks linke pointing neither to mesa nor to nvidia -- at least
> for my blurred eyes.
You didn't follow the instructions. "eselect opengl" will tell you. To
make sure, do "eselect opengl set x11; eselect opengl set nvidia".
But as I already wrote in another post, this looks like a bug in the
application you're trying to build.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] Re: In search for a undeclared identifier...
2009-08-17 16:09 ` [gentoo-user] " Nikos Chantziaras
@ 2009-08-17 16:23 ` meino.cramer
0 siblings, 0 replies; 8+ messages in thread
From: meino.cramer @ 2009-08-17 16:23 UTC (permalink / raw
To: gentoo-user
> >lrwxrwxrwx 1 root root 40 2009-08-14 04:34 /usr/include/GL/glext.h ->
> >//usr//lib/opengl/global/include/glext.h
> >
> >which looks linke pointing neither to mesa nor to nvidia -- at least
> >for my blurred eyes.
>
> You didn't follow the instructions. "eselect opengl" will tell you.
> To make sure, do "eselect opengl set x11; eselect opengl set nvidia".
>
> But as I already wrote in another post, this looks like a bug in the
> application you're trying to build.
>
Before I posted, I did a
eselect opengl set nvidia
but from the result I can not tell, whether its pointing
to the correct file.
The only proof I have is the command I gave.
--
Please don't send me any Word- or Powerpoint-Attachments
unless it's absolutely neccessary. - Send simply Text.
See http://www.gnu.org/philosophy/no-word-attachments.html
In a world without fences and walls nobody needs gates and windows.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2009-08-17 16:23 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-17 3:20 [gentoo-user] In search for a undeclared identifier meino.cramer
2009-08-17 3:42 ` Mike Kazantsev
2009-08-17 4:52 ` Mike Kazantsev
2009-08-17 5:01 ` [gentoo-user] " Nikos Chantziaras
2009-08-17 15:51 ` [gentoo-user] " meino.cramer
2009-08-17 16:09 ` [gentoo-user] " Nikos Chantziaras
2009-08-17 16:23 ` meino.cramer
2009-08-17 4:07 ` Nikos Chantziaras
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox