how to setup Graphlab to work with Eclipse.
1. Installing CDT for Eclipse
(The instructions below uses Eclipse's plug-in install function. There are other ways of installing CDT for Eclipse. Please refer tohttp://eclipse.org/cdt/ for more information)
- In the menu bar, select 'Help' -> 'Install New Software..'
- Click 'Add'
- Type 'CDT' in Name field and http://download.eclipse.org/
tools/cdt/releases/galileo in Location field (If you use a different version of Eclipse, please replace 'galileo' with your version ('helios' or 'indigo') - Check 'CDT Main Features' and 'CDT Optional Features' (You may choose only the modules you need. If you don't know about it, please check all)
- Click 'Next' and install CDT
- Let's assume that your graphlabapi directory is located in ~/graphlab/graphlabapi and you want to create CDT project at ~/graphlab/cdt_build
- cd ~/graphlab
- mkdir cdt_build
- cd cdt_build
- cmake -G"Eclipse CDT4 - Unix Makefiles" -D CMAKE_BUILD_TYPE=Debug ../graphlabapi
- Please refer to http://www.cmake.org/Wiki/
Eclipse_CDT4_Generator for more information
- In the menu bar, select 'File' -> 'Import..'
- Select 'General' -> 'Existing Projects into Workspace'
- Click 'Next'
- Click ''Browse' and select the 'cdt_build' directory you created previously
- Please refer to http://www.cmake.org/Wiki/
Eclipse_CDT4_Generator for more information
Thanks so much Young! Your instructions are going to be very helpful for our other users!