Oaknut is a new GUI framework for truly cross-platform C++ apps. An Oaknut app can be built to run natively on any major OS, and can also run in a web browser. The ‘Minesweeper’ sample app is running in an iframe to the right of this text.
Oaknut is currently at the “proof of concept” stage, few parts are fully-featured and no API is frozen.
Clone the Oaknut repository:
git clone https://github.com/reubenscratton/oaknut
OAKNUT_DIRenvironment variable to point to it:
export set OAKNUT_DIR=/path/to/oaknut
Select one of the samples in
If you would like to use an IDE, run a make command in the project directory to build the appropriate project files:
||3.0, 3.1, 3.2|
|Visual Studio Code||
If your IDE is not yet supported or if you prefer to not use any IDE then just run
make on its own with no arguments to create a debug build for the host platform.
The compiled binary will be under the generated
.build folder in the project
root (see Building for details).