Terri-Fried icon indicating copy to clipboard operation
Terri-Fried copied to clipboard

[Arch Linux] segmentation fault (core dumped)

Open matteodev8 opened this issue 3 years ago • 2 comments

Got an

[1]    3206 segmentation fault (core dumped)  ./Terri-fried

After compiling on Linux.

matteodev8 avatar Dec 04 '21 09:12 matteodev8

try to remove $(RES_FILES) from the list of the files for the compiler:

diff --git a/linux/Makefile b/linux/Makefile
index 85345d7..400bdea 100644
--- a/linux/Makefile
+++ b/linux/Makefile
@@ -28,7 +28,7 @@ $(OUT_DIR):
 
 
 $(NAME): $(OBJS)
-	$(CXX) $(FLAGS) -o $(OUT_DIR)/$(NAME) $(OBJS) $(RES_FILES) $(LIBS)
+	$(CXX) $(FLAGS) -o $(OUT_DIR)/$(NAME) $(OBJS) $(LIBS)
 
 $(OBJ_DIR)/%.o: %.cpp
 	$(CXX) $(FLAGS) -c $< -o $@

a-andreyev avatar Oct 15 '22 19:10 a-andreyev

try to remove $(RES_FILES) from the list of the files for the compiler:

diff --git a/linux/Makefile b/linux/Makefile
index 85345d7..400bdea 100644
--- a/linux/Makefile
+++ b/linux/Makefile
@@ -28,7 +28,7 @@ $(OUT_DIR):
 
 
 $(NAME): $(OBJS)
-	$(CXX) $(FLAGS) -o $(OUT_DIR)/$(NAME) $(OBJS) $(RES_FILES) $(LIBS)
+	$(CXX) $(FLAGS) -o $(OUT_DIR)/$(NAME) $(OBJS) $(LIBS)
 
 $(OBJ_DIR)/%.o: %.cpp
 	$(CXX) $(FLAGS) -c $< -o $@

I created a pull request with this already incorporated

Pythone avatar Jan 18 '24 18:01 Pythone