Cloudforest is a demo text editor built with GTK4, a cross-platform UI toolkit. Written in C and C++.

GTK4 is a C library, but for convenience, we are using GTK4 C library in C++. GTK does have official C++ version library called gtkmm , and there are also other language bindings , but we use C version to reduce dependency problems.

Dependency

  1. PkgConfig for cmake to find GTK
  2. Cmake
  3. make, ninja or other tools (run cmake to see what you need)
  4. A C++ compiler (g++ or clang++ recommende. Visual studio compiler may not work)
  5. GTK4 Some Linux distro doesn't support dev library GTK4.10
  6. LSP Clangd Only clangd can find the build command (If you are pro who code without language server then ignore this)

What you need

  1. Linux/Windows/MacOS computer that you can download GTK4 4.10 or newer
  2. A code editor that works
  3. Github desktop (optional, there are unofficial Linux version on flathub )

Go to the CloudForest folder, and run cmake .( 'cmake' and a dot). You will see compile_commands.json . This helps clangd to find <gtk/gtk.h>