预安装项
Debian based
sudo apt-get install build-essential cmake git
成功
Red Hat based
sudo yum install make gcc gcc-c++ kernel-devel cmake git
出错,命令是在基于RPM的Linux发行版(如CentOS或Fedora)上安装一些开发工具的命令。在ubuntu上使用apt-get命令
sudo apt-get update
sudo apt-get install build-essential linux-headers-$(uname -r) cmake git
可以使用,成功。
Arch Linux
sudo pacman -S base-devel cmake git
命令是在基于Arch Linux的系统上使用pacman
包管理器来安装一些开发工具的命令。这个命令试图安装base-devel
,cmake
和git
这些包。ubuntu上无法使用此命令,不过这些包之前应该安装上了。
获取代码
sudo apt-get install git
git clone https://github.com/indemind/IMSEE-SDK.git
成功。
准备依赖
cd <IMSEE-SDK> # <IMSEE-SDK> 为SDK具体路径
make init
报错,去除<>即可
Open CV
未参考教程中的opencv安装方式,https://blog.youkuaiyun.com/qzx9059/article/details/88680475参考这篇博客,成功
编译代码
未报错
安装protobuf
报错,且显示是网络问题
运行最简单的sudo apt-get update命令也会报错
重启虚拟机,克隆虚拟机后,重启电脑解决
https://blog.youkuaiyun.com/kdchxue/article/details/81046192 此时参考这篇博客,安装protobuf。
sudo apt-get install autoconf automake libtool curl make g++ unzip
成功
git clone https://github.com/google/protobuf.git
成功
$ cd protobuf
$ git submodule update --init --recursive
失败,这里每次都会失败。
成功之路
根据百度文心一言的教程
成功