Tag Archives: mac os x

Install Eclipse C/C++ Juno on Mac OS X


This tutorial will explain how to install and use Eclipse C/C++ with Mac OS X. I wrote a tutorial for Windows 7 some time ago because you need to install some additional software to be able to compile your programs. With Mac OS X this should be more easier if you already have Xcode installed.

Prepare your system

Apple offers you a free collection of development tools called Xcode. It although contains a IDE for Objective C and iOS development. Beside this it tools there are a lot of useful tools like different version control systems and console tools and very important the compilers. Because this is packed and very easy to install you should go to the AppStore and install Xcode if you don’t have it yet.

You will need to have Java installed on your Mac OS X as well but this is just a click if you try to run a Java application the first time.

Xcode Appstore Screenshot


Download Eclipse CDT for Mac OS X

Download the Eclipse CDT version of Eclipse from eclipse.org. I prefer the 64bit version.

Eclipse CDT MacOSX 64bit version


Extract the downloaded archive and move the eclipse folder to your Application directory. I renamed the folder to eclipse-cdt because I have different version of Eclipse in my Application folder. But the folder should contain the following files:

Eclipse CDT folder Mac OS X


Now you should be able to run the Eclipse IDE.

Eclipse Startscreen

First the Eclipse splashscreen will appear. Then you will be asked to define your workspace like the following prompt:

Eclipse define workspace prompt

Choose a folder or use the default value and continue with OK:

Eclipse CDT Mac OS X empty UI

You should get something like a welcome page or continue an empty overview over your new Eclipse C/C++ IDE.

Create a new C++ Project as shown below:

Eclipse Mac OS X create new C++ project

Eclipse CDT Mac OS X create new C++ project

Build the new project if it’s not done automatically after creation and run the binary:

Hello World programm C++ Max OSX Eclipse CDT

If everything went well you should see the Hello World message in your output console:

Eclipse C++ IDE Hello World on Mac OS X

How to find the eclipse.ini configuration file

Because the eclipse.ini file is hidden in the Mac package I wrote a blog post some time ago how to change it. You can find the post here. Should work for Eclipse Juno as well.

Maybe this helps you to get your IDE up and running to do awesome stuff with it. Feel free to add a comment if I missed a step.

Installing VMware ovftool on Mac OS X

VMware offers a free tool to convert virtual machine files in different formats for example from .vmx to .ovf.

This tool can be used to convert:

VMX -> vSphere

Or you can deploy a OVF directly to a ESX host. It’s  more powerful than it looks like.

The documentation can be found on the VMware site and it’s short and clear.


Download the documentation and the tool from the VMware site: http://www.vmware.com/support/developer/ovf/

You need a VMware id to have access but the tool itself is free.

After you downloaded the tool you can install it using the installer. The stand alone version 2.1 (which I used) will be located here: /Applications/VMware OVF Tool/

Start a terminal and change to this directory:

cd /Applications/VMware OVF Tool/

Now convert your files like you want. For example:

ovftool vmxs/Fedora.vmx ovfs/Fedora.ova

More examples how the tool can be used are shown by the command

ovftool --help examples


ovftool –vService:vDep1=provider_1 /ovfs/my_vapp.ovf
(specify a vService dependency)

ovftool -tt=vmx /ovfs/my_vapp.ovf /vms/
(.ovf file to .vmx file. Result files are /vms/my_vapp/my_vapp.[vmx|vmdk])

ovftool /vms/my_vm.vmx /ovfs/my_vapp.ovf
(.vmx file to .ovf file. Result is put in /ovfs/my_vapp.[ovf|vmdk])

ovftool https://my_ovf_server/ovfs/my_vapp.ova /vm/my_vm.vmx
(.ova file to .vmx file)

ovftool /ovfs/my_vapp.ovf vi://username:pass@my_esx_host
(.ovf file to ESX host using default mappings)

ovftool /ovfs/my_vm.vmx vi://username:pass@my_esx_host
(.vmx file to ESX host using default mappings)

ovftool http://my_ovf_server/ovfs/my_vapp.ovf \
(.ovf file from a web server to ESX host using defaults)

ovftool /ovfs/my_vapp.ovf \
(.ovf file to vCenter server using managed ESX host ip address)

ovftool vi://username:pass@my_vc_server/my_datacenter?ds=\
[Storage1] foo/foo.vmx c:\ovfs\
(VM on ESX/vCenter server to OVF using datastore location query)

ovftool /ovfs/my_vapp.ovf \
(.ovf file to vCenter server using vCenter inventory path)

ovftool vi://username:pass@my_host/my_datacenter/vm/my_vm_folder/my_vm_name \
(VC/ESX vm to .ovf file)

ovftool /virtualmachines/MyVM.vmx \
(Imports a .vmx file into a vApprun workspace using default name)

ovftool https://my_ovflib/vm/my_vapp.ovf
(shows summary information about the OVF package [probe mode])

Easy way to use Tor on Mac OS X and Linux


If you want to use Tor on your Mac OS X or Linux there is a new bundle you can easy use. The bundle includes all necessary tools and a preconfigured Firefox with the necessary plugin.

Up to now the Tor Browser Bundle is still beta but for me it works without problems. I could post a link here but please download it directly from the Tor website: www.torproject.org and verify the checksum to be sure you got a correct version of the software.

I tested the version on Mac and on Fedora 15. Just extract the downloaded file and run the start script or click on the symbol and everything starts without further user interaction needed. To be sure your identity is safe please read the information here: https://www.torproject.org/download/download.html.en#warning

Maybe you are in the position to support the Tor project by running a relay or a bridge to make the Tor network more powerful and secure for people who need to use this nice tool for uncensored internet access.

Some basic information about running a relay: https://www.torproject.org/docs/tor-doc-relay.html.en

SizeUp – window management tool for Mac OS X

With SizeUp I found exactly what I need for managing my application windows on Mac OS X.

One of my daily use cases where SizeUp helps me a lot is when I have open many iTerm windows with ssh shells. On my desktop there are often a lot of shells to different machines open and I am working parallel with them.

Irradiated Software also has an tool called Cinch which is the mouse driven version of a window management gadget for all who want to have the functionality know from Windows 7. It’s using active corners to arrange the windows.

But because I am more the keyboard user SizeUp fits better to my needs.SizeUp menu

As you can see on the screenshot there are short cuts for all functions. It is possible to split the screen into two or four sections, maximize or center a window.