[ndnSIM] [EXT] A question about ndn examples testing

Sirapop Theeranantachai sirapop741 at gmail.com
Thu Mar 21 21:26:09 PDT 2024


Hi Yitong,

You need to add an entry to the "wscript" file in the same directory you
run ./waf. You can modify the script to make it either run on "/scratch" or
"/examples".

Best,
Mark


On Thu, Mar 21, 2024 at 8:14 PM 李怿曈 Yitong LI via ndnSIM <
ndnsim at lists.cs.ucla.edu> wrote:

> Hi Junxiao,
>
> I’m confused about which directory should I store my .cpp in order to run
> it. I’ve tried putting them into "/scratch” and “/src/ndnSIM/examples”, my
> program is named “non-first.cpp”. Then I use "./waf --run ndn-first” to run
> it. An error shows that “program ’non-first’ not found;”
>
> Cheers,
> Caster
>
> 2024年3月21日 下午5:00,Junxiao Shi <shijunxiao at arizona.edu> 写道:
>
> 你通常不会收到来自 shijunxiao at arizona.edu 的电子邮件。了解这一点为什么很重要
> <https://aka.ms/LearnAboutSenderIdentification>
> Hi Yitong
>
> Try installing this package:
> sudo apt install python-is-python3
>
> Yours, Junxiao
>
> On Thu, Mar 21, 2024, 03:41 李怿曈 Yitong LI <yitongli at hkust-gz.edu.cn>
> wrote:
>
>> *External Email*
>> Hi,
>>
>> I’ve installed ndn successfully using “./waf configure --disable-python
>> --enable-examples” suggested in the documentation. When I tried running
>> example using “./waf —run=ndn-simple”, it gave an error. It says
>> “/usr/bin/env: ‘python’: No such file or directory”. I’ve exported the
>> environment variable before.
>>
>> Thanks,
>> Caster
>> _______________________________________________
>> ndnSIM mailing list
>> ndnSIM at lists.cs.ucla.edu
>> https://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim
>>
>
> _______________________________________________
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
> https://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20240321/5a75606c/attachment.html>


More information about the ndnSIM mailing list