Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • Could you include a link to the program you’re trying to build, and show the commands you used to try to build it? Commented Mar 29, 2023 at 17:00
  • Yes. the program is the one on their website: gtk.org , the C verison. I used gcc program.c -o program. Also I have tried to include the path /usr/linclude/gtk-4 with -I flag, but this doesn´t work either. Then I have tried to set the C_INCLUDE_PATH, without success, then I have tried to download the files from the installation site and compile them but just errors all over the place... Commented Mar 29, 2023 at 17:25
  • That’s not the correct include path, see my updated answer. Commented Mar 29, 2023 at 19:21
  • If you need a specialised build environment, or just want to try newer versions of stuff without risking your system then use a VM. That's one of the things they're for. e.g. create a VM and install Debian 12 (bookworm) on it. BTW, see Advice For New Users On Not Breaking Their Debian System Commented Mar 30, 2023 at 2:33