CMake Error: Could not find CMAKE_R
平凡中寻找不平凡
这个作者很懒,什么都没留下…
展开
-
linux cmake fatal error: tchar.h: 没有那个文件或目录
1.分析问题问题原因在于找不到对应的.h(头文件)原创 2021-07-28 09:46:00 · 3136 阅读 · 0 评论 -
terminate called after throwing an instance of ‘c10::IndexError‘
terminate called after throwing an instance of 'c10::IndexError' what(): select(): index 3 out of range for tensor of size [3] at dimension 0 (select at ../aten/src/ATen/native/TensorShape.cpp:765) frame #0: c10::Error::Error(c10::SourceLocation, std.原创 2020-08-19 14:35:18 · 2529 阅读 · 0 评论 -
在函数‘ROIAlign_forward(at::Tensor const&, at::Tensor consst&, at::Tensor const&, double, long, long, l
1.errorCMakeFiles/example-app.dir/example-app.cpp.o:在函数‘ROIAlign_forward(at::Tensor const&, at::Tensor const&, double, long, long, long, bool)’中:example-app.cpp:(.text+0x1743):对‘ROIAlign_forward_cuda(at::Tensor const&, at::Tensor const&,原创 2020-08-19 10:11:06 · 806 阅读 · 1 评论 -
Ubuntu18.04 Cmake升级到16.2
1. 先查看自己的cmake版本,我的版本是3.10.2cmake --version2.安装cmake16.2安装依赖sudo apt-get install build-essential下载安装包wget https://cmake.org/files/v3.16/cmake-3.16.2.tar.gz3.解压文件并进入tar xf cmake-3.16.2.tar.gz cd cmake-3.16.2/4.编译./configure我这里出现了以下问题,缺原创 2020-08-16 16:47:21 · 1709 阅读 · 2 评论