Generation steps fails when OPENGL_INCLUDE_DIRS is a list
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 68/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- cmake, cpp
- Domain
- build-system
Research direction
Start in CMakeLists.txt at line 118 and inspect how OPENGL_INCLUDE_DIRS from find_package(OpenGL REQUIRED) is passed to bindgen. Reproduce generation with multiple OpenGL include directories, then verify that the generation step completes successfully without assuming a single directory.
Written by the indexing model from the issue text.
Description
When calling find_package( OpenGL REQUIRED ) the variable OPENGL_INCLUDE_DIRS can return more than one directory. This causes a failure in the call to bindgen (https://github.com/CadQuery/OCP/blob/d69b064a3a604ebf245b1f3b14fb54c835a3a571/CMakeLists.txt#L118) where it is assumed that the variable only contains one directory.
- Dominant language
- C++
- Stars
- 200
- Forks
- 48
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 6
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from CadQuery/OCP
-
Difficulty 3/5 1-2 days Newbie friendliness 58/100
-
Python 3.14t build Open
Difficulty 5/5 Over a week Newbie friendliness 35/100
-
OCCT8
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
AXERA-TECH/ax-llm#77 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
games-on-whales/wolf#509 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
bug-unconfirmed
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
NVIDIA/cuda-samples#453 ·