sysboard
sysboard copied to clipboard
compile error: get_children not declared
hi, i would like to try out your osk, because it seems really simple and nice to use
i cant do that though, because when i try to compile sysboard i get these errors:
[2/15] Compiling src/main.o
[3/15] Compiling src/config_parser.o
[4/15] Linking sysboard
[5/15] Creating src/input-method-unstable-v2.h
[6/15] Creating src/virtual-keyboard-unstable-v1.h
[7/15] Creating src/input-method-unstable-v2.c
[8/15] Compiling src/input-method-unstable-v2.o
[9/15] Creating src/virtual-keyboard-unstable-v1.c
[10/15] Compiling src/virtual-keyboard-unstable-v1.o
[11/15] Compiling src/css.o
[12/15] Compiling src/key.o
[13/15] Compiling src/layout.o
src/layout.cpp: In member function 'void layout::handle_keycode(key*, const bool&)':
src/layout.cpp:129:34: error: 'get_children' was not declared in this scope; did you mean g_type_children'?
129 | for (auto& row : get_children()) {
| ^~~~~~~~~~~~
| g_type_children
src/layout.cpp:175:33: error: 'get_children' was not declared in this scope; did you mean g_type_children'?
175 | auto children = get_children();
| ^~~~~~~~~~~~
| g_type_children
make: *** [Makefile:64: src/layout.o] Error 1
im not super versed when it comes to compile errors and before i try messing around in the code, i wanted to ask
if it matters, im on void linux and compiled gtk4-layer-shell myself with meson setup -Dintrospection=true -Ddocs=false -Dvapi=false --prefix=/usr build
thank you :)
just adding onto this,
i got it to compile by commenting out the 2 code blocks containing anything related to get_children, which means i now dont have shifted symbols but oh well, it does work
i also had to manually copy libsysboard.so into /usr/lib/, else it couldnt find the library
@throwaway-squared You need the latest version of gtkmm 4.0
As for installation you should run sudo make install or temporarily run the program with LD_LIBRARY_PATH=/path/to/libsysboard sysboard
hi, i just tried compiling again for fun, i still get the same error
ive got gtkmm4-devel version 4.12.0_1 installed.
so the error probably shouldnt arise from a dependancy problem
Latest is 4.18.0-2 though, The error is most definitely a dependency problem.
oh i see, my bad
ill try with that version then
@throwaway-nolsh Any updates? I would like to close this issue..
hi, im sorry man i forgot about doing that and im currently away from my linux devices
ill write this down so i dont forget and ill comment next saturday
sorry for making you wait
okay, it compiles without issue now and gtk4-layer-shell is now available from repositories so its even easier
closing this now, thanks for your patience :)
although there does seem to be another problem now so ill open an issue for that