OSX10.10.4 installation. Failed to process package 'catkin'
I'm using homebrew to install ROS indigo on OS X 10.10.4 with 'Desktop Install (recommended): ROS, rqt, rviz, and robot-generic libraries', and I've gone to this step without error:
./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release
the error log is:
==> Processing catkin package: 'catkin'
Makefile exists, skipping explicit cmake invocation...
==> make cmake_check_build_system in '/Users/xgwang/Workspace/ros_catkin_ws/build_isolated/catkin'
dyld: Symbol not found: __cg_jpeg_resync_to_restart
Referenced from: /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
Expected in: /usr/local/lib/libJPEG.dylib
in /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
make: *** [cmake_check_build_system] Trace/BPT trap: 5
<== Failed to process package 'catkin':
Command '['make', 'cmake_check_build_system']' returned non-zero exit status 2
Reproduce this error by running:
==> cd /Users/xgwang/Workspace/ros_catkin_ws/build_isolated/catkin && make cmake_check_build_system
Command failed, exiting.
What should I do to finish the installation? Thanks for any advice.