[ndnSIM] Error compiling ndnSIM
alexander.afanasyev at ucla.edu
Thu Feb 7 08:45:28 PST 2013
You can try to remove "mobility" from configure command.
Btw, are you using ndnSIM with customized version of NS3? Can you tell me which commits (commit hashes) for ndnSIM and NS3 you are using?
On Feb 7, 2013, at 8:31 AM, Chiara Contoli <chiara.contoli at gmail.com> wrote:
> Hi Alex,
> yesterday I have update the code of ndnSIM with which I'm currently working, with the code placed in your repo, but now when I compile I get the following error:
> In file included from ../src/ndnSIM/plugins/mobility/highway-position-allocator.cc:22:0:
> ../src/ndnSIM/plugins/mobility/highway-position-allocator.h:53:11: error: ‘UniformRandomVariable’ does not name a type
> ../src/ndnSIM/plugins/mobility/highway-position-allocator.cc: In member function ‘virtual ns3::Vector ns3::HighwayPositionAllocator::GetNext() const’:
> ../src/ndnSIM/plugins/mobility/highway-position-allocator.cc:64:23: error: ‘m_random_gap_var’ was not declared in this scope
> ../src/ndnSIM/plugins/mobility/highway-position-allocator.cc: In member function ‘virtual int64_t ns3::HighwayPositionAllocator::AssignStreams(int64_t)’:
> ../src/ndnSIM/plugins/mobility/highway-position-allocator.cc:107:3: error: ‘m_random_gap_var’ was not declared in this scope
> This is what I typed after the update:
> ./waf clean
> ./waf configure --enable-examples --enable-ndn-plugins=topology,mobility
> and after the above commands everything was ok, but then, when I typed
> I got the error above mentioned. How could i fixed that?
More information about the ndnSIM