-
-
Notifications
You must be signed in to change notification settings - Fork 808
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
apt安装的libpcl-dev,链接时找不到pcl_in_hand_scanner #2529
Comments
贴下 xmake.lua 里面 add_requires 配置 然后自己执行下 |
|
是因为
|
看你的 link flags,已经完全带上了,没啥问题,你自己确认下 相关符号在那个子库,以及 link 顺序问题 |
是不是pcl库之间顺序的问题?我把
如何修改pcl库之间的链接顺序呢? |
好像找到原因了,系统里都没有这2个库。。。那为啥 |
这个你要问 pkg-config 了 ,xmake 也是调用 pkg-config 取的 |
好了。我把pcl_in_hand_scanner、pcl_point_cloud_editor这2库的pc文件从 |
不知道,这个跟 xmake 没啥关系了,xmake 也改不了这 |
Xmake 版本
xmake v2.6.8+dev.7d245d6
操作系统版本和架构
Linux ubuntu 5.10.65-tegra #1 SMP PREEMPT Mon May 16 20:58:07 PDT 2022 aarch64 aarch64 aarch64 GNU/Linux
描述问题
使用
apt install libpcl-dev
安装 pcl-1.10。链接时报错找不到pcl_in_hand_scanner
,pcl_point_cloud_editor
用pkg-config能找到这2个库
期待的结果
能找到缺失的库并链接
工程配置
No response
附加信息和错误日志
No response
The text was updated successfully, but these errors were encountered: