Castalia :- Simulator Installation steps with OMNET++ in ubuntu 14.04
Castalia with Omnet++ Simulator Installation steps in ubuntu 14.04...
1.Download the OMNeT++ 4.5 (source + IDE, tgz)..
For given link http://omnetpp.org/omnetpp/doc_details/2282-omnet-45-source--ide-tgz It is 181 mb large MB file and it save in your home directory folder
2. Untar and unzip the source file by the command on terminal
$ tar xvfz omnetpp-4.5-src.tgz
3.Set environment variables by typing in to your bash file or terminal
$ export PATH=$PATH:~/omnetpp-4.5/bin
$ export LD_LIBRARY_PATH=~/omnetpp-4.5/lib
4. You are now ready to build OMNeT:
$ cd omnetpp-4.5/
$ NO_TCL=1 ./configure
$ make
5. Download the castalia 3.2 from https://forge.nicta.com.au/frs/?group_id=301
6. Untar and unzip the source code:
$ tar –xvzf Castalia-3.2.tar.gz
7. You are ready to build Castalia:
$ cd Castalia-3.2/
$ ./makemake
8. Take some time to install then use
$ make
Successfully installed the Castalia enjoy if any problem then contact me
mail Id vikasmain{.it , 34007}@gmail.com
1.Download the OMNeT++ 4.5 (source + IDE, tgz)..
For given link http://omnetpp.org/omnetpp/doc_details/2282-omnet-45-source--ide-tgz It is 181 mb large MB file and it save in your home directory folder
2. Untar and unzip the source file by the command on terminal
$ tar xvfz omnetpp-4.5-src.tgz
3.Set environment variables by typing in to your bash file or terminal
$ export PATH=$PATH:~/omnetpp-4.5/bin
$ export LD_LIBRARY_PATH=~/omnetpp-4.5/lib
4. You are now ready to build OMNeT:
$ cd omnetpp-4.5/
$ NO_TCL=1 ./configure
$ make
5. Download the castalia 3.2 from https://forge.nicta.com.au/frs/?group_id=301
6. Untar and unzip the source code:
$ tar –xvzf Castalia-3.2.tar.gz
7. You are ready to build Castalia:
$ cd Castalia-3.2/
$ ./makemake
8. Take some time to install then use
$ make
Successfully installed the Castalia enjoy if any problem then contact me
mail Id vikasmain{.it , 34007}@gmail.com
sir, can you please tell me where can i download castalia files?
ReplyDeleteDownload all files follow that link..https://castalia.forge.nicta.com.au/index.php/en/
ReplyDeletethank you for your info sir. i have download the castlia file from there. when i want to exract the file it says "error setting owner: operation not permitted" and does castalia 3.2 compatible with omnet 4.6? thanks in advance sir.
ReplyDeleteUse Omnet++ 4.5 ver its beeter for you with castalia 3.2
ReplyDeletehello sir,
ReplyDeletecan i install castalia in windows?
Ya you installed in windows also but import in omnet++
ReplyDeleteThis comment has been removed by the author.
ReplyDeletePost the screen shot where you faced the problem
ReplyDeletehi i have a problem in castalia's intallation. is it possible for you to solve this ?
ReplyDeletehttp://8pic.ir/images/ztd5djdf556vg042pcoo.jpg
Here you are using Windows operating system
DeleteDear sir...i would like to ask you if Castalia simulator is suitable for simulation wsn security?
ReplyDeletefor Security purpose you are using omnet or NS2 as comparison to castalia according to my point of view...
DeleteDear sir, when i try to add the castalia 3.2 to the Omnetpp 5.0b2, there is no recognized 'projects' by Omnetpp to add. Even adding from an archive file does not work and the button 'Finish' is not active.
ReplyDeleteHere is the screenshot:
https://www.dropbox.com/s/acw11k00j06j0f5/Omnet%2B%2Bcastalia%20Win.jpg?dl=0
Thank you in advance.
There is not seen any screenshot
Deletesame problem with me.....sir please explain!
ReplyDeletehello , sir thankyou for ur help till noe we got through ur blog.
ReplyDeletesir noe we want to use castalia on omnet++ can u help us to do same .
yes but using in windows operating system...
Deletehello sir
ReplyDeletei was in need of leach-c protocol in castalia.Can you please help me out .
PLEASE sir i have a problem with OMNET ++ instalation this the eror i got
ReplyDeleteOMNeT++ was configured without Tcl/Tk ($NO_TCL set). Tkenv (the GUI
runtime environment) will not be available, simulations need to be run
under Cmdenv.
hello sir
ReplyDeletei use the simulat Castalia to simulate leach protocol performance results in wireless sensor networks , I implement the package leach under castalia, we must now try leach:
Default configuration:
1- without activating the central node mobility (base station Sink)
2-activating mobility ...
please help me i'm blocked
thank you
hello Sir
ReplyDeletei need your help please, i have a problem when installing Castalia this is the last line after taping the command make
src/helpStructures/CastaliaModule.cc:192:76: error: ‘sendDirect’ was not declared in this scope
sendDirect(drawPowerMsg, classPointers.resourceManager, "powerConsumption");
^
Makefile:202: recipe for target 'out/gcc-release//src/helpStructures/CastaliaModule.o' failed
make: *** [out/gcc-release//src/helpStructures/CastaliaModule.o] Error 1
Hello Sir
ReplyDeleteI extract and run it successfully under ubuntu. However, how can i import the project inside omnet5.0? I follow some tutorial but alwayes lead to error.
Hello sir,
ReplyDeleteWhen I installed Castalia in ubuntu 16.04 it gives me following error.
vishal@vishal-Lenovo-Z51-70:~/Castalia-3.2$ make
src/helpStructures/CastaliaModule.cc
In file included from src/helpStructures/CastaliaModule.cc:13:0:
src/helpStructures/CastaliaModule.h:60:2: error: ‘cModule’ does not name a type
cModule *resourceManager;
^
src/helpStructures/CastaliaModule.h: In constructor ‘classPointersType::classPointersType()’:
src/helpStructures/CastaliaModule.h:63:22: error: class ‘classPointersType’ does not have any field named ‘resourceManager’
classPointersType():resourceManager(NULL) { }
^
src/helpStructures/CastaliaModule.h: At global scope:
src/helpStructures/CastaliaModule.h:69:52: error: expected class-name before ‘{’ token
class CastaliaModule: public virtual cSimpleModule {
^
In file included from /home/vishal/omnetpp-5.0/include/omnetpp/ccomponent.h:27:0,
from /home/vishal/omnetpp-5.0/include/omnetpp.h:26,
from src/helpStructures/CastaliaModule.h:18,
from src/helpStructures/CastaliaModule.cc:13:
src/helpStructures/CastaliaModule.cc: In member function ‘virtual void CastaliaModule::finish()’:
/home/vishal/omnetpp-5.0/include/omnetpp/clog.h:255:60: error: ‘getThisPtr’ was not declared in this scope
#define EV_LOG(logLevel, category) OPP_LOGPROXY(getThisPtr(), logLevel, category).getStream()
^
Makefile:202: recipe for target 'out/gcc-release//src/helpStructures/CastaliaModule.o' failed
make: *** [out/gcc-release//src/helpStructures/CastaliaModule.o] Error 1
vishal@vishal-Lenovo-Z51-70:~/Castalia-3.2$
Need to use latest version of castalia otherwise create Make directory manually....
DeleteCastalia 3.3 is designed for static GTS allocation. Does ubuntu 14.04(32 bit) is suitable for Castalia 3.3 and Omnet++4.6 ?
ReplyDeleteWhich version of Castalia is suitable for dynamic GTS allocation (i.e. Castalia 3.2)?
Thanks & regards,
Varsha Bhosale
After 3.2 all version is suitable for dynamiic GTS need to link the JDE environment... @Varsha Bhosale
Deletehello sir
ReplyDeletewhen i Untar and unzip the source code of castalia 3.2 there is no problem but when i execute the command ./makemake it's said the command is not found
please help me
Thanks
hello sir
ReplyDeleteI am very new to wireless sensor network and castalia. Following the installation guide and your tutorial i installed it on my ubuntu 16.04.
i m following the user manual.
isn't there a simple *so called 'hello worls'* or *tic toc* kind of basic method to start programming in it..
.
your help is really appreciated.
I think it's too late if you still need then reply me....
Deletesir can i use Castalia for clustering?
ReplyDelete@Unknown Castalia is not best for Clustering Prefer another tools such as NS3 etc...
Deleteunable to download castalia from given link. Please help me
ReplyDeleteHey Dear @Naveen KG You need to register for NICTA otherwise downloaad from that other link https://sourceforge.net/projects/castalias/
ReplyDeletegood evening sir
ReplyDeletesir I have doubt does Castalia works in windows 10 along with omnet++5.0 version
I want to download castalia but all those links doesn't work !!
ReplyDeletewhat i should do !?!?
You should download from : https://github.com/boulis/Castalia
ReplyDeletei need help in installation of castalia 3.3 with omnet 4.6++ on windows 10
ReplyDelete