commit | 7676b56b9ed8839ba7c1dcfc49978c44fcbc84b6 | [log] [tgz] |
---|---|---|
author | Davide Pesavento <davidepesa@gmail.com> | Mon Dec 14 00:41:26 2020 -0500 |
committer | Davide Pesavento <davidepesa@gmail.com> | Fri Dec 18 15:01:33 2020 -0500 |
tree | 9c23f7a83e7f4de423204e85f71d5afdd2777b86 | |
parent | a24bd3ecd91763a94dfb66c74a1a18cba696e200 [diff] |
Get rid of cryptopp dependency Plus various code cleanups: * More 'auto' usage * Use 'nullptr' instead of 0 * Rename NewApp class to ChronoChatApp * Print exception info with boost::diagnostic_information() * Disable -Wdeprecated-copy and -Wredundant-tags, they trigger too many warnings in Qt headers with gcc 9 and later Change-Id: I2ea16c19be634f957b59280c704a956f083891f0
ChronoChat is a multiparty chat application that demostrates our synchronization primitive that we call ChronoSync.
Note that after you click to close ChronoChat, it will keep running on your system tray. To restore it to normal size window, you have to click on the system tray icon (normally on the upper right corner of your screen). Clicking on the dock won't work for now and is still on the to-do list (because I'm using qt for gui, not the native Cocoa framework).
On Ubuntu, configure the NDN PPA repository and install the necessary dependencies
sudo apt install nfd libndn-cxx-dev libchronosync-dev libboost-all-dev libsqlite3-dev qt5-default
Fetch source code
git clone https://github.com/named-data/ChronoChat
Configure and build ChronoChat
./waf configure ./waf
Congratulations! build/ChronoChat
is ready to use. Do not forget to start NFD and configure FIB before using ChronoChat. For ease of debugging, you can generate trusted identities in your local TPM using debug-tools/create-cert
.