Closed anakojm closed 1 year ago
Hello @anakojm, from what I've read, you need to add -pthread
to the gcc options in the Makefile.
diff --git a/Makefile b/Makefile
index 5922e9a..6d6a24d 100644
--- a/Makefile
+++ b/Makefile
@@ -14,7 +14,7 @@ out_path = ./out
binary = touchcursor
# LIBS = -lm
cc = gcc
-cflags = -g -Wall
+cflags = -pthread -g -Wall
# All .h files
headers = $(wildcard $(src_path)/*.h)
# All .c files, excluding test.c
I'm not sure why it worked before for me and others, but it doesn't seem to hurt anything to have that flag present. I've updated the make file if you would like to simply git pull
.
I pulled but I am still getting the same error, even with the pthread flag
I found a patch that work that I'll submit in a PR
Nice catch. #65 has been merged.
Hi, I am trying to compile touchcursor but I get the following error:
I am on azerty, debian and sway. Tell me if you need more info.
(note that this is not a duplicate of #35)