robiot / xclicker

XClicker - Fast gui autoclicker for x11 linux desktops
https://xclicker.xyz
GNU General Public License v3.0
457 stars 43 forks source link

Kylin-Desktop-V10-SP1 systemctl building error #72

Closed MoHa01234 closed 1 year ago

MoHa01234 commented 1 year ago

hello "I encountered some errors while compiling and installing the software, and I don't know how to resolve them.". Is there any troubleshooting solution that can be tried? thank! CPU:kirin990 kernel:4.19.71-14-kr990

building output: kylin@kylin-W515-PGUV-WBY0:~/Download/xclicker-1.4.0$ sudo make release Build dir is already made ninja install -C "build/release" ninja: Entering directory `build/release' [1/4] Compiling C object 'src/25a6634@@xclicker@exe/xclicker-app.c.o'. FAILED: src/25a6634@@xclicker@exe/xclicker-app.c.o cc -Isrc/25a6634@@xclicker@exe -Isrc -I../../src -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -O3 -Wno-incompatible-pointer-types -pthread -MD -MQ 'src/25a6634@@xclicker@exe/xclicker-app.c.o' -MF 'src/25a6634@@xclicker@exe/xclicker-app.c.o.d' -o 'src/25a6634@@xclicker@exe/xclicker-app.c.o' -c ../../src/xclicker-app.c ../../src/xclicker-app.c: In function ‘xclicker_app_init’: ../../src/xclicker-app.c:13:31: error: parameter name omitted 13 | static void xclicker_app_init(XClickerApp /app*/) | ^~~~ [2/4] Compiling C object 'src/25a6634@@xclicker@exe/settings.c.o'. ninja: build stopped: subcommand failed. make: *** [Makefile:44:release] error 1

robiot commented 1 year ago

It might be because your gcc is on an old version.? Update it and try again.

robiot commented 1 year ago

Closing due to inactivity. Updating gcc should fix the problem.