Skip to content

nsmle/msg-dvr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Simple Chat App in C++

Requirement

  • CMake
    • Linux
      sudo apt install cmake
    • Windows Install with choco package manager
      choco install cmake
      Or, Download CMake windows installer on here

Library

Installation Library

  • Websocketpp (Added on path lib/websocketpp - no more action)
    • asd
  • Boost (manual install)
    • Linux
      sudo apt install libboost-all-dev
      
    • Windows you can follow the installation guide on windows here

Build

  • Change working directory to {YOUR_PROJECT_PATH}/build
    - cwd for build server
    ```bash
    cd build/server
    
  • CMake Build Initialization
    • cwd for build client
    cd build/client
    • Build client
    cmake ../ 
    or
    cmake ../ -DBUILD_TYPE_SERVER=OFF 
    • Build server
  • Make & linking file
    cmake ../ -DBUILD_TYPE_SERVER=OFF

Run

Make sure, change working directory Like in step 1 on build if your current working directory in C:/path/to/YOUR_PROJECT_PATH

  • On Linux
    main.so
  • On Windows
    main.exe

Build & Run

Make sure your current working directory like [C|D]:/path/to/YOUR_PROJECT_PATH

  • Client
    • Initilize CMakeFiles
    cd build/client && cmake ../ && cd ../../
    
    • Compile source to binary file
    make -C ./build/client -s
    
  • Windows

About

A Simple Chat App in C++

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published