Ajatt-Tools / gd-tools

🍣 A set of tools to enhance GoldenDict.
https://tatsumoto.neocities.org/blog/setting-up-goldendict#gd-tools
GNU General Public License v3.0
31 stars 5 forks source link

Compilation error on Manjaro KDE (fatal error) #12

Closed Exponent4806 closed 1 year ago

Exponent4806 commented 1 year ago

GD-Tools cannot be updated in Manjaro KDE (Unstable) via "yay". The following error appears:

[36%]: cache compiling.release tests/tests_main.cpp /usr/bin/gcc -c -m64 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -Werror -O2 -std=c++23 -include precompiled.h -I build/.objs/tests/linux/x86_64/release/src/cxx -isystem /home/m/.xmake/packages/c/cpr/1.10.3/bdfe1ef63fba49f08efa4ef72019f9dd/include -DNDEBUG -o build/.objs/tests/linux/x86_64/release/tests/tests_main.cpp.o tests/tests_main.cpp error: tests/tests_main.cpp:4:10: fatal error: catch2/catch.hpp: No such file or directory 4 | #include <catch2/catch.hpp> | ^~~~~~~~~~~~~~~~~~ compilation terminated. ==> ERROR: A failure occurred in build(). Aborting... -> error making: gd-tools-git-exit status 4 -> Failed to install the following packages. Manual intervention is required: gd-tools-git - exit status 4

tatsumoto-ren commented 1 year ago

catch2/catch.hpp: No such file or directory

Try installing catch2 from the official repos, then run trizen -S gd-tools-git again.

Exponent4806 commented 1 year ago

Thank you ! That solved the issue!