Error in building Mixim in OMNET++4.6

35 views
Skip to first unread message

Nacer Heithem

unread,
May 3, 2016, 7:38:05 AM5/3/16
to OMNeT++ Users
Hi all,
Trying to build MiXiM using OMNeT++ 4.6 on Ubuntu, and getting this error:

make MODE=debug CONFIGNAME=gcc-debug all 
cd src/base && make all
make[1]: entrant dans le répertoire « /home/ExemplesSimulation/mixim/src/base »
connectionManager/NicEntryDebug.cc
connectionManager/BaseConnectionManager.cc
connectionManager/ConnectionManager.cc
connectionManager/ChannelAccess.cc
connectionManager/NicEntryDirect.cc
modules/BaseWorldUtility.cc
MSGC: messages/NetwPkt.msg
modules/BaseNetwLayer.cc
modules/BaseLayer.cc
MSGC: messages/ApplPkt.msg
modules/TestApplLayer.cc
modules/BaseBattery.cc
modules/BaseModule.cc
MSGC: messages/MacPkt.msg
modules/BaseMacLayer.cc
In file included from phyLayer/MappingBase.h:14:0,
                 from modules/BaseMacLayer.h:29,
                 from modules/BaseMacLayer.cc:23:
phyLayer/Interpolation.h: In instantiation of ‘Linear<_ContainerType>::interpolated Linear<_ContainerType>::operator()(const const_iterator&, const const_iterator&, Linear<_ContainerType>::key_cref_type, Linear<_ContainerType>::const_iterator) const [with _ContainerType = std::map<SimTime, double>; Linear<_ContainerType>::interpolated = Interpolated<double>; Linear<_ContainerType>::const_iterator = std::_Rb_tree_const_iterator<std::pair<const SimTime, double> >; Linear<_ContainerType>::key_cref_type = const SimTime&]’:
modules/BaseMacLayer.cc:329:1:   required from here
phyLayer/Interpolation.h:433:50: error: ‘asInterpolated’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
    return asInterpolated(upperBound->second, true);
                                                  ^
phyLayer/Interpolation.h:433:50: note: declarations in dependent base ‘InterpolatorBase<std::map<SimTime, double> >’ are not found by unqualified lookup
phyLayer/Interpolation.h:433:50: note: use ‘this->asInterpolated’ instead
phyLayer/Interpolation.h:440:52: error: ‘asInterpolated’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
    return asInterpolated(left->second, false, false);
                                                    ^
phyLayer/Interpolation.h:440:52: note: declarations in dependent base ‘InterpolatorBase<std::map<SimTime, double> >’ are not found by unqualified lookup
phyLayer/Interpolation.h:440:52: note: use ‘this->asInterpolated’ instead
phyLayer/Interpolation.h:443:44: error: ‘asInterpolated’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
    return asInterpolated(left->second, true);
                                            ^
phyLayer/Interpolation.h:443:44: note: declarations in dependent base ‘InterpolatorBase<std::map<SimTime, double> >’ are not found by unqualified lookup
phyLayer/Interpolation.h:443:44: note: use ‘this->asInterpolated’ instead
make[1]: quittant le répertoire « /home/ExemplesSimulation/mixim/src/base »
make[1]: *** [../../out/gcc-debug/src/base/modules/BaseMacLayer.o] Erreur 1
make: *** [src__base_dir] Erreur 2
could anyone help me to solve this error??
Thanks. 

Reply all
Reply to author
Forward
0 new messages