[ndnSIM] DumbRequester

Alex Afanasyev alexander.afanasyev at ucla.edu
Sat May 3 21:05:15 PDT 2014


Hi Glai,

The problem seems to be in the way you created your scenario.  DumbRequester is not part of of ndnSIM core, so you have to specifically compile it in your scenario.  If you're using scratch/ folder for your scenarios, then instead of just putting your scenario file in there, create a folder with the scenario name, put your main scenario file in there, and also copy dumb-requester.cc into the folder.  This way dumb-requester.cc class will be compiled together with your scenario and you shouldn't get errors anymore.

---
Alex

On May 3, 2014, at 3:15 PM, Cesar Ghali <cghali at uci.edu> wrote:

> Were you able to compile ndnSIM using waf? What are the errors that you're getting?
> 
> Cesar
> 
> 
> On 05/03/2014 03:04 PM, Glai Amira wrote:
>> Hello everybody, 
>> i use the 'dumbrequester' in a scenario, but i have this message: "assert failed. cond="uid != 0", msg="Assert in TypeId::LookupByName: DumbRequester not found", file=../src/core/model/type-id.cc, line=539 terminate called without an active exception" 
>> 
>> can anyone help me???
>> 
>> and when i execute "dumbrequester" file .cc and .h, several errors was occurred, i don't know where is the problem, i don't change anything... :(
>> 
>> best regards.
>> 
>> 
>> _______________________________________________
>> ndnSIM mailing list
>> ndnSIM at lists.cs.ucla.edu
>> http://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/20140503/3e559dbc/attachment.html>


More information about the ndnSIM mailing list