[ndnSIM] Error while Building ndnSIM

Cesar Ghali cghali at uci.edu
Fri Feb 20 14:15:03 PST 2015


Thank you Spyros, that was the problem. I forked ndnSIM repo last week and now ndn-cxx is more advance than my ndnSIM repo. I managed to get them both in synch and complication was successful.

Thanks,
Cesar

-- 
PGP Key: http://www.cesarghali.info/contact.html
PGP Key ID: 0x455D8052

> On Feb 20, 2015, at 1:47 PM, Spyridon (Spyros) Mastorakis <spiros.mastorakis at gmail.com> wrote:
> 
> Hello,
> 
> please make sure that you are using the ndn-cxx library and ndnSIM including the latest commit available on github.
> 
> --
> Spyridon (Spyros) Mastorakis
> Personal Website: http://cs.ucla.edu/~mastorakis/
> Internet Research Laboratory
> PhD Computer Science
> UCLA
> 
> 
> 
> 
>> On Feb 20, 2015, at 1:40 PM, Cesar Ghali <cghali at uci.edu> wrote:
>> 
>> Hi all,
>> 
>> I have been struggling with this for a while. I have Ubuntu 14.04, g++ 4.8.2, boost 1.54 and I’m following the instructions on how to install and build ndnSIM but I’m getting many of the following error while compiling:
>> 
>> In file included from ./ns3/ndnSIM/model/ndn-app-face.hpp:24:0,
>>                 from ./ns3/ndnSIM/apps/ndn-app.hpp:24,
>>                 from ../src/ndnSIM/examples/ndn-custom-apps/hijacker.hpp:25,
>>                 from ../src/ndnSIM/examples/ndn-custom-apps/hijacker.cpp:22:
>> ./ns3/ndnSIM/NFD/daemon/face/local-face.hpp: In member function ‘bool nfd::LocalFace::decodeAndDispatchInput(const ndn::Block&)’:
>> ./ns3/ndnSIM/NFD/daemon/face/local-face.hpp:156:88: error: no matching function for call to ‘ndn::nfd::LocalControlHeader::wireDecode(const ndn::Block&, bool, bool)’
>>               this->isLocalControlHeaderEnabled(LOCAL_CONTROL_FEATURE_NEXT_HOP_FACE_ID));
>> 
>> -> task in 'ndn-custom-apps' failed (exit status 1):
>> 	{task 139918401716496: cxx hijacker.cpp -> hijacker.cpp.4.o}
>> ['/usr/bin/g++', '-std=c++0x', '-std=c++11', '-O0', '-ggdb', '-g3', '-Wall', '-Wno-error=deprecated-declarations', '-fstrict-aliasing', '-Wstrict-aliasing', '-pthread', '-fPIC', '-I.', '-I..', '-Isrc/ndnSIM', '-I../src/ndnSIM', '-Isrc/ndnSIM/NFD', '-I../src/ndnSIM/NFD', '-Isrc/ndnSIM/NFD/daemon', '-I../src/ndnSIM/NFD/daemon', '-Isrc/ndnSIM/NFD/core', '-I../src/ndnSIM/NFD/core', '-I/usr/include/libxml2', '-I/usr/local/include', '-I/usr/include', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE_SYS_IOCTL_H=1', '-DHAVE_IF_NETS_H=1', '-DHAVE_NET_ETHERNET_H=1', '-DHAVE_PACKET_H=1', '-DHAVE_IS_DEFAULT_CONSTRUCTIBLE=1', '-DHAVE_IS_MOVE_CONSTRUCTIBLE=1', '-DHAVE_CXX_OVERRIDE=1', '-DHAVE_NDN_CXX=1', '-DHAVE_SQLITE3=1', '-DHAVE_IF_TUN_H=1', '-DHAVE_GSL=1', '../src/ndnSIM/examples/ndn-custom-apps/hijacker.cpp', '-c', '-o', 'src/ndnSIM/examples/ndn-custom-apps/hijacker.cpp.4.o']
>> 
>> I might have missed installing or configuring something, any ideas?
>> 
>> Thanks,
>> Cesar
>> 
>> -- 
>> PGP Key: http://www.cesarghali.info/contact.html
>> PGP Key ID: 0x455D8052
>> 
>> _______________________________________________
>> 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/20150220/de138c69/attachment.html>


More information about the ndnSIM mailing list