fltk
?
fltk
permette di programmare un interfacia grafica con C++.
sudo apt update
sudo apt install autoconf
cd /code/
git clone https://github.com/fltk/fltk.git
cd fltk
make
cd /code/
mkdir fltk-demo
cd fltk-demo
vi hello.cxx
/code/fltk-config --compile hello.cxx
g++ -I../fltk -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -pthread -DUSE_SYSTEM_LIBDECOR=0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -o hello hello.cxx -rdynamic ../fltk/lib/libfltk.a -pthread -lpthread -lm -lwayland-cursor -lwayland-client -lxkbcommon -lpangocairo-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lharfbuzz -lcairo -lX11 -ldl -lpangocairo-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lharfbuzz -lcairo -lXinerama -lXcursor -lXfixes -lXrender -lX11
./hello