OMNeT++/OMNEST Bug Tracker - OMNeT++
View Issue Details
0000420OMNeT++simulation kernelpublic2011-10-21 21:142017-03-02 13:21
kyeongsoo 
 
highfeaturealways
newopen 
4.2rc1 
 
0000420: Exposure of header files for custom result filters and recorders
With the OMNeT++ version 4.2rc1, all header files issues for custom NED functions are solved, but now we have minor but similar issues for custom result filters and recorders (which is described in Sec. 4.15.4 of the User Manual).

For instance, we need "expression.h" to use "NaN" in custom recorders (like "timeavg" implementation), but the said header file is not exposed. This means you need to include directories for "$(OMNETPP_ROOT)/include/platdep" and "$(OMNETPP_ROOT)/src/common" in your Makefile.
No tags attached.
Issue History
2011-10-21 21:14kyeongsooNew Issue
2011-11-02 17:52kyeongsooNote Added: 0000584
2016-03-17 21:03ResearchNote Added: 0001192
2017-03-02 13:21andrasPrioritynormal => high

Notes
(0000584)
kyeongsoo   
2011-11-02 17:52   
In the Windows platform, not only header files but also some modules (see below) need to be exposed, which is again very similar to the situation regarding the custom NED functions prior to the current release of 4.2rc1. Below is the error messages from "make" on the Windows platform:
================================================================================
...
.tmplib3980(resultrecorders.o): In function `ZN18PercentileRecorder6finishEP13cResultFilter':
e:/Tools/omnetpp/inet-hnrl/src/util/resultrecorders.cc:113: undefined reference to `NaN'
e:/Tools/omnetpp/inet-hnrl/src/util/resultrecorders.cc:113: undefined reference to `NaN'
collect2: ld returned 1 exit status
make[1]: *** [../out/gcc-debug//src/libinet.dll] Error 1
rm networklayer/ipv4/ControlManetRouting_m.cc
make[1]: Leaving directory `/e/Tools/omnetpp/inet-hnrl/src'
make: *** [all] Error 2
================================================================================
(0001192)
Research   
2016-03-17 21:03   
i have also the same problem i am Ubuntu 10.04 sing omnet++4.4.1 and inet-hnrl 2010 and the above directories ason included in makefile