LoRaWAN The LoRa Alliance first defined the LoRaWAN standard with the objective of creating a medium access scheme and a set of network management policies that leverage the properties of […]
Low-power wide-area network (LPWAN). These networks use low-power radio signals, such as those in the sub-1 GHz range, to send small amounts of data over a large area. LPWANs are […]
SUMO has different tools for creating and customizing road networks and traffic flows and traffic signals. In this article, we will use some of those tools available in SUMO to […]
Spring Mobility Spring mobility is nothing but making a node to move in a path similar to that of an expanded circular coil spring. From the top or bottom point […]
Mobility Models of ns-3. The default ns-3 installation will contain the following mobility models. MobilityModel Subclasses ConstantPosition ConstantVelocity ConstantAcceleration GaussMarkov Hierarchical RandomDirection2D RandomWalk2D RandomWaypoint SteadyStateRandomWaypoint Waypoint PositionAllocator Position allocators […]
Aquatic Animal Tracking: Tracking marine animals can be extremely tricky due to GPS signals not functioning well underwater[1]. Underwater acoustic communication is a technique of sending and receiving messages below […]
@CharlesPandian wrote:
If you are doing any change in any of the files of ns2, then don’t compile it separately. Instead of it, just change to the ns-allinone-2.xxns-2.xx directory and run make. It will use the Makefile and compile the whole project and create a new binary version of ns2 in the same directory. After that, you can install the new version of ns2 into appropriate path using “make install” command. Some times you have to run the script “configure” before make. Run the commands as follows.
#./configure (dot slash configure)
– the “configure” step is required only once and may not necessary if you are working on a previous installation of ns2.
#make
#make install
Hai charles, i’ve managed to compile my code. U’re very right. I don’t need the g++ command to compile my code. All it needs is just the ‘make’ command. Thanks a lot for your guidance.
Thank you for the suggestions, however FYI i’ve done all the steps that u’ve suggested but my problems remain unresolved. The only temporary solution that i’m working now is to put all the header files into usr/include/ folder to make sure that gcc compiler find the #include header files. But, this solution is not effective since i’ve to make sure that all the sub-header files’ links are pointing on that folder to remove dependencies.
It seems that i need to set something to gcc compiler so it can detect all the header files automatically, but i don’t know how or where to set. Anybody knows about setting up the gcc compiler, please let me know.
Thank you.