本文主要是使用C++环境调用模型权重文件而需要的开发环境搭建,Install Options
Install Options
Choose options for installing Cmake 3. 14.3
By default CMake does not add its directory to the system PATH
ODo not add CMake to the system PATH
O Add CMake to the system PATH for all user
1.在网上下载cmake压缩包
cmake-3.16.2.tar
2.将其复制到自己想要存放的目录下,例如/home/commonAPI
3.解压
tar -zxv -f cmake-3.16.2.tar
4.进入解压缩后的文件夹
cd cmake-3.16.2
5.执行配置文件
./configure
6.编译
make
7.安装
make install
安装时会报错,错误提示为:
Install the project...
-- Install configuration: