KhronosGroup / KhronosGroup/KTX-Software

libktx: install format headers?

Open Beginner friendly
#1,020 3 comments 0 reactions 0 assignees View on GitHub
awaiting information
Dominant language
C++
Stars
1.4k
Forks
317
Avg merge
20h 12m
Merged PRs (30d)
3

Description

I'm learning the API for `libktx`, and according to the [usage overview](https://github.khronos.org/KTX-Software/libktx/index.html#subsection) for writing a ktx1 or ktx2 file, I would need to include the following headers:

```
#include
#include
```

However, `vk_format_enum.h` does not appear to be installed by the CMakeLists.txt (I'm using conan to install ktx, but I believe this is also the case if building and installing from source). There are a couple of other headers, like `vk_format.h` and `gl_format.h` that may also be useful to have installed.

By the way, while I could of course include the system vulkan and opengl headers, the piece of software I'm writing is intended to not have a dependency on these so it would be nice to have these stub headers provided by the library.

Contributor guide

Open the contributing guide

Research direction

Start by reading the CMakeLists.txt install rules and compare the headers used in the libktx usage overview with those included in the installed package. Verify a source installation and the Conan package expose the requested format headers without requiring system Vulkan or OpenGL headers; done means consumers can include the supported headers successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, cpp
Domain
build-system
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
64/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.