NVIDIA / NVIDIA/nvidia-settings

glxinfo.h:23:10: fatal error: GL/glx.h: No such file or directory

Open
#29 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
345
Forks
92
PR merge metrics
No merged PRs in 30d

Description

Gentoo 64-bit, driver 396.24

make[1]: Entering directory '/tmp/nvidia-settings/src'
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
   CC           command-line.c
In file included from command-line.c:32:0:
glxinfo.h:23:10: fatal error: GL/glx.h: No such file or directory
 #include <GL/glx.h>
          ^~~~~~~~~~
compilation terminated.
make[1]: *** [Makefile:313: _out/Linux_x86_64/command-line.o] Error 1
make[1]: Leaving directory '/tmp/nvidia-settings/src'
make: *** [Makefile:23: all] Error 2

And unfortunately, ordinary nvidia-settings bundled with nvidia-drivers pulls in a lot of various messy stuff...

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the reported build output, command-line.c, glxinfo.h, and the Makefile target that compiles _out/Linux_x86_64/command-line.o. Check the pkg-config dependency lookup and the availability of GL/glx.h; done means the project builds successfully on the reported Gentoo 64-bit setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
build-system
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.