Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/frang75/nappgui_src
SDK for building cross-platform desktop apps in ANSI-C
https://github.com/frang75/nappgui_src
c cairo cocoa cross-platform cross-platform-app cross-platform-gui gdi-plus gtk3 quartz win32
Last synced: 9 days ago
JSON representation
SDK for building cross-platform desktop apps in ANSI-C
- Host: GitHub
- URL: https://github.com/frang75/nappgui_src
- Owner: frang75
- License: mit
- Created: 2021-09-08T15:54:29.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-10-27T07:59:29.000Z (12 days ago)
- Last Synced: 2024-10-27T08:51:28.738Z (12 days ago)
- Topics: c, cairo, cocoa, cross-platform, cross-platform-app, cross-platform-gui, gdi-plus, gtk3, quartz, win32
- Language: C
- Homepage: https://www.nappgui.com
- Size: 6.4 MB
- Stars: 492
- Watchers: 22
- Forks: 51
- Open Issues: 44
-
Metadata Files:
- Readme: README.md
- Changelog: Changelog.md
- License: LICENSE
Awesome Lists containing this project
- awesome-game-engine-dev - NAppGUI - Professional, well documented SDK to build desktop apps. (Libraries / C)
README
# NAppGUI
Cross-Platform C SDK. Build portable desktop applications for Windows, macOS and Linux, using just C.![NAppGUI Stack](https://nappgui.com/img/start/nappgui_stack.png)
## Quick start in Windows
### Prerequisites
- [Visual Studio](https://visualstudio.microsoft.com/vs/)
- [CMake](https://cmake.org/download/)### Open the Developer Command Prompt
```
git clone --depth 1 https://github.com/frang75/nappgui_src.git
cd nappgui_src
cmake -S . -B build
cmake --build build --config Debug// Run examples in 'demo' and 'howto' folders
.\build\Debug\bin\Die.exe
.\build\Debug\bin\Bricks.exe
.\build\Debug\bin\Products.exe
.\build\Debug\bin\Col2dHello.exe
.\build\Debug\bin\GuiHello.exe
...
```
![Running demo project in Windows](https://nappgui.com/img/start/run_demo_windows.png)## Quick start in macOS
### Prerequisites
- [Xcode](https://developer.apple.com/xcode/)
- [CMake](https://cmake.org/download/)### Open the Terminal
```
git clone --depth 1 https://github.com/frang75/nappgui_src.git
cd nappgui_src
cmake -G Xcode -S . -B build
cmake --build build --config Debug// Run examples in 'demo' and 'howto' folders
./build/Debug/bin/Die.app/Contents/MacOS/Die
./build/Debug/bin/Bricks.app/Contents/MacOS/Bricks
./build/Debug/bin/Products.app/Contents/MacOS/Products
./build/Debug/bin/Col2dHello.app/Contents/MacOS/Col2dHello
./build/Debug/bin/GuiHello.app/Contents/MacOS/GuiHello
...
```
![Running demo project in macOS](https://nappgui.com/img/start/run_demo_macos.png)## Quick start in Linux
### Prerequisites
```
// Development tools
sudo apt-get install build-essential
sudo apt-get install git
sudo apt-get install cmake// Development libraries
sudo apt-get install libgtk-3-dev // Mandatory Gui Toolkit
sudo apt-get install libcurl4-openssl-dev // For HTTP support
sudo apt-get install libwebkit2gtk-4.1-dev // For WebView support
sudo apt-get install mesa-common-dev libeg1-mesa-dev // For OpenGL support
```
### Open the Terminal
```
git clone --depth 1 https://github.com/frang75/nappgui_src.git
cd nappgui_src
cmake -S . -B build -DCMAKE_BUILD_TYPE=Debug
cmake --build build -j 4// Run examples in 'demo' and 'howto' folders
./build/Debug/bin/Die
./build/Debug/bin/Bricks
./build/Debug/bin/Products
./build/Debug/bin/Col2dHello
./build/Debug/bin/GuiHello
...
```
![Running demo project in Linux](https://nappgui.com/img/start/run_demo_linux.png)## More info
- [NAppGUI Quick Start](https://nappgui.com/en/start/quick.html)
- [NAppGUI Hello World](https://nappgui.com/en/start/hello.html)
- [Create a new project](https://nappgui.com/en/guide/newprj.html)
- [About Portability](https://nappgui.com/en/guide/win_mac_linux.html)