1.4 KiB
Fltk https://www.fltk.org/ https://www.youtube.com/watch?v=6W3o8UGW2aM Initialization
-
Running without Installation https://www.youtube.com/watch?v=6W3o8UGW2aM first download source tar.gz from their official website download section https://www.fltk.org/software.php https://www.mediafire.com/file/pyfosfvge4did2p/fltk-1.3.9-source.tar.gz/file fltk-1.3.9-source.tar.gz https://files.catbox.moe/grylch.gz Create a project folder and extract Then extract that zip file in
project_folder/fltp-xxx/go to that directory and compile using make.make. Now go back to project root Linking header path and lib path: Libraries of x11 are found in/usr/lib/x86_64-linux-gnuor/usr/libg++ main.cpp -Ifltk-1.3.9 -Lfltk-1.3.9/lib -lfltk -lX11 -lXfixes -lXext -lXft -lXrender -lfontconfig -lXcursor -lXinerama -ldl -o mainHere-Irepresents header file path-Lrepresents library path-lrepresents library files-lfltkmeans file namedlibfltk.a -
Running with installation https://www.youtube.com/watch?v=yHx1h25cyvc After using
makeand before going back to project root. usesudo make installto install the compiled fltk binary. In project rootfltk-config --use-images --compile main.cppFor debugging information like--debugin gcc and g++ do this(adding-g)fltk-config --use-images --compile main.cpp -g