[ndnSIM] NDNSIM Car2Car Compilation Error

bengi aygün aygunbengi at gmail.com
Wed Feb 3 17:57:10 PST 2016


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 . 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20160203/933e32d7/attachment.html>


More information about the ndnSIM mailing list