-
Notifications
You must be signed in to change notification settings - Fork 114
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 acting up in MacOS 10.12 #64
Comments
I'm getting a new compilation error today (after
Might be coincidental that it came up during PS1. I'm on macOS |
I have the same problem in pcl_ros and similar problems in several other projects.
|
@lloydc99 What are your macOS and Xcode versions? Also, are you building Indigo or Kinetic? PS. I'm also getting the |
Sorry, Should have included: I agree this is probably a new and separate issue. |
I had this exact problem, but I had it on common_tutorials first. I headed there and they pointed me that it was a problem in I tried switching from libc++ to libstdc++, and also switching the compilers. None of these worked. I'll keep trying different approaches and will let you know if I find a way to solve this. Thanks |
Thanks for the update. I'm looking at cmake options based on this very old post. http://forum.openscenegraph.org/viewtopic.php?t=3007&view=previous On Sun, Nov 20, 2016 at 9:39 PM, toyoxx notifications@github.com wrote:
|
@toyoxx I don't think the macOS version is the problem since I'm on El Capitan ( |
Has anyone seen this error while using the command line tools vs. the full XCode install? In the past, there have been cryptic errors that go away when users switch to the CLT compiler. |
I'm not sure what I should be using. Does this help? On Sun, Nov 20, 2016 at 10:56 PM, Mike Purvis notifications@github.com
|
I was definitely using command line tools before the Xcode 8 upgrade. But even now, I get: $ gcc --version
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 7.3.0 (clang-703.0.31)
Target: x86_64-apple-darwin15.6.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin @mikepurvis Digging a bit deeper, for me the errors are coming from:
whereas for @toyoxx (link to his gist) they are coming from:
PS. If anyone wants to try downgrading Xcode: http://stackoverflow.com/a/14756127/2653356 |
I got same error macOS sierra, but I updated Xcode, and build was succeeded.
|
No errors on |
I'm getting a clean build at least on El Cap, but that's with |
So I've looked around and saw this problem pop up with El Capitan, but it seems to have been fixed with pcl 1.8. Now it's popping up again. When I try to build pcl_ros I get the error
Starting >>> pcl_ros
Warnings << pcl_ros:cmake /Users/eric1221bday/indigo_desktop_full_ws/logs/pcl_ros/build.cmake.000.log
** WARNING ** io features related to openni will be disabled
** WARNING ** io features related to openni2 will be disabled
** WARNING ** io features related to ensenso will be disabled
** WARNING ** io features related to davidSDK will be disabled
** WARNING ** io features related to dssdk will be disabled
** WARNING ** io features related to pcap will be disabled
** WARNING ** io features related to png will be disabled
** WARNING ** io features related to libusb-1.0 will be disabled
** WARNING ** visualization features related to openni will be disabled
** WARNING ** visualization features related to openni2 will be disabled
** WARNING ** visualization features related to ensenso will be disabled
** WARNING ** visualization features related to davidSDK will be disabled
** WARNING ** visualization features related to dssdk will be disabled
** WARNING ** visualization features related to rssdk will be disabled
** WARNING ** apps features related to openni will be disabled
CMake Warning at /opt/ros/indigo/share/catkin/cmake/test/nosetests.cmake:98 (message):
nosetests not found, Python tests can not be run (try installing package
'python-nose')
Call Stack (most recent call first):
/opt/ros/indigo/share/catkin/cmake/all.cmake:147 (include)
/opt/ros/indigo/share/catkin/cmake/catkinConfig.cmake:51 (include)
CMakeLists.txt:11 (find_package)
CMake Warning (dev) at CMakeLists.txt:80 (add_dependencies):
Policy CMP0046 is not set: Error on non-existent dependency in
add_dependencies. Run "cmake --help-policy CMP0046" for policy details.
Use the cmake_policy command to set the policy and suppress this warning.
The dependency target "pcl_ros_generate_messages_cpp" of target
"pcl_ros_tf" does not exist.
This warning is for project developers. Use -Wno-dev to suppress it.
cd /Users/eric1221bday/indigo_desktop_full_ws/build/pcl_ros; catkin build --get-env pcl_ros | catkin env -si /usr/local/bin/cmake /Users/eric1221bday/indigo_desktop_full_ws/src/perception_pcl/pcl_ros --no-warn-unused-cli -DCATKIN_DEVEL_PREFIX=/Users/eric1221bday/indigo_desktop_full_ws/devel/.private/pcl_ros -DCMAKE_INSTALL_PREFIX=/opt/ros/indigo -DCATKIN_ENABLE_TESTING=1 -DCMAKE_BUILD_TYPE=Release -DPYTHON_LIBRARY=/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/libpython2.7.dylib -DPYTHON_INCLUDE_DIR=/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/include/python2.7; cd -
....................................................................................................................................................................................
Errors << pcl_ros:make /Users/eric1221bday/indigo_desktop_full_ws/logs/pcl_ros/build.make.000.log
ld: library not found for -lpcl_io
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [/Users/eric1221bday/indigo_desktop_full_ws/devel/.private/pcl_ros/lib/pcl_ros/pointcloud_to_pcd] Error 1
make[1]: *** [CMakeFiles/pointcloud_to_pcd.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
ld: library not found for -lpcl_io
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [/Users/eric1221bday/indigo_desktop_full_ws/devel/.private/pcl_ros/lib/pcl_ros/convert_pointcloud_to_image] Error 1
make[1]: *** [CMakeFiles/convert_pointcloud_to_image.dir/all] Error 2
ld: library not found for -lpcl_io
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [/Users/eric1221bday/indigo_desktop_full_ws/devel/.private/pcl_ros/lib/pcl_ros/pcd_to_pointcloud] Error 1
make[1]: *** [CMakeFiles/pcd_to_pointcloud.dir/all] Error 2
make: *** [all] Error 2
The text was updated successfully, but these errors were encountered: