IT数码 购物 网址 头条 软件 日历 阅读 图书馆
TxT小说阅读器
↓语音阅读,小说下载,古典文学↓
图片批量下载器
↓批量下载图片,美女图库↓
图片自动播放器
↓图片自动播放器↓
一键清除垃圾
↓轻轻一点,清除系统垃圾↓
开发: C++知识库 Java知识库 JavaScript Python PHP知识库 人工智能 区块链 大数据 移动开发 嵌入式 开发工具 数据结构与算法 开发测试 游戏开发 网络协议 系统运维
教程: HTML教程 CSS教程 JavaScript教程 Go语言教程 JQuery教程 VUE教程 VUE3教程 Bootstrap教程 SQL数据库教程 C语言教程 C++教程 Java教程 Python教程 Python3教程 C#教程
数码: 电脑 笔记本 显卡 显示器 固态硬盘 硬盘 耳机 手机 iphone vivo oppo 小米 华为 单反 装机 图拉丁
 
   -> 人工智能 -> SUPERPOINT-SLAM -> 正文阅读

[人工智能]SUPERPOINT-SLAM

?error: #error C++14 or later compatible compiler is required to use PyTorch.
??? 4 | #error C++14 or later compatible compiler is required to use PyTorch.
????? |? ^~~~~
In file included from /home/lc/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
???????????????? from /home/lc/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
???????????????? from /home/lc/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
???????????????? from /home/lc/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
???????????????? from /home/lc/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
???????????????? from /home/lc/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
???????????????? from /home/lc/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
???????????????? from /home/lc/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/torch.h:3,
???????????????? from /home/lc/SuperPoint_SLAM/include/SPextractor.h:28,
???????????????? from /home/lc/SuperPoint_SLAM/include/KeyFrame.h:30,
???????????????? from /home/lc/SuperPoint_SLAM/include/MapPoint.h:24,
???????????????? from /home/lc/SuperPoint_SLAM/include/FrameDrawer.h:25,
???????????????? from /home/lc/SuperPoint_SLAM/include/Viewer.h:25,
???????????????? from /home/lc/SuperPoint_SLAM/include/Tracking.h:29,
???????????????? from /home/lc/SuperPoint_SLAM/include/System.h:31,
???????????????? from /home/lc/SuperPoint_SLAM/src/System.cc:23:
/home/lc/anaconda3/lib/python3.7/site-packages/torch/include/ATen/ATen.h:4:2: error: #error C++14 or later compatible compiler is required to use ATen.
??? 4 | #error C++14 or later compatible compiler is required to use ATen.
????? |? ^~~~~
In file included from /home/lc/anaconda3/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:19,
???????????????? from /home/lc/anaconda3/lib/python3.7/site-packages/torch/include/c10/core/DispatchKey.h:7,
???????????????? from /home/lc/anaconda3/lib/python3.7/site-packages/torch/include/c10/core/Backend.h:4,
???????????????? from /home/lc/anaconda3/lib/python3.7/site-packages/torch/include/c10/core/Layout.h:3,
???????????????? from /home/lc/anaconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:4,
???????????????? from /home/lc/anaconda3/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3,
???????????????? from /home/lc/anaconda3/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
???????????????? from /home/lc/anaconda3/lib/python3.7/site-packages/torch/include/ATen/ATen.h:9,
???????????????? from /home/lc/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
???????????????? from /home/lc/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
???????????????? from /home/lc/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
???????????????? from /home/lc/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
???????????????? from /home/lc/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
???????????????? from /home/lc/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
???????????????? from /home/lc/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
???????????????? from /home/lc/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/torch.h:3,
???????????????? from /home/lc/SuperPoint_SLAM/include/SPextractor.h:28,
???????????????? from /home/lc/SuperPoint_SLAM/include/KeyFrame.h:30,
???????????????? from /home/lc/SuperPoint_SLAM/include/MapPoint.h:24,
???????????????? from /home/lc/SuperPoint_SLAM/include/FrameDrawer.h:25,
???????????????? from /home/lc/SuperPoint_SLAM/include/Viewer.h:25,
???????????????? from /home/lc/SuperPoint_SLAM/include/Tracking.h:29,
???????????????? from /home/lc/SuperPoint_SLAM/include/System.h:31,
???????????????? from /home/lc/SuperPoint_SLAM/src/System.cc:23:
/home/lc/anaconda3/lib/python3.7/site-packages/torch/include/c10/util/C++17.h:24:2: error: #error You need C++14 to compile PyTorch
?? 24 | #error You need C++14 to compile PyTorch
????? |? ^~~~~

Looking at this page?https://gcc.gnu.org/projects/cxx-status.html?209?I am guessing if you compiler is not >= version 4.9 then you will need to upgrade it

If your compiler does support c++14 then you need to set a flag to -std=c++14 to tell the compiler to use c++14

if building from source I think you would do the following

in CMakeCache.txt file find?CMAKE_CXX_FLAGS:STRING=?and set it to?CMAKE_CXX_FLAGS:STRING=-std=c++14
or?CMAKE_CXX_FLAGS:STRING=-std=c++1y

or take a look at this




  人工智能 最新文章
2022吴恩达机器学习课程——第二课(神经网
第十五章 规则学习
FixMatch: Simplifying Semi-Supervised Le
数据挖掘Java——Kmeans算法的实现
大脑皮层的分割方法
【翻译】GPT-3是如何工作的
论文笔记:TEACHTEXT: CrossModal Generaliz
python从零学(六)
详解Python 3.x 导入(import)
【答读者问27】backtrader不支持最新版本的
上一篇文章      下一篇文章      查看所有文章
加:2022-03-13 21:47:25  更:2022-03-13 21:51:24 
 
开发: C++知识库 Java知识库 JavaScript Python PHP知识库 人工智能 区块链 大数据 移动开发 嵌入式 开发工具 数据结构与算法 开发测试 游戏开发 网络协议 系统运维
教程: HTML教程 CSS教程 JavaScript教程 Go语言教程 JQuery教程 VUE教程 VUE3教程 Bootstrap教程 SQL数据库教程 C语言教程 C++教程 Java教程 Python教程 Python3教程 C#教程
数码: 电脑 笔记本 显卡 显示器 固态硬盘 硬盘 耳机 手机 iphone vivo oppo 小米 华为 单反 装机 图拉丁

360图书馆 购物 三丰科技 阅读网 日历 万年历 2025年1日历 -2025/1/9 16:03:49-

图片自动播放器
↓图片自动播放器↓
TxT小说阅读器
↓语音阅读,小说下载,古典文学↓
一键清除垃圾
↓轻轻一点,清除系统垃圾↓
图片批量下载器
↓批量下载图片,美女图库↓
  网站联系: qq:121756557 email:121756557@qq.com  IT数码