Upgrading to Mac OS X 10.9 Mavericks breaks OMNET++, some actions required to get it working correctly. Here is the steps that I followed;
- Install latest Xcode 5.0.1 from Mac App Store
- Install command line tools xcode-select –install
- Install macports Mavericks build
- Install gcc version 4.7 via macports
sudo port selfupdate
sudo port install gcc47
sudo port select –set gcc mp-gcc47
After this point you can compile OMNET++ and get working but, I faced problems when running simulations like missing icons/images in simulation. I think Tcl library has issues with Mavericks, in my case it has to reinstall too.
- sudo port install tcl
sudo port install tcllib
- Now, edit configure.user in OMNET++ source directory
TK_LIBS=”-L/opt/local/lib -ltk8.6 -ltcl8.6″
- Now you can follow OMNET++ standard installation instructions.
There are several network simulators available which are design for different purposes. Quick google will result survey papers discussing these simulator both advantages, disadvantages and usage areas. After deep diving into these simulator environments, OMNeT++ is the best logical option for simulating WSN (Wireless Sensor Networks). OMNeT++ is available as commercial and academic uses and actively developed.
Also, OMNeT++ provides infrastructure to develop components top off on it and WSN is available as 3rd party component. OMNeT++ models are available in its website. Mixim is a modeling framework for mobility and fixed networks which is necessary simulating wireless networks with OMNeT++.
OMNeT++ 4.2.1 and MiXiM 2.2.1 is greatly integrated and works well under Mac OS X Lion. After installing OMNeT++ MiXiM is imported into workspace and compiled under OMNeT++. To be able to compile and build tools latest XCode version is needed.
This was my first serial programming experience on Mac OS X with Java and it was painful. There is no official library for Java for writing/reading from serial interface. Open source libraries available but those depends on OS, and OS architecture and java versions. After required libs installed, I had to get list of all port on my mac using rxtx however, had to deal with with PortInUseException while opening a port. Thanks to this guy; solution is to set up a folder and required permissions at location /var/lock, then everything went very well.
After a few years I returned back to java, it still same java nothing much here I can handle it.
I have played most of the popular application development platforms available today from Microsoft’s .Net to open source platforms on unix/linux with python/php/java/c++ … etc. However, I couldn’t had a change to develop for Mac OS X platforms till having a Mac.
Spending a few weeks (not full time) for learning and developing for Mac OS X is enough and fun. Learning Obj-c is not a big issue but it takes some time to get familiar with the libraries and frameworks. I made my choice to build an iPhone application as a start point and made a simple hello iphone world application and called it “Istanbul Guide”.
Application contains some popular places in Istanbul for the tourists and also, provides some basic information like text, photo and the current distance about locations. As I said app is not a big deal (some screens shown below), wait for the killer ones …
Also working on a page to provide my iPhone App statuses.
I have been using my mac for 3 months and I havent shared my os x experiences so far. Post title refers to longest uptime in this time period. I thought dividing my experiences in to sections would be more logical: one for end user side and one for for developer side.
First, I want to discuss end user view point of mac os x which is snow leopard and compare it to the other operating system (you got that). Any kind of software installation is killer easy, i.e. installing Snow Leopard takes 20 min.s (depends to your hardware) without annoying drivers installation and configuration steps. Also, its same for application setup, just drag & drop the file to the Applications folder, that’s it!
It is fast, very very fast when compared to other os and it uses less memory and cpu resources with less power. You can imagine how fast your os when it doesn’t run crappy viruses, antiviruses, antispywares … etc.
As a developer/architect I have used linux, windows, os x, solaris and in my opinion; the only os for a real software developer & designer is mac os x. I’m ok with linux but hacking something to work takes time which I don’t have recently. I believe linux is for more production environment not development.
Mac os x provides to developers the power of unix os with more manageability. Isn’t that awesome when you have symbolic links? Also, cross platform products, (I mean real cross platforms products not like .net which works only windows) are available for os x too and I believe future has to be independent.
In both sides, mac os x provides better hardware and software when compared alternatives with clean design. So far, I’m happy and more productive with the os that I have which is called Snow Leopard.
PS: Apple doesn’t pay me for to blog about them. But It would be nice if they denote my scientific projects