Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi,
Currently, I am working on project that based on ns-2.34 and i need to include aquasim in ns2.34. I know that aquasim are based on ns2.30 but can we install on ns2.34 or you have any suggestion
what i need to do..
$ mkdir aquasim
$ cd aquasim/
$ tar xvf Aqua-Sim-1.0.tgz
.... and when you have told which Ubuntu 14.04 it is about :
i.e. is it an i686 or x86_64 OS, you can get more information.
* Please show the reply from this command : $ uname -m
Remark : A 32bits (i686) OS will provide full aquasim functionality.
A 64bits (x86_64) OS : Not all simulations can be done.
$ mkdir aquasim
$ cd aquasim/
$ tar xvf Aqua-Sim-1.0.tgz
$ export CC=gcc41 CXX=g++41 && ./install
$ cd ns-2.30/
$ sudo make install
$ cp ns ns-aqua
$ sudo cp ns-aqua /usr/local/bin/
... Then all simulations can be done in underwatersensor/uw_tcl/,
like : $ ns-aqua hop_by_hop_VBF_example.tcl
Thanks dear sir i have successfully installed aquasim, i run the hop_by_hop_VBF_example.tcl,
sir what meant of this command "sudo cp ns-aqua /usr/local/bin", and i cant find the location of ns-aqua folder, the aquasim folder is placed at desktop.
sir please give me some tips to write the tcl script for dbr routing protocol. i want to compare the different routing protocols working in underwater wireless sensor network. is there any source from where tcl file of different routing protocol will be available.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
← #9 .
The command $ sudo cp ns-aqua /usr/local/bin/
.. is not a command that can make a folder or copy a folder.
1) 'sudo make install' makes a copy of the executable 'ns' to /usr/local/bin/.
2) 'sudo cp ns-aqua /usr/local/bin/' copies the 'ns' backup copy = 'ns-aqua'
to /usr/local/bin/. 'ns-aqua' is just another executable :
Please have a look into /usr/local/bin/.
* /usr/local/bin/ is a folder for executable´s only.
* Using 'ns-aqua' for the simulations is to prevent any confusion,
if you have another file by name 'ns' somewhere on your OS.
$ tar xvf Aqua3d-1.0.0.tar.gz
$ cd aqua3d-1.0.0-src/
... and then replace the Makefile with the attached Makefile.txt →
Post #111 here http://www.linuxquestions.org/questi...532/page8.html
That's the Makefile for g++-4.4 : Rename Makefile.txt to Makefile .
( Or you can use $ make -f Makefile.txt ).
After running $ make ( or $ make -f Makefile.txt ) :
The executable 'aqua3d' is created.
And you can do : $ ./aqua3d
Sir, i have replace make file but it show following message
tariq@tariq-HP-EliteBook-8440p:~/Desktop/aquasim3d/aqua3d-1.0.0-src$ make
g++ `wx-config --libs --cxxflags --gl-libs` -c main_src/Aqua3D.cpp
main_src/Aqua3D.cpp: In member function ‘virtual bool Aqua3D::OnInit()’:
main_src/Aqua3D.cpp:95:36: error: ‘wxSTRING_MAXLEN’ was not declared in this scope
wxString wxStrArg(argv[i], wxSTRING_MAXLEN);
^
main_src/Aqua3D.cpp:167:39: error: ‘wxSTRING_MAXLEN’ was not declared in this scope
wxString title(TITLE, wxConvUTF8, wxSTRING_MAXLEN);
^
make: *** [Aqua3D.o] Error 1
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.