Difference between revisions of "Mac Intel Instructions"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
= Specific instructions for Mac OS X 10. | = Specific instructions for Mac OS X 10.5 and later = | ||
== XCode == | == XCode == | ||
* Make sure you have xcode installed. If you don't have it, get it [http://developer.apple.com/tools/xcode/ here] (You'll need a Mac Developer Account) | * Make sure you have xcode installed. If you don't have it, get it [http://developer.apple.com/tools/xcode/ here] (You'll need a Mac Developer Account) | ||
Line 40: | Line 40: | ||
* On configuring CMake, make sure that the variables VTK_WRAP_PYTHON, VTK_USE_GUISUPPORT, VTK_USE_DISPLAY, VTK_USE_COCOA are ON and VTK_USE_QVTK, VTK_USE_CARBON, VTK_USE_X are OFF | * On configuring CMake, make sure that the variables VTK_WRAP_PYTHON, VTK_USE_GUISUPPORT, VTK_USE_DISPLAY, VTK_USE_COCOA are ON and VTK_USE_QVTK, VTK_USE_CARBON, VTK_USE_X are OFF | ||
* run make and sudo make install | * run make and sudo make install | ||
Latest revision as of 14:33, 16 October 2013
Specific instructions for Mac OS X 10.5 and later
XCode
- Make sure you have xcode installed. If you don't have it, get it here (You'll need a Mac Developer Account)
Install Python
- We won't use the Python version that comes with Mac OS X. Install the 2.7.x Mac Python version available here.
- Update your path: using Finder, go to Applications > Python 2.7 . There is a script there called Update Shell Profile.command that adds the new Python to your ~/.bash_profile.
- You can test the installation typing python -V in the shell. You should see Python 2.7.2
Install Qt 4.7.4
- You can get the open source version for MAC here
- Run the installer and it should be all set.
Install SIP
- Downloads available here.
- Uncompress the file, and inside the directory, type python configure.py. Then make and make install
Install PyQt4
- Downloads available here.
- Uncompress the file, and inside the directory, type python configure.py. Then make and make install
Install numpy, scipy and matplotlib
- Download and install the Unversal binary packages :
numpy scipy matplotlib
Install other python extensions
- In order to load vistrails files from a database, you need to install MySQLdb.
- Install suds from https://fedorahosted.org/suds/
Install VTK (Skip this step if you won't use VTK)
- First you'll need CMake: get the latest release here
- Then you can get vtk: follow the instructions to download the source code on this page
- (Skip this step if you don't need to run CORIE workflows) Follow these instructions to add CORIE and other needed files to VTK.
- To compile VTK follow the instructions in the file README.html in the root of VTK directory tree
- On configuring CMake, make sure that the variables VTK_WRAP_PYTHON, VTK_USE_GUISUPPORT, VTK_USE_DISPLAY, VTK_USE_COCOA are ON and VTK_USE_QVTK, VTK_USE_CARBON, VTK_USE_X are OFF
- run make and sudo make install