今天整理功能点,突然发现吊舱没有地图功能(之前都是在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