Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/frang75/nappgui
Cross-Platform C SDK (precompiled)
https://github.com/frang75/nappgui
c cairo cocoa cross-platform gdiplus gtk3 quartz win32
Last synced: 6 days ago
JSON representation
Cross-Platform C SDK (precompiled)
- Host: GitHub
- URL: https://github.com/frang75/nappgui
- Owner: frang75
- License: mit
- Created: 2019-06-29T12:10:08.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-26T14:08:20.000Z (almost 2 years ago)
- Last Synced: 2024-05-01T18:42:31.879Z (6 months ago)
- Topics: c, cairo, cocoa, cross-platform, gdiplus, gtk3, quartz, win32
- Language: C
- Homepage: https://nappgui.com
- Size: 361 MB
- Stars: 79
- Watchers: 7
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# NAppGUI
Cross-Platform C SDK. Build portable desktop applications for Windows, macOS and Linux, using just C.**This repository ONLY have headers and precompiled libraries for the most popular compilers.** The source code is in [nappgui_src](https://github.com/frang75/nappgui_src).
![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
```
(from C:\)git clone --depth 1 https://github.com/frang75/nappgui.git
cd nappgui
cmake -S ./src -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
```
(from your home dir ~/)git clone --depth 1 https://github.com/frang75/nappgui.git
cd nappgui
cmake -G Xcode -S ./src -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
sudo apt-get install libglu1-mesa-dev freeglut3-dev mesa-common-dev
sudo apt-get install libcurl4-openssl-dev
```
### Open the Terminal
```
(from your home dir ~/)git clone --depth 1 https://github.com/frang75/nappgui.git
cd nappgui
cmake -S ./src -B ./build -DCMAKE_BUILD_CONFIG=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)