- 博客(6)
- 收藏
- 关注
原创 sudo apt install libjasper1 libjasper-dev过程无法定位软件包问题解决
原因:因为按照大多数教程的源已经不能用了,所以需要更换新的源,本次摸索由实验室同门安装过程中的心得,这个贼流畅!!(适合opencv安装过程中的软件无法定位问题。)源的具体内容如下:deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ bionic-updates main restricted universe multiversedeb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu-port
2022-03-23 18:56:50
7045
7
原创 Ipopt安装【Ubuntu18.04】XAVIER(ARM架构)
从官网下载Ipopt的安装包(网址:www.coin-or.org/download/source/Ipopt/)下载完为*.tar.gz的格式,解压一下,命令如下:tar -zxvf *.tar.gz编译:$ cd Ipopt-3.12.8 //进入这个文件夹$ mkdir build $ cd build $ ../configure --build=arm-linux //配置安装为arm架构的$ make -j4 $ make install 把编译完
2022-03-23 15:28:37
2235
2
原创 C++中关于数据类型的错误error: call of overloaded ‘abs(std::size_t)’ is ambiguous
代码编译时不时会出现这种错误,大概的中文意思就是这个变量的数据类型比较模糊,这里解决方案就是可以强制转换一下数据类型,即在变量前加一个int(本项目中该变量的数据类型为int,根据项目而定)。std::abs((int)i - (int)center_id) < std::abs((int)nearest_id - (int)center_id)...
2022-03-22 23:12:52
1954
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人