Mac OS X compiler error #10001 could not find directory in which g++ resides
Mac OS X ONLY (this does not apply to the same error on linux)
Please read this article to fix this error http://software.intel.com/en-us/articles/composer-xe-for-mac-os-x-error-10001-could-not-find-directory-in-which-g-resides/