Team-Network-Lab01-Game-02 / Lab01_CS494_Racing_Arena

[CS494][Internetworking Protocols][Lab01][Racing Arena][1751108][Ho Minh Tri][1751116][Pham Minh Tuan][1751119][Nguyen Thanh Tung]
0 stars 0 forks source link

How to run client executable : ./client

How to compile client executable

  1. Install dependency Qt gui widget toolkit: For linux, 'sudo apt get qt5-default'
  2. Qt comes with a 'qmake' binary:
    • This qmake binary is used to make the Makefile for the project, using the 'client.pro' config file in the project folder.
    • The command to make Makefile is : 'qmake client.pro -o Makefile'
  3. The command 'make' to compile the project, using the Makefile from (2)

You can test run server-client by: './server 9000 && ./client' *9000 is the port number, client by default use 9000 as port number of server.

Repository Guide

root/doc/

root/include/

root/defs/

root/main_server.cpp

root/main_client.cpp

root/server

root/client