Header-only no-std crossplatform simple graphics library in C
This project is distributed under the GNU AGPLv3 license. If you plan to use vlibc in your own (closed) software, embedded devices, or SaaS products without opening the source code, you need a commercial license.
To buy one, contact me here: vlibc_development@internet.ru
build command for windows_impl:
gcc test.c -lgdi32 -O3 -ffast-math -fno-math-errno -std=c99
build command for sdl_impl:
gcc test.c -lSDL2 -O3 -ffast-math -fno-math-errno -std=c99
build command for console_impl:
gcc test.c -O3 -ffast-math -fno-math-errno -std=c99
how to build arduino_impl:
- Open ArduinoIDE
- Create new project
- Copy all the files you need in project folder (sketch_test.ino, vlibc_arduino_serial.h, vlibc.h, vlibc_font.h)
- Fix the imports (just change the 10th line of vlibc_arduino_serial.h from
#include "../vlibc.h"to#include "vlibc.h") - Click "Upload" button
how to test arduino_impl:
- Open the listener.py
- Change serial port to your port
- Run the listener.py
- Enjoy :)
3d rotating gradient cube
