Waybar
Waybar copied to clipboard
compile failed with `ninja -C build`
I clone the latest git repo and just meson && ninja, but some error happened there :(
- linux kernel: 6.10.10-arch1-1
- ninja version: 1.12.1
- meson version: 1.5.1
- WM: Hyprland
FAILED: test/waybar_test
c++ -o test/waybar_test test/waybar_test.p/main.cpp.o test/waybar_test.p/config.cpp.o test/waybar_test.p/.._src_config.cpp.o -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -Wl,--start-group -lstdc++fs /usr/lib/libCatch2.a /usr/lib/libfmt.so /usr/lib/libgtkmm-3.0.so /usr/lib/libgdk-3.so /usr/lib/libz.so /usr/lib/libharfbuzz.so /usr/lib/libpango-1.0.so /usr/lib/libglib-2.0.so /usr/lib/libgobject-2.0.so /usr/lib/libsigc-2.0.so /usr/lib/libpangocairo-1.0.so /usr/lib/libatkmm-1.6.so /usr/lib/libglibmm-2.4.so /usr/lib/libatk-1.0.so /usr/lib/libcairo.so /usr/lib/libcairo-gobject.so /usr/lib/libgio-2.0.so /usr/lib/libgdkmm-3.0.so /usr/lib/libgiomm-2.4.so /usr/lib/libgtk-3.so /usr/lib/libcairomm-1.0.so /usr/lib/libpangomm-1.4.so /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libjsoncpp.so /usr/lib/libspdlog.so -Wl,--end-group -pthread
/sbin/ld: test/waybar_test.p/config.cpp.o: in function `CATCH2_INTERNAL_TEST_21()':
config.cpp:(.text+0x287): undefined reference to `Catch::ITransientExpression::~ITransientExpression()'
/sbin/ld: config.cpp:(.text+0x361): undefined reference to `Catch::ITransientExpression::~ITransientExpression()'
/sbin/ld: config.cpp:(.text+0x454): undefined reference to `Catch::ITransientExpression::~ITransientExpression()'
/sbin/ld: config.cpp:(.text+0x568): undefined reference to `Catch::ITransientExpression::~ITransientExpression()'
/sbin/ld: config.cpp:(.text+0x64e): undefined reference to `Catch::ITransientExpression::~ITransientExpression()'
/sbin/ld: test/waybar_test.p/config.cpp.o:config.cpp:(.text+0x76b): more undefined references to `Catch::ITransientExpression::~ITransientExpression()' follow
collect2: 错误:ld 返回 1
[135/138] Compiling C++ object waybar.p/src_modules_clock.cpp.o
ninja: build stopped: subcommand failed.
Hi @peiwithhao , it might updating of catch2 project will help you
I will try it later, i am using AUR waybar-cava-git now :), thank you for answering the question
Hi @peiwithhao , thank you for reporting. At least to me it seems the issue persist in waybar source code. Appropriate MR is created and linked with the issue
Hi @peiwithhao , appropriate issue is created to upstream catchorg/Catch2#2912
Thank you for this! :)