<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-2022-jp">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; font-family: Calibri, sans-serif; font-size: 14px; color: rgb(0, 0, 0); ">
<div>Hello.</div>
<div><br>
</div>
<div>When you install with</div>
<div>sudo make install</div>
<div>does it put the NDN-CPP libraries in your system's normal library include path?</div>
<div><br>
</div>
<div>> do my source codes need any #include other than "#include <iostream>?</div>
<div><br>
</div>
<div>You only need to include iostream if your application needs cout or other iostream functions.  </div>
<div>For includes from NDN-CPP, your application may only need to include <ndn-cpp/face.hpp>. For example, see the following test code:</div>
<div><a href="https://github.com/named-data/ndn-cpp/blob/master/tests/test-get-async.cpp">https://github.com/named-data/ndn-cpp/blob/master/tests/test-get-async.cpp</a></div>
<div><br>
</div>
<div>Thanks,</div>
<div>- Jeff T</div>
<div><br>
</div>
<div>On 2/18/14 12:04 AM, "Daiki Kaneko" <<a href="mailto:kaneko_daiki@y.akane.waseda.jp">kaneko_daiki@y.akane.waseda.jp</a>> wrote:</div>
<div><br>
</div>
<blockquote id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style="BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;">
<div>Hello again, Jeff.</div>
<div><br>
</div>
<div>Oh, you plan to release another implementation of NDN.</div>
<div>I want some result in about a month (not complete one is OK).</div>
<div><br>
</div>
<div>It is possible for us to write source codes in C++. We can study that</div>
<div>if we don't understand it enough.</div>
<div><br>
</div>
<div>I have a question about compiling source codes using CCL API for C++.</div>
<div>I reached a hypothesis that, when compiling (& linking), I can use the</div>
<div>command below:</div>
<div><br>
</div>
<div>     g++ my_source_code_1.cpp [my_source_code_2.cpp ...] <ndn-cpp-0.2</div>
<div>dir>/.libs/libndn-cpp.a</div>
<div><br>
</div>
<div>Is that right?</div>
<div>And do my source codes need any #include other than "#include <iostream>?"</div>
<div><br>
</div>
<div>--</div>
<div>Park Lab., Dept. of Comp. Sci. and Eng., Waseda Univ.</div>
<div>Daiki Kaneko  (金子 大希)</div>
<div><a href="mailto:kaneko_daiki@y.akane.waseda.jp">kaneko_daiki@y.akane.waseda.jp</a></div>
<div><br>
</div>
<div><br>
</div>
<div>2014-02-17 6:49 GMT+09:00 Burke, Jeff <<a href="mailto:jburke@remap.ucla.edu">jburke@remap.ucla.edu</a>>:</div>
<blockquote id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style="BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;">
<div>Apologies for the long-delayed reply.</div>
<div><br>
</div>
<div>We are a little bit away from announcing a new forwarder project that</div>
<div>should make your application much easier to attempt (in C++). It will be</div>
<div>easier to deal with for this sort of thing than NDNx.  What is your</div>
<div>timeline for the project?</div>
<div><br>
</div>
<div>Regarding the chat, I would encourage this to be written in the C++,</div>
<div>Python, or Javascript APIs rather than C.  It will be easier to write and</div>
<div>debug.  Is this a possibility?</div>
<div><br>
</div>
<div>best,</div>
<div>Jeff</div>
<div><br>
</div>
<div><br>
</div>
<div>On 2/4/14, 12:40 AM, "Daiki Kaneko" <<a href="mailto:kaneko_daiki@y.akane.waseda.jp">kaneko_daiki@y.akane.waseda.jp</a>> wrote:</div>
<div><br>
</div>
<blockquote id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style="BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;">
<div>Thanks for your reply, Jeff.</div>
<div><br>
</div>
<div>Now I plan to develop an application software in C.</div>
<div>The application needs</div>
<div>- to produce new interest packets based on received interest packets ,and</div>
<div>- to modify some PIT entries.</div>
<div>I want to add these features to normal NDN nodes.</div>
<div><br>
</div>
<div>In addition, one of my peers ( <a href="mailto:ryo-iwane-ryo923@akane.waseda.jp">
ryo-iwane-ryo923@akane.waseda.jp</a> )</div>
<div>wants to make a chat program.</div>
<div>The program is different from ndnChat, in that:</div>
<div>- There is no chat rooms.</div>
<div>- There will be a manager node, which manages users' IDs.</div>
<div>- The manager will return a content name prefix, which represents each</div>
<div>user in content names of his/her messages.</div>
<div>- The queries to the manager will be done by interest packets.</div>
<div><br>
</div>
<div>I have seen the reference for NDNx C (</div>
<div><a href="http://named-data.net/doc/0.2/ccode/html/index.html">http://named-data.net/doc/0.2/ccode/html/index.html</a> ), but frankly</div>
<div>speaking, I don't understand what to do even after seeing the</div>
<div>reference.</div>
<div><br>
</div>
<div>--</div>
<div>Park Lab., Dept. of Comp. Sci. and Eng., Waseda Univ., Japan</div>
<div>Daiki Kaneko  (金子 大希)</div>
<div><a href="mailto:kaneko_daiki@y.akane.waseda.jp">kaneko_daiki@y.akane.waseda.jp</a></div>
<div><br>
</div>
<div><br>
</div>
<div>2014-02-02 Burke, Jeff <<a href="mailto:jburke@remap.ucla.edu">jburke@remap.ucla.edu</a>>:</div>
<blockquote id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style="BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;">
<div><br>
</div>
<div>Hi Daiki,</div>
<div><br>
</div>
<div>Thanks for your interest!</div>
<div><br>
</div>
<div>There are a few different libraries for NDN development right now:</div>
<div><br>
</div>
<div>Included in the NDNx package are a C library and Java library, which are</div>
<div>older and do not follow the CCL API.  These are based on the original</div>
<div>CCNx</div>
<div>libraries (of which NDNx is a fork) and will be deprecated. However, you</div>
<div>could use these for application development of simple applications - and</div>
<div>the apps in the NDNx distribution use them.</div>
<div><br>
</div>
<div>The NDN-CCL is an emerging set of libraries for general purpose</div>
<div>application development that have the advantage of being largely wire</div>
<div>format independent but simpler than the NDNx Java library. They will be</div>
<div>supported into the future as the codebase evolves.  There is a C++</div>
<div>library, a Python library, and a Javascript library, referred to here:</div>
<div>         <a href="http://named-data.net/codebase/platform/">http://named-data.net/codebase/platform/</a></div>
<div>For the CCL, we also have a preliminary but incomplete Java library -</div>
<div><a href="https://github.com/named-data/jndn">https://github.com/named-data/jndn</a>.</div>
<div><br>
</div>
<div>All of the libraries (NDNx C and Java, NDN-CCL C++, Javascript, Python</div>
<div>and</div>
<div>eventually Java) work with the NDNx forwarder (ndnd).  So you can take</div>
<div>your pick.  There are also other libraries that we use for development,</div>
<div>but I would stick with these for simplicity.  Example code for serving</div>
<div>files can be found in these projects:</div>
<div><a href="https://github.com/named-data/NDNFS">https://github.com/named-data/NDNFS</a></div>
<div>  and  <a href="https://github.com/named-data/ChronoShare">https://github.com/named-data/ChronoShare</a>.</div>
<div><br>
</div>
<div>I hope this helps. Please let us know more about your language</div>
<div>preferences</div>
<div>and we can point you to some good starting places.</div>
<div><br>
</div>
<div>Jeff</div>
<div><br>
</div>
<div><br>
</div>
<div>On 1/30/14, 11:51 PM, "Daiki Kaneko" <<a href="mailto:kaneko_daiki@y.akane.waseda.jp">kaneko_daiki@y.akane.waseda.jp</a>></div>
<div>wrote:</div>
<div><br>
</div>
<blockquote id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style="BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;">
<div>Hello, all.</div>
<div><br>
</div>
<div>I would like to develop and run an application program over NDN, using</div>
<div>NDNx.</div>
<div>I built NDNx, and succeeded to put a file in a repository, and to let</div>
<div>a colleague retrieve the file.</div>
<div><br>
</div>
<div>However, when it comes to develop an application software that runs on</div>
<div>NDNx, I don't know what to do at all.</div>
<div>I found "NDN Common Client Libraries API"</div>
<div>(<a href="http://named-data.net/codebase/platform/documentation/ndn-ccl-api/">http://named-data.net/codebase/platform/documentation/ndn-ccl-api/</a> ),</div>
<div>and I think I can use this API to develop a program running on NDNx.</div>
<div>Is it right?</div>
<div>Even if it's right, the question is still remaining: how to run my</div>
<div>program?</div>
<div><br>
</div>
<div>Besides, I wonder why the ndnChat program (in /apps directory) is</div>
<div>written in Java, though the API supports only C++, JS, and Python,</div>
<div>and,</div>
<div>"Function and class documentation" is available only for C, C++, and JS</div>
<div>?</div>
<div><br>
</div>
<div>--</div>
<div>Dept. of Comp. Sci. and Eng., Waseda Univ., Japan</div>
<div>Daiki Kaneko  (金子 大希)</div>
<div><a href="mailto:kaneko_daiki@y.akane.waseda.jp">kaneko_daiki@y.akane.waseda.jp</a></div>
<div>_______________________________________________</div>
<div>Ndn-interest mailing list</div>
<div><a href="mailto:Ndn-interest@lists.cs.ucla.edu">Ndn-interest@lists.cs.ucla.edu</a></div>
<div><a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest">http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest</a></div>
</blockquote>
<div><br>
</div>
</blockquote>
</blockquote>
<div><br>
</div>
</blockquote>
<div>_______________________________________________</div>
<div>Ndn-interest mailing list</div>
<div><a href="mailto:Ndn-interest@lists.cs.ucla.edu">Ndn-interest@lists.cs.ucla.edu</a></div>
<div><a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest">http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest</a></div>
<div><br>
</div>
</blockquote>
</body>
</html>