Thanks for your reply
but it didn't solve my problem. I added
#include "SNRThresholdDecider.h" to the DeciderTest.cc but again I get exactly same error. I think the problem should come from the "SNRThresholdDecider.h" itself as error says.
Moreover, as you said I disabled tests build, it didn't work either :(
I get the following error:
**** Build of configuration gcc-debug for project MiXiM ****
make MODE=debug CONFIGNAME=gcc-debug all
cd tests/radioState && make all
make[1]: Entering directory `/c/Users/src/omnetpp-4.2.2/samples/MiXiM/tests/radioState'
g++ -c -g -Wall -I/usr/include -fno-stack-protector -DXMLPARSER=libxml -DWITH_PARSIM -DWITH_NETBUILDER -I../../src/base/modules -I../../src/base/phyLayer -I../../src/base/connectionManager -I../../src/base/messages -I../../src/base/utils -I../testUtils -I. -Ic:/Users/src/omnetpp-4.2.2/include -o ../../out/gcc-debug/tests/radioState/TestPhyUtils.o TestPhyUtils.cc
g++ -Wl,--enable-auto-import -shared-libgcc -L/usr/bin -L/usr/lib -Wl,-rpath,c:/Users/src/omnetpp-4.2.2/lib -Wl,-rpath,. -o ../../out/gcc-debug/tests/radioState/radioState.exe ../../out/gcc-debug/tests/radioState/TestPhyUtils.o -Wl,--no-as-needed -L../../out/gcc-debug/src/base -L../../out/gcc-debug/tests/testUtils -L../../out/gcc-debug/tests/power/utils -L../../out/gcc-debug/src/modules -lmiximbase -lmiximmodules -lmiximtestUtils -Wl,-rpath,`abspath ../../out/gcc-debug/src/base` -Wl,-rpath,`abspath ../../out/gcc-debug/tests/testUtils` -Wl,-rpath,`abspath ../../out/gcc-debug/tests/power/utils` -Wl,-rpath,`abspath ../../out/gcc-debug/src/modules` -L"c:/Users/src/omnetpp-4.2.2/lib/gcc" -L"c:/Users/src/omnetpp-4.2.2/lib" -loppmaind -u _cmdenv_lib -Wl,--no-as-needed -loppcmdenvd -loppenvird -loppsimd -lwsock32 -lstdc++
c:/users/src/omnetpp-4.2.2/mingw/bin/../lib/gcc/mingw32/4.6.1/../../../../mingw32/bin/ld.exe: cannot find -lmiximbase
make[1]: Leaving directory `/c/Users/src/omnetpp-4.2.2/samples/MiXiM/tests/radioState'
c:/users/src/omnetpp-4.2.2/mingw/bin/../lib/gcc/mingw32/4.6.1/../../../../mingw32/bin/ld.exe: cannot find -lmiximmodules
c:/users/src/omnetpp-4.2.2/mingw/bin/../lib/gcc/mingw32/4.6.1/../../../../mingw32/bin/ld.exe: cannot find -lmiximtestUtils
collect2: ld returned 1 exit status
make[1]: *** [../../out/gcc-debug/tests/radioState/radioState.exe] Error 1
make: *** [tests__radioState_dir] Error 2
**** Build Finished ****
On Monday, May 21, 2012 1:11:14 PM UTC+8, Michael wrote:
try to disable the tests build, or add following include in DeciderTest.cc: #include "SNRThresholdDecider.h"