小编Lan*_*itn的帖子

制作问题:没有规则制作目标 /usr/lib/x86_64-linux-gnu/libpcl_common.so

我正在按照本教程运行 PCL(点云库)提供的示例之一:https : //www.youtube.com/watch?v=CXK95Hi4M7I

但是在执行 make 命令(https://youtu.be/CXK95Hi4M7I?t=243)时,我得到以下输出:

yalishanda@yalishanda-thinkpad-x200:~/PCL/visualRangeExample/build$ make
make[2]: *** No rule to make target '/usr/lib/x86_64-linux-gnu/libpcl_common.so', needed by 'range_image_visualization'.  Stop.
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/range_image_visualization.dir/all' failed
make[1]: *** [CMakeFiles/range_image_visualization.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
Run Code Online (Sandbox Code Playgroud)

有人可以告诉我问题是什么以及我如何解决它?

谢谢

编辑:

cmake生成的Makefile:

# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.5

# Default target executed when no arguments are given to make.
default_target: all

.PHONY …
Run Code Online (Sandbox Code Playgroud)

compiling make

8
推荐指数
1
解决办法
5万
查看次数

标签 统计

compiling ×1

make ×1