baduhai/Koi

[BUG] Can't build in OpenSUSE Tumbleweed

Closed this issue · 1 comments

Describe the bug
When I build the Koi in OpenSUSE Tumbleweed KDE, it fails. I installed qmake and other build essentials but it happens every time I tried. In Kubuntu, I installed it normally. Am I doing something wrong?

To Reproduce
Steps to reproduce the behavior:

  1. Do the steps on the GitHub page.

Expected behavior
I expected it will be installed.

Konsole output

damsak@localhost:~/Documents/.data/Effects> git clone https://github.com/baduhai/Koi.git
Cloning into 'Koi'...
remote: Enumerating objects: 565, done.
remote: Counting objects: 100% (87/87), done.
remote: Compressing objects: 100% (48/48), done.
remote: Total 565 (delta 45), reused 73 (delta 39), pack-reused 478
Receiving objects: 100% (565/565), 559.61 KiB | 734.00 KiB/s, done.
Resolving deltas: 100% (336/336), done.

damsak@localhost:~/Documents/.data/Effects> cd Koi

damsak@localhost:~/Documents/.data/Effects/Koi> mkdir build

damsak@localhost:~/Documents/.data/Effects/Koi> cd build

damsak@localhost:~/Documents/.data/Effects/Koi/build> qmake ../src/Koi.pro
WARNING: /home/damsak/Documents/.data/Effects/Koi/src/Koi.pro:47: Unescaped backslashes are deprecated.
Project MESSAGE: Warning: unknown QT: KCoreAddons
Project MESSAGE: Warning: unknown QT: KWidgetsAddons
Project MESSAGE: Warning: unknown QT: KConfigCore

damsak@localhost:~/Documents/.data/Effects/Koi/build> make
Makefile:418: warning: overriding recipe for target 'install_target'
Makefile:408: warning: ignoring old recipe for target 'install_target'
Makefile:423: warning: overriding recipe for target 'uninstall_target'
Makefile:413: warning: ignoring old recipe for target 'uninstall_target'
/usr/bin/uic ../src/ui/about.ui -o ui_about.h
/usr/bin/uic ../src/ui/license.ui -o ui_license.h
/usr/bin/uic ../src/ui/mainwindow.ui -o ui_mainwindow.h
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_DBUS_LIB -DQT_TESTLIB_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/default -I../src -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include/QtTest -I/usr/include/QtDBus -I/usr/include -I. -I. -I../src -I. -o about.o ../src/about.cpp
In file included from ../src/about.cpp:1:
../src/headers/about.h:8:10: fatal error: KCoreAddons: No such file or directory
    8 | #include <KCoreAddons>
      |          ^~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:318: about.o] Error 1

damsak@localhost:~/Documents/.data/Effects/Koi/build> sudo make install
[sudo] password for root: 
Makefile:418: warning: overriding recipe for target 'install_target'
Makefile:408: warning: ignoring old recipe for target 'install_target'
Makefile:423: warning: overriding recipe for target 'uninstall_target'
Makefile:413: warning: ignoring old recipe for target 'uninstall_target'
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_DBUS_LIB -DQT_TESTLIB_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/default -I../src -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include/QtTest -I/usr/include/QtDBus -I/usr/include -I. -I. -I../src -I. -o about.o ../src/about.cpp
In file included from ../src/about.cpp:1:
../src/headers/about.h:8:10: fatal error: KCoreAddons: No such file or directory
    8 | #include <KCoreAddons>
      |          ^~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:318: about.o] Error 1

Desktop (please complete the following information):

  • Distro: OpenSUSE Tumbleweed
  • Version: 20220729

Additional context
Edit - Later I installed Koi using this repository. 👍🏾

Looks to me like you're missing the KCoreAddons library. Since you've managed to install it already, I'm closing this issue.