Omnet++ installation on Mac OS X 10.7 (LION)

1. Install Xcode

2. Download from omnetpp.org

3. Extract –

$ tar zxvf omnetpp-4.2.2-src.tgz

4. Set environment variable –

export PATH=$PATH:$HOME/omnetpp-4.2.2/bin

5. Configure the omnet src

$ ./configure

6. Make sure you have installed compiler at least gcc or cc. If not error will occur.

7. Make or install it

$ make

You are done.

How to start the IDE ?

8. Running

$ omnetpp

9. Otherwise you can add shortcut to your Desktop or system menu

$ make install-menu-item
$ make install-desktop-icon

 

-EOF-