commit | 20fee4e4780b52cb62e2344a375a02cef2a1fa1f | [log] [tgz] |
---|---|---|
author | Junxiao Shi <git@mail1.yoursunny.com> | Thu Nov 16 14:11:00 2017 +0000 |
committer | Gerrit Code Review <gerrit@named-data-1.c.leproject-172903.internal> | Tue Nov 21 06:28:01 2017 -0800 |
tree | f40047a8781de47aa0912fb7daa9435c3b10f123 | |
parent | f2d9c3d455a68fd3e715ad496f4391118e003d19 [diff] |
Update git submodules * Update ChronoSync from branch 'master' - logic: disallow Interest loopback on sync prefix In ChronoSync protocol, a party keeps an outstanding sync Interest under a sync prefix that is registered by all parties including itself. ndn-cxx's Interest loopback mechanism would cause a party to receive its own sync Interest, which is undesirable. refs #3979 Change-Id: I2709bc1005e966d9fb9b27c1dfde549fb6f01041
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 sudo apt-get install libboost1.48-all-dev sudo apt-get install qt4-dev-tools
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 ccnd and configure FIB before using ChronoChat.