(Le programme est déjà compilé)
(Re)Compiler le programme:
- Assurez-vous que GCC ou Clang est installé :
sudo apt-get install build-essential sudo apt-get install libncurses5-dev libncursesw5-dev
- Clonez le dépôt :
git clone https://github.com/NathanColson/grandPrix.git
- Configurez et compilez le projet :
cd grandPrix mkdir build cd build cmake -DCMAKE_BUILD_TYPE=Release .. make
Pour démarrer l'applcation:
cd build
./grandPrix -a
OU
cd build
./grandPrix -a -s 6
(L'arguement de -s est le 'speed factor')
OU
Ouvrir 2 terminaux
cd build ./grandPrix
cd build ./genTime -c 1 -t P1 -s 127.0.0.1 -p 1111 -l 57
ucrt64/mingw-w64-ucrt-x86_64-toolchain
ucrt64/mingw-w64-ucrt-x86_64-cmake
ucrt64/mingw-w64-ucrt-x86_64-ncurses
UCRT64 /c/Users/DP69SA/cpp/workspace/grandPrix/build $ ./grandPrix
UCRT64 /c/Users/DP69SA/cpp/workspace/grandPrix/build $ ./genTime -c 1 -t P1 -s 127.0.0.1 -p 1111 -l 57