sudo apt-get install libgtk-3-dev
-
make
or complile with all warning
make w
-
In file server.c : add command
#include <crypt.h>
In makefile : edit main to
main: clean clear gcc -w -g -o client client-chat.c -lgthread-2.0 `pkg-config gtk+-3.0 --cflags --libs` gcc -o server server.c -g -w -pthread -lcrypt
make server
or
make s
make run
or for debug by gdb
make debug
make clean