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

Compile issues #57

Closed
zzhh00 opened this issue Dec 3, 2019 · 1 comment
Closed

Compile issues #57

zzhh00 opened this issue Dec 3, 2019 · 1 comment

Comments

@zzhh00
Copy link

zzhh00 commented Dec 3, 2019

Hi niosus,
@niosus I follow the compiling steps from you using catkin_tools, while some errors occur as below:

/usr/bin/ld: cannot find Bonn/depth_clustering_ws/devel/.private/depth_clustering/lib: No such file or directory
collect2: error: ld returned 1 exit status
make[2]: *** [/home/hz/hz_projects/IPB-Photogrammetry& Robotics, Bonn/depth_clustering_ws/devel/.private/depth_clustering/lib/libimage_labeler.so] Error 1
make[1]: *** [src/image_labelers/CMakeFiles/image_labeler.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
/usr/bin/ld: cannot find Bonn/depth_clustering_ws/devel/.private/depth_clustering/lib: No such file or directory
collect2: error: ld returned 1 exit status
make[2]: *** [/home/hz/hz_projects/IPB-Photogrammetry& Robotics, Bonn/depth_clustering_ws/devel/.private/depth_clustering/lib/libvisualization.so] Error 1
make[1]: *** [src/visualization/CMakeFiles/visualization.dir/all] Error 2
/usr/bin/ld: cannot find Bonn/depth_clustering_ws/devel/.private/depth_clustering/lib: No such file or directory
collect2: error: ld returned 1 exit status
make[2]: *** [/home/hz/hz_projects/IPB-Photogrammetry& Robotics, Bonn/depth_clustering_ws/devel/.private/depth_clustering/lib/libviewer.so] Error 1
make[1]: *** [src/qt/viewer/CMakeFiles/viewer.dir/all] Error 2
/home/hz/hz_projects/IPB-Photogrammetry& Robotics, Bonn/depth_clustering_ws/src/depth_clustering/src/visualization/cloud_saver.cpp:23:66: warning: unused parameter ‘id’ [-Wunused-parameter]
const std::unordered_map<uint16_t, Cloud>& clouds, const int id) {
^
/home/hz/hz_projects/IPB-Photogrammetry& Robotics, Bonn/depth_clustering_ws/src/depth_clustering/src/visualization/cloud_saver.cpp:51:70: warning: unused parameter ‘id’ [-Wunused-parameter]
const std::unordered_map<uint16_t, cv::Mat>& clusters, const int id) {
^
/home/hz/hz_projects/IPB-Photogrammetry& Robotics, Bonn/depth_clustering_ws/src/depth_clustering/src/visualization/cloud_saver.cpp:77:68: warning: unused parameter ‘id’ [-Wunused-parameter]
void CloudSaver::OnNewObjectReceived(const Cloud& cloud, const int id) {
^
/usr/bin/ld: cannot find Bonn/depth_clustering_ws/devel/.private/depth_clustering/lib:/opt/ros/kinetic/lib:/usr/lib/x86_64-linux-gnu/hdf5/serial/lib:/usr/lib/x86_64-linux-gnu/hdf5/openmpi/lib:/usr/lib/openmpi/lib: No such file or directory
collect2: error: ld returned 1 exit status
make[2]: *** [/home/hz/hz_projects/IPB-Photogrammetry& Robotics, Bonn/depth_clustering_ws/devel/.private/depth_clustering/lib/libros_bridge.so] Error 1
make[1]: *** [src/ros_bridge/CMakeFiles/ros_bridge.dir/all] Error 2
make: *** [all] Error 2

How can I solve this problem?Wish for your reply and thanks very much!

@zzhh00
Copy link
Author

zzhh00 commented Dec 3, 2019

I have solved this problem.The cause is that the directory name includes space.When I delete the space,the compiling succeeds.

@zzhh00 zzhh00 closed this as completed Dec 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant