tag:blogger.com,1999:blog-8826608353769320919.post6413487939728355542..comments2024-03-25T09:55:05.166+05:30Comments on Engineering Clinic: ns3 installation in Ubuntu 16.04T S Pradeep Kumarhttp://www.blogger.com/profile/00230848934745389790noreply@blogger.comBlogger9125tag:blogger.com,1999:blog-8826608353769320919.post-25215679529039816252022-02-02T10:14:18.400+05:302022-02-02T10:14:18.400+05:30bro i already installed ns3 all operations are don...bro i already installed ns3 all operations are done. but i'll try to run hello simulator -- just eg. the error are found. what is the solution.<br />Education Expresshttps://www.blogger.com/profile/06778584410447132087noreply@blogger.comtag:blogger.com,1999:blog-8826608353769320919.post-4826554298498641062020-12-01T16:25:26.681+05:302020-12-01T16:25:26.681+05:30Give the below commands in ns-3.27
CXXFLAGS="...Give the below commands in ns-3.27<br /><br />CXXFLAGS="-Wall" ./waf configure<br />./waf -vv<br /><br />AnjanaKonehttps://www.blogger.com/profile/16310042387504299146noreply@blogger.comtag:blogger.com,1999:blog-8826608353769320919.post-61384667176827969062020-09-02T17:25:34.161+05:302020-09-02T17:25:34.161+05:30install pygccxml by this command pip install gccxm...install pygccxml by this command pip install gccxmlAshish Payalnoreply@blogger.comtag:blogger.com,1999:blog-8826608353769320919.post-79094637017965476762020-04-19T19:41:52.812+05:302020-04-19T19:41:52.812+05:30Traceback (most recent call last):
File "./...Traceback (most recent call last):<br /> File "./build.py", line 176, in <br /> sys.exit(main(sys.argv))<br /> File "./build.py", line 167, in main<br /> build_ns3(config, build_examples, build_tests, args, build_options)<br /> File "./build.py", line 87, in build_ns3<br /> run_command([sys.executable, "waf", "build"] + build_options)<br /> File "/home/hp/ns-allinone-3.27/util.py", line 25, in run_command<br /> raise CommandError("Command %r exited with code %i" % (argv, retval))<br />util.CommandError: Command ['/usr/bin/python', 'waf', 'build'] exited with code 1<br /><br />Sir i am getting this error when I try to install ns3 on ubuntu 16.04 using these steps. How can i over come from this problem or any other additional steps to install on ubuntu 16.04. kindly help me sir , in this regard.<br />Thank You sir<br /><br />Vanajahttps://www.blogger.com/profile/08315323761962680623noreply@blogger.comtag:blogger.com,1999:blog-8826608353769320919.post-91433350642965830492020-03-18T13:08:55.218+05:302020-03-18T13:08:55.218+05:30File "scratch/first.py", line 16, in
...File "scratch/first.py", line 16, in <br /> import ns.applications<br />ModuleNotFoundError: No module named 'ns'<br /><br /><br />Please help me resolve this error. <br />I'm using ubuntu 18.04 and NS3-3.30.1Anonymoushttps://www.blogger.com/profile/02136986412315755849noreply@blogger.comtag:blogger.com,1999:blog-8826608353769320919.post-61210516511534354482020-02-25T11:03:20.035+05:302020-02-25T11:03:20.035+05:30E: Unable to locate package python-pygoocanvas
E: ...E: Unable to locate package python-pygoocanvas<br />E: Unable to locate package python-gnome2-desktop-dev<br />E: Unable to locate package python-rsvg<br /><br />Sir i am getting this error when I try to install ns3 on ubuntu 18.04 using these steps. what is the solution for this. or any other additional steps to install on ubuntu 18.04. please reply soon<br />SUDHAKAR CHEKURIhttps://www.blogger.com/profile/00648060344452582059noreply@blogger.comtag:blogger.com,1999:blog-8826608353769320919.post-36774722067514114412020-01-23T14:28:05.467+05:302020-01-23T14:28:05.467+05:30Just try the following commands-
In newer versions...Just try the following commands-<br />In newer versions teh following is applicable-<br />sudo apt install gir1.2-goocanvas-2.0 python-gi python-gi-cairo python-pygraphviz python3-gi python3-gi-cairo python3-pygraphviz gir1.2-gtk-3.0 ipython ipython3Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8826608353769320919.post-86008787316516299232019-11-19T11:29:45.090+05:302019-11-19T11:29:45.090+05:30hello sir. i have installed aquasim simulator in n...hello sir. i have installed aquasim simulator in ns-3.30.1 version. now when i try to run any example or simply if i use ./waf command than i am getting following compilation error :<br />///////////////////////////////////////////////////////////////////////////////////////<br />ns3@ubuntu:~$ cd Desktop<br />ns3@ubuntu:~/Desktop$ cd ns-allinone-3.30.1<br />ns3@ubuntu:~/Desktop/ns-allinone-3.30.1$ cd ns-3.30.1<br />ns3@ubuntu:~/Desktop/ns-allinone-3.30.1/ns-3.30.1$ pwd<br />/home/ns3/Desktop/ns-allinone-3.30.1/ns-3.30.1<br />ns3@ubuntu:~/Desktop/ns-allinone-3.30.1/ns-3.30.1$ cd src<br />ns3@ubuntu:~/Desktop/ns-allinone-3.30.1/ns-3.30.1/src$ ls<br />antenna csma-layout mpi tap-bridge<br />aodv dsdv netanim test<br />applications dsr network topology-read<br />aqua-sim-ng energy nix-vector-routing traffic-control<br />bridge fd-net-device olsr uan<br />brite flow-monitor openflow virtual-net-device<br />buildings internet point-to-point visualizer<br />click internet-apps point-to-point-layout wave<br />config-store lr-wpan propagation wifi<br />core lte sixlowpan wimax<br />create-module.py mesh spectrum wscript<br />csma mobility stats<br />ns3@ubuntu:~/Desktop/ns-allinone-3.30.1/ns-3.30.1/src$ cd ..<br />ns3@ubuntu:~/Desktop/ns-allinone-3.30.1/ns-3.30.1$ ./waf<br />Waf: Entering directory `/home/ns3/Desktop/ns-allinone-3.30.1/ns-3.30.1/build'<br />[1908/2524] Compiling src/aqua-sim-ng/model/aqua-sim-energy-model.cc<br />In file included from ./ns3/object-base.h:23:0,<br /> from ./ns3/object.h:29,<br /> from ./ns3/energy-source.h:30,<br /> from ../src/aqua-sim-ng/model/aqua-sim-energy-model.cc:21:<br />./ns3/type-id.h: In instantiation of ‘static ns3::ObjectBase* ns3::TypeId::AddConstructor()::Maker::Create() [with T = ns3::AquaSimEnergyModel]’:<br />./ns3/type-id.h:659:3: required from ‘ns3::TypeId ns3::TypeId::AddConstructor() [with T = ns3::AquaSimEnergyModel]’<br />../src/aqua-sim-ng/model/aqua-sim-energy-model.cc:43:42: required from here<br />./ns3/type-id.h:656:27: error: invalid new-expression of abstract class type ‘ns3::AquaSimEnergyModel’<br /> ObjectBase * base = new T ();<br /> ^~~~~~~~<br />In file included from ../src/aqua-sim-ng/model/aqua-sim-energy-model.cc:26:0:<br />../src/aqua-sim-ng/model/aqua-sim-energy-model.h:46:7: note: because the following virtual functions are pure within ‘ns3::AquaSimEnergyModel’:<br /> class AquaSimEnergyModel : public DeviceEnergyModel<br /> ^~~~~~~~~~~~~~~~~~<br />In file included from ./ns3/device-energy-model-container.h:26:0,<br /> from ./ns3/energy-source.h:34,<br /> from ../src/aqua-sim-ng/model/aqua-sim-energy-model.cc:21:<br />./ns3/device-energy-model.h:106:16: note: virtual void ns3::DeviceEnergyModel::HandleEnergyChanged()<br /> virtual void HandleEnergyChanged (void) = 0;<br /> ^~~~~~~~~~~~~~~~~~~<br /><br />Waf: Leaving directory `/home/ns3/Desktop/ns-allinone-3.30.1/ns-3.30.1/build'<br />Build failed<br /> -> task in 'ns3-aqua-sim-ng' failed with exit status 1 (run with -v to display more information)<br />ns3@ubuntu:~/Desktop/ns-allinone-3.30.1/ns-3.30.1$ <br />///////////////////////////////////////////////////////////<br />please tell me the solution.<br /><br /><br /><br />Anonymoushttps://www.blogger.com/profile/03283525712732242550noreply@blogger.comtag:blogger.com,1999:blog-8826608353769320919.post-60187561754531125282019-08-17T22:28:05.204+05:302019-08-17T22:28:05.204+05:30Keep getting the following error with Ubuntu 18.10...Keep getting the following error with Ubuntu 18.10<br />E: Unable to locate package python-pygoocanvas<br />E: Unable to locate package python-gnome2-desktop-dev<br />E: Unable to locate package python-rsvg<br /> bkreeder100https://www.blogger.com/profile/00169690669880663323noreply@blogger.com