This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
programming:gtk4 [2022/03/21 05:04] nanodano |
programming:gtk4 [2022/03/21 05:06] nanodano |
||
---|---|---|---|
Line 193: | Line 193: | ||
- | When compiling, use '' | + | When compiling, use '' |
<code bash> | <code bash> | ||
+ | # Compile app with gtk4 | ||
g++ main.cpp `pkg-config gtkmm-4.0 --cflags --libs` -std=c++20 | g++ main.cpp `pkg-config gtkmm-4.0 --cflags --libs` -std=c++20 | ||
+ | |||
+ | # Set path for shared library when running | ||
+ | LD_LIBRARY_PATH=/ | ||
</ | </ |