Discussion:
Looking for 64-bit glx.h
(too old to reply)
Doug Laidlaw
2023-01-23 02:14:10 UTC
Permalink
A new version of Kodi has just been released, codenamed Nexus. Since it
is so new, I have to compile it from source. I have done this before,
but it isn't straightforward. Only gnucash could be worse. Searching
tells me that glx.h is not a normal header file, and it should be in my
proprietary driver "devel" package, but I can't find it anywhere. My
driver is nVidia. The forums only mention ATI cards.

TIA,

Doug.
Bit Twister
2023-01-23 02:43:17 UTC
Permalink
Post by Doug Laidlaw
A new version of Kodi has just been released, codenamed Nexus. Since it
is so new, I have to compile it from source. I have done this before,
but it isn't straightforward. Only gnucash could be worse. Searching
tells me that glx.h is not a normal header file, and it should be in my
proprietary driver "devel" package, but I can't find it anywhere. My
driver is nVidia. The forums only mention ATI cards.
I suggest running urpmf glx.h
Doug Laidlaw
2023-01-23 10:38:46 UTC
Permalink
Post by Bit Twister
Post by Doug Laidlaw
A new version of Kodi has just been released, codenamed Nexus. Since it
is so new, I have to compile it from source. I have done this before,
but it isn't straightforward. Only gnucash could be worse. Searching
tells me that glx.h is not a normal header file, and it should be in my
proprietary driver "devel" package, but I can't find it anywhere. My
driver is nVidia. The forums only mention ATI cards.
I suggest running urpmf glx.h
Thanks. I knew there was such a command. I need a cheat sheet.
Doug Laidlaw
2023-01-23 10:49:16 UTC
Permalink
I suggest running    urpmf glx.h
Thanks.  I knew there was such a command.  I need a cheat sheet.
And, as predicted, it was in the nvidia "devel" package. I had tried
searching with rpmdrake, but it returned all the ***-glx.h files. which
weren't accepted. When the driver package was called nvidia-current,
and all the devel packages had version numbers, it was difficult to find
a match.
Bit Twister
2023-01-23 11:08:06 UTC
Permalink
Post by Doug Laidlaw
Post by Bit Twister
Post by Doug Laidlaw
A new version of Kodi has just been released, codenamed Nexus. Since it
is so new, I have to compile it from source. I have done this before,
but it isn't straightforward. Only gnucash could be worse. Searching
tells me that glx.h is not a normal header file, and it should be in my
proprietary driver "devel" package, but I can't find it anywhere. My
driver is nVidia. The forums only mention ATI cards.
I suggest running urpmf glx.h
Thanks. I knew there was such a command. I need a cheat sheet.
I call it my offline brain book. Just an ASCII text file with key words
followed by command or command example and a wrapper script to search
it with any number of key word arguments.

Since I lurk in numerous Usenet groups, I get to copy commands I wanted/needed
and any I think might come in handy some time.

Also any time I have to look up something a few times I just add it to the file.
It is getting a bit large.

$ wc --lines < /local/doc/unix.help
9055

Take urpm for example:
$ grep urpm /local/doc/unix.help | wc --lines
150
Doug Laidlaw
2023-01-23 12:21:10 UTC
Permalink
Post by Bit Twister
Post by Doug Laidlaw
Post by Bit Twister
Post by Doug Laidlaw
A new version of Kodi has just been released, codenamed Nexus. Since it
is so new, I have to compile it from source. I have done this before,
but it isn't straightforward. Only gnucash could be worse. Searching
tells me that glx.h is not a normal header file, and it should be in my
proprietary driver "devel" package, but I can't find it anywhere. My
driver is nVidia. The forums only mention ATI cards.
I suggest running urpmf glx.h
Thanks. I knew there was such a command. I need a cheat sheet.
I call it my offline brain book. Just an ASCII text file with key words
followed by command or command example and a wrapper script to search
it with any number of key word arguments.
Since I lurk in numerous Usenet groups, I get to copy commands I wanted/needed
and any I think might come in handy some time.
Also any time I have to look up something a few times I just add it to the file.
It is getting a bit large.
$ wc --lines < /local/doc/unix.help
9055
$ grep urpm /local/doc/unix.help | wc --lines
150
Good idea. There is no nvidia-devel package for my driver version, and
running an earlier version requires me to downgrade my driver This
answer from nVidia-support is probably the solution, and it explains why
there are RPMs for ATI cards:

https://nvidia.custhelp.com/app/answers/detail/a_id/163/~/linux---where-can-i-get-gl.h-or-glx.h-so-i-can-compile-opengl-programs%3F

The only problem now is that the quoted paths are out of date, after
only 18 months, so I will keep searching. I can understand now why
Microsoft ditched OpenGL. :(
Jim
2023-01-23 14:45:05 UTC
Permalink
Post by Doug Laidlaw
Post by Bit Twister
Post by Doug Laidlaw
Post by Bit Twister
Post by Doug Laidlaw
A new version of Kodi has just been released, codenamed Nexus. Since it
is so new, I have to compile it from source. I have done this before,
but it isn't straightforward. Only gnucash could be worse. Searching
tells me that glx.h is not a normal header file, and it should be in my
proprietary driver "devel" package, but I can't find it anywhere. My
driver is nVidia. The forums only mention ATI cards.
I suggest running urpmf glx.h
Thanks. I knew there was such a command. I need a cheat sheet.
I call it my offline brain book. Just an ASCII text file with key words
followed by command or command example and a wrapper script to search
it with any number of key word arguments.
Since I lurk in numerous Usenet groups, I get to copy commands I wanted/needed
and any I think might come in handy some time.
Also any time I have to look up something a few times I just add it to the file.
It is getting a bit large.
$ wc --lines < /local/doc/unix.help
9055
$ grep urpm /local/doc/unix.help | wc --lines
150
Good idea. There is no nvidia-devel package for my driver version, and
running an earlier version requires me to downgrade my driver This
answer from nVidia-support is probably the solution, and it explains why
https://nvidia.custhelp.com/app/answers/detail/a_id/163/~/linux---where-can-i-get-gl.h-or-glx.h-so-i-can-compile-opengl-programs%3F
The only problem now is that the quoted paths are out of date, after
only 18 months, so I will keep searching. I can understand now why
Microsoft ditched OpenGL. :(
Do you have nvidia390 or lib64glvnd-devel ?

[***@sorrel ~]$ urpmf glx.h |grep -v i586 |grep \/glx.h
lib64xcb-devel:/usr/include/xcb/glx.h
lib64glvnd-devel:/usr/include/GL/glx.h
lib64epoxy-devel:/usr/include/epoxy/glx.h
nvidia390-devel:/usr/include/nvidia390/GL/glx.h
nvidia390-devel:/usr/include/nvidia390/GL/glx.h

Cheers!

jim b.
--
UNIX is not user-unfriendly, it merely
expects users to be computer friendly.
David W. Hodgins
2023-01-23 06:15:16 UTC
Permalink
Post by Doug Laidlaw
A new version of Kodi has just been released, codenamed Nexus. Since it
is so new, I have to compile it from source. I have done this before,
but it isn't straightforward. Only gnucash could be worse. Searching
tells me that glx.h is not a normal header file, and it should be in my
proprietary driver "devel" package, but I can't find it anywhere. My
driver is nVidia. The forums only mention ATI cards.
$ urpmf /glx.h|sort -u
lib64epoxy-devel:/usr/include/epoxy/glx.h
lib64glvnd-devel:/usr/include/GL/glx.h
lib64xcb-devel:/usr/include/xcb/glx.h
libepoxy-devel:/usr/include/epoxy/glx.h
libglvnd-devel:/usr/include/GL/glx.h
libxcb-devel:/usr/include/xcb/glx.h
nvidia390-devel:/usr/include/nvidia390/GL/glx.h

Regards, Dave Hodgins

Loading...