commit | 3d85090003bd3918b0c0263636847c8840e4cfe1 | [log] [tgz] |
---|---|---|
author | Varun Patil <varunpatil@ucla.edu> | Mon Nov 23 12:19:14 2020 +0530 |
committer | Varun Patil <varunpatil@ucla.edu> | Mon Nov 23 12:23:16 2020 +0530 |
tree | 3960f65eec8f6eb600906c7acb36310759cdf57a | |
parent | 9c7e3f9ae0251d3c4af398e1ed35b25ebc6d668e [diff] |
build: reanimate the dead Fix build with ndn-cxx 0.7.1 and ChronoSync 0.5.3 * Adapt to new API * Upgrade to Qt5 * Several other bugs Refs: #4563, #4087 Change-Id: Ic55d687caade08f557f9b9ec3e9569bc96798710
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).
Install MacPorts, if not yet installed (http://www.macports.org/), configure NDN ports repository and install NFD if you don't have it yet.
sudo port install nfd sudo nfd-start
Install ChronoChat dependencies
sudo port install pkgconfig protobuf-cpp boost qt4-mac
Fetch source code with submodules
git clone --recursive git://github.com/named-data/ChronoChat
If you already cloned repository, you can update submodules this way:
git submodule update --init
Configure and install ChronoSync
cd ChronoChat/ChronoSync ./waf configure ./waf sudo ./waf install
Configure and build ChronoChat
cd .. PKG_CONFIG_PATH=/opt/local/lib/pkgconfig:/usr/local/lib/pkgconfig:/usr/lib/pkgconfig ./waf configure ./waf
Congratulations! build/ChronoChat.app is ready to use (on a Mac).
Configure NDN PPA repository and install NFD if you don't have it yet.
sudo apt-get install nfd
Install ChronoChat dependencies
sudo apt-get install libprotobuf-dev protobuf-compiler libevent-dev libcrypto++-dev sudo apt-get install libboost-all-dev sudo apt-get install qt5-default
Fetch source code with submodules
git clone --recursive git://github.com/named-data/ChronoChat
If you already cloned repository, you can update submodules this way:
git submodule update --init
Configure and install ChronoSync
cd ChronoChat/ChronoSync ./waf configure ./waf sudo ./waf install sudo ldconfig
Configure and build ChronoChat
cd .. ./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
.