Hi,
The MiXiM project asked for a "custom makefile" for the top-level
(/mixim) folder. And probably that's why I was getting the error that
I mentioned in my email below.
But after I set the build option to "Makemake" for the top-level
(/mixim), I get the following build errors:
basePhyLayer/TestGlobals.h:44:104: error: ‘class AirFrame’ has no
member named ‘getState’
In file included from basePhyLayer/TestPhyLayer.h:6:0,
from basePhyLayer/TestMacLayer.h:7,
from basePhyLayer/BasePhyTests.cc:17:
basePhyLayer/TestDecider.h: In member function ‘void
TestDecider::testRun7(int, cMessage*)’:
basePhyLayer/TestDecider.h:70:28: error: ‘class AirFrame’ has no
member named ‘getSignal’
basePhyLayer/TestDecider.h: In member function ‘simtime_t
TestDecider::processSignal(AirFrame*)’:
basePhyLayer/TestDecider.h:97:28: error: ‘class AirFrame’ has no
member named ‘getSignal’
basePhyLayer/TestDecider.h:117:46: error: no matching function for
call to ‘DeciderToPhyInterface::sendUp(AirFrame*&, DeciderResult*)’
basePhyLayer/TestDecider.h:117:46: note: candidate is:
../src/base/phyLayer/DeciderToPhyInterface.h:84:22: note: virtual void
DeciderToPhyInterface::sendUp(MiximAirFrame*, DeciderResult*)
../src/base/phyLayer/DeciderToPhyInterface.h:84:22: note: no known
conversion for argument 1 from ‘AirFrame*’ to ‘MiximAirFrame*’
basePhyLayer/TestGlobals.h: In member function ‘virtual bool
AssertAirFrame::isMessage(cMessage*)’:
basePhyLayer/TestGlobals.h:45:2: warning: control reaches end of
non-void function [-Wreturn-type]
make[1]: *** [../out/gcc-debug/tests/basePhyLayer/BasePhyTests.o] Error 1
make: *** [tests_dir] Error 2
**** Build Finished ****
Any clues?
Thanks,
Nauman