LINUX下载编译libosmscout

今天整理功能点,突然发现吊舱没有地图功能(之前都是在PC上的)。于是搜索了一番,发现只有libosmscout可用。

https://github.com/Framstag/libosmscout/releases

  • 编译

编译时会自行搜索各种依赖库,没有就跳过。我编译时找到了anaconda的qtcore5,还编译不过去。于是我换了另外一个虚拟机编译。

复制代码
BUILD_DIR=build
if [ ! -d ${BUILD_DIR} ]; then
    mkdir ${BUILD_DIR}
fi
 
cd ${BUILD_DIR}
make clean
 
cmake ..
make
 
sudo make install
  • 检查

    file build/libosmscout/libosmscout.so.1.1.1
    build/libosmscout/libosmscout.so.1.1.1: ELF 64-bit LSB shared object, x86-64, version 1 (GNU/Linux), dynamically linked, BuildID[sha1]=061c175be4b17238ca59f0b7c830a1f8d70808ba, with debug_info, not stripped

相关推荐
阿里云大数据AI技术2 小时前
阿里云 EMR AI 助手正式发布:从问答工具到全栈智能运维助手
运维·人工智能
你好潘先生8 小时前
别再记命令了,用 yeero do 说句人话就能跑脚本,而且不烧 token
服务器·python·命令行
orion5720 小时前
Missing Semester Class1:course overview and introduction of shell
linux
SkyWalking中文站1 天前
认识 Horizon UI · 6/17:Trace 探索器
运维·监控·自动化运维
用户120487221611 天前
Linux驱动编译与加载
linux·嵌入式
程序员老赵1 天前
服务器文件不想 SFTP 上传?Docker 跑个 File Browser,浏览器就能管理
服务器·docker·开源
火车叼位1 天前
写给初级开发者:SSL、SSH、HTTPS 与证书体系全解析
运维
vivo互联网技术1 天前
从 10 分钟到 1 秒:ES 深度分页任意跳页的三轮优化实战
服务器·数据库·redis·elasticsearch·深度分页
用户805533698031 天前
Input 子系统架构:Core、Handler、Driver 三层是怎么协作的
linux·嵌入式