Examples/TunnelNet and copy that over to a new subdirectory say Examples/TestNetwork.
Step2. Go into your new directory. Start renaming the files to the way you want.
Step3. Change the topology to the one you want and also the omnetpp.ini would need to be change as your network name may be different.
Step4. Then modify CMakeLists.txt so that it corresponds to your filename. Then modify Examples/CMakeLists.txt and add your directory to the list of directories in the SUBDIRS directive.
Step5. Now you can simply type make from the top level directory IPv6Suite and it should start building your network too.
myHMIPv6.ini, is there a straight way to run it like ./HMIPv6network myHMIPv6.ini or I have to rename it to omnetpp.ini?
A: Try ./HMIPv6Network -f myHMIPv6.ini
If you just put your ned/ini/xml files into an existing directory
like MIPv6Network or HMIPv6Network then you can simply run your network
via e.g.
./MIPv6Network -f your.ini
where your.ini would load your ned file dynamically etc. (refer to omnetp doc)
When you want to simply gather data without the GUI try turning off OPP_USE_TK from ccmake.
This does not require typing make clean as it simply changes what libraries are linked and will create two executables
in each directory i.e. for HMIPv6Network you'll get an executable of the same name as well as tkHMIPv6Network.
Then you can also specify the run number on the command line too
#./HMIPv6Network -f myHMIPv6.ini -r 3
However this only works for the cmdenv interface i.e. non tk version though.
[root@localhost]# rpmbuild --rebuild --define "cvsdate 20040730"
omnetpp-3.0pre_20040730-11.src.rpm
error: Failed build dependencies:
tk >= 8.3 is needed by omnetpp-3.0pre_20040730-11
[root@localhost]#
A: you can edit /etc/ld.so.conf
you add /usr/local/lib and do command ldconfig.
if you want rpm -ivh omnetpp after build, you copy that library such as
libBLT2.4 , libtcl and libtk in /usr/X11R6/lib/.
| Topic QuestionsAndAnswers . { Edit | Attach | Ref-By | Printable | Diffs | r1.15 | > | r1.14 | > | r1.13 | More } |
|
Revision r1.15 - 11 May 2005 - 12:54 GMT - AhmetSekercioglu Parents: WebHome > IPv6Suite |
Copyright © 1999-2003 by the contributing authors.
All material on this collaboration platform is the property of the contributing authors. Ideas, requests, problems regarding TWiki? Send feedback. |