Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pcl_ros compile issue OSX 10.11 #18

Closed
mjm522 opened this issue Nov 5, 2015 · 4 comments
Closed

pcl_ros compile issue OSX 10.11 #18

mjm522 opened this issue Nov 5, 2015 · 4 comments

Comments

@mjm522
Copy link

mjm522 commented Nov 5, 2015

I am using the statement to [curl https://raw.githubusercontent.com/mikepurvis/ros-install-osx/master/install | bash] to install ROS in OSX. The installation gets stuck with following error:

Scanning dependencies of target pointcloud_to_pcd
make[2]: *** No rule to make target /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/AGL.framework', needed by/Users/ad/indigo_desktop_full_ws/devel/lib/pcl_ros/pointcloud_to_pcd'. Stop.
make[2]: *** Waiting for unfinished jobs....
[ 26%] Building CXX object CMakeFiles/pointcloud_to_pcd.dir/tools/pointcloud_to_pcd.cpp.o
make[1]: *** [CMakeFiles/convert_pcd_to_image.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/pcd_to_pointcloud.dir/all] Error 2
make[1]: *** [CMakeFiles/convert_pointcloud_to_image.dir/all] Error 2
make[1]: *** [CMakeFiles/pointcloud_to_pcd.dir/all] Error 2
make: *** [all] Error 2
[pcl_ros] <== '/Users/ad/indigo_desktop_full_ws/build/pcl_ros/build_env.sh /usr/bin/make --jobserver-fds=3,4 -j' failed with return code '2'

Failed <== pcl_ros [ 35.8 seconds ]
Finished <== gazebo_ros [ 38.5 seconds ]
[build] There were '1' errors:

Failed to build package 'pcl_ros' because the following command:

Command to reproduce:

cd /Users/ad/indigo_desktop_full_ws/build/pcl_ros && /Users/ad/indigo_desktop_full_ws/build/pcl_ros/build_env.sh /usr/bin/make --jobserver-fds=3,4 -j; cd -

Path to log:

cat /Users/ad/indigo_desktop_full_ws/build/build_logs/pcl_ros.log

Exited with return code: 2

Could somebody help?

@mikepurvis
Copy link
Owner

Suspect this is the same issue as reported in #17. Is your machine El Cap or Yosemite, and are you working from a full XCode install, or just the CLI tools?

EDIT: Duh, I see from the traceback that you're on El Cap as well, and it looks like this is probably XCode, too.

@mjm522
Copy link
Author

mjm522 commented Nov 6, 2015

Yeah it is XCode.. how can I install ROS using your script without taking pcl_ros? Want to figure whether any other package has issues.

@mikepurvis
Copy link
Owner

Mark that package as to-skip by putting a CATKIN_IGNORE file in it, then re-run the build.

See: https://github.com/mikepurvis/ros-install-osx#step-by-step

Note that there's at least one other known issue with the XCode toolchain, see: #4

@mikepurvis
Copy link
Owner

Please open a new issue if you encounter this again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants