[ndnSIM] NDNSIM Car2Car Compilation Error

Spyridon (Spyros) Mastorakis mastorakis at CS.UCLA.EDU
Mon Feb 8 09:21:58 PST 2016

Hi Bengi,

the specific examples are based on a customized and old version of ndnSIM. I do not think that this version is available anymore.

If you want to run these examples you will have to modify them and make them work with the latest version of ndnSIM. However, it is not clear to me what changes are needed.

Another solution would be to write your own simulation scenarios and modify the latest version of ndnSIM if needed.

Hope that this helps.

Spyridon (Spyros) Mastorakis
Personal Website: http://cs.ucla.edu/~mastorakis/ <http://cs.ucla.edu/~mastorakis/>
Internet Research Laboratory
Computer Science Department

> On Feb 3, 2016, at 5:57 PM, bengi aygün <aygunbengi at gmail.com> wrote:
> Dear All,
> Thank you very much to provide this comprehensive open source toolbox. I am trying to run scenarios/car-relay.cc provided in https://github.com/cawka/ndnSIM-nom-rapid-car2car <https://github.com/cawka/ndnSIM-nom-rapid-car2car> . I am having an error for the  extensions/ndn-v2v-net-device-face.h as  fatal error: ns3/ndn-header.h: No such file or directory.
>  I tried the followings:
> - Defining all path as  #include "ndnSIM/model/ns3/ndn-header.h"
> - Installing ndnSIM in both the same directory with and different than ns-3's directory
> - Building car-relay.cc in ndnSIM/scratch and also in its own project folder
> The same issue is asked on April 2013 by Safdar Hussain Bouk but there was no reply. Thank you very much for time.
> bengi at bengi-VirtualBox:~/Desktop/ndnSIM/ns-3$ ./waf
> Waf: Entering directory `/home/bengi/Desktop/ndnSIM/ns-3/build'
> [1161/2256] Compiling scratch/ndn-v2v-net-device-face.cc
> In file included from ../scratch/ndn-v2v-net-device-face.cc:22:0:
> ../scratch/ndn-v2v-net-device-face.h:28:28: fatal error: ns3/ndn-header.h: No such file or directory
>  #include "ns3/ndn-header.h"
>                             ^
> compilation terminated.
> Waf: Leaving directory `/home/bengi/Desktop/ndnSIM/ns-3/build'
> Build failed
>  -> task in 'ndn-v2v-net-device-face' failed (exit status 1): 
>     {task 140632244358288: cxx ndn-v2v-net-device-face.cc -> ndn-v2v-net-device-face.cc.1.o}
> ['/usr/bin/g++', '-std=c++0x', '-std=c++11', '-O3', '-g', '-Wall', '-Wno-error=deprecated-declarations', '-fstrict-aliasing', '-Wstrict-aliasing', '-march=native', '-fstrict-overflow', '-pthread', '-I.', '-I..', '-Ins3/ndnSIM/NFD', '-I../ns3/ndnSIM/NFD', '-Isrc/ndnSIM/NFD/core', '-I../src/ndnSIM/NFD/core', '-Isrc/ndnSIM/NFD/daemon', '-I../src/ndnSIM/NFD/daemon', '-Isrc/ndnSIM/NFD/rib', '-I../src/ndnSIM/NFD/rib', '-Ins3/ndnSIM', '-I../ns3/ndnSIM', '-I/usr/include/libxml2', '-I/usr/include', '-DNS3_BUILD_PROFILE_OPTIMIZED', '-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_NOTHROW_MOVE_CONSTRUCTIBLE=1', '-DHAVE_IS_NOTHROW_MOVE_ASSIGNABLE=1', '-DHAVE_CXX_FRIEND_TYPENAME=1', '-DHAVE_CXX_OVERRIDE_FINAL=1', '-DHAVE_PTHREAD=1', '-DHAVE_SQLITE3=1', '-DHAVE_IF_TUN_H=1', '-DHAVE_GSL=1', '-DHAVE_SQLITE3=1', '-DHAVE_LIBXML2=1', '../scratch/ndn-v2v-net-device-face.cc', '-c', '-o', '/home/bengi/Desktop/ndnSIM/ns-3/build/scratch/ndn-v2v-net-device-face.cc.1.o']
> Best,
> Bengi
> _______________________________________________
> 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/20160208/20fa0eb4/attachment.html>

More information about the ndnSIM mailing list