当前位置:网站首页>gcc7.5.0编译ceres-solver报错‘is_trivially_default_constructible’ is not a member of ‘std’
gcc7.5.0编译ceres-solver报错‘is_trivially_default_constructible’ is not a member of ‘std’
2022-08-04 16:10:00 【ning_ww】
一、问题描述
参考此解决方法:
gcc编译ceres-solver报错‘is_trivially_default_constructible’ is not a member of ‘std’
gcc版本太低时,升级gcc即可
但是我的gcc版本是7.5.0,不算太低
gcc --version

二、解决方法
通过编译时的打印信息发现
编译过程中使用的gcc版本竟然是4.8.0
通过在编译时指定gcc解决
cmake .. -DCMAKE_CXX_COMPILER=`which g++` -DCMAKE_C_COMPILER=`which gcc`
边栏推荐
- 基本的SELECT语句
- In-depth analysis of HyperBDR cloud disaster recovery 1: Cloud-native cross-platform disaster recovery, making data flow more flexible
- 全球电子产品需求放缓 三星手机越南工厂每周只需要干 3~4 天
- 招募 | 香港理工大学Georg Kranz 博士诚招博士
- 屏幕分辨率兼容性
- 【TA-霜狼_may-《百人计划》】美术2.7 Metallic 与 Speculer流程
- Redis持久化操作
- flink cdc怎么指定位点,从某个位点开始消费mysql的Binlog?
- 攻防视角下,初创企业安全实战经验分享
- 寻找消失的类名
猜你喜欢

有哪些好用的IT资产管理平台?

“敏捷欺骗了开发人员”

911S5正式谢幕后 如何找到一个好用的替代品

DocuWare Platform - Content Services and Workflow Automation Platform for Document Management (Part 1)

跟我学 UML 系统建模

Projector reached the party benefits 】 【 beginners entry - brightness projection and curtain selection - from entry to the master

NFT blind box mining system dapp development NFT chain game construction

一文详解什么是软件部署

【打卡】广告-信息流跨域ctr预估(待更新)

一文解答DevOps平台的制品库是什么
随机推荐
奖金池高达 20 万,RTE 2022 创新编程挑战赛正式开启
【Es6中的promise】
全差分运放:THS4140
C#命令行解析工具
B 站又上热搜了, HR 称「核心用户都是 Loser」
Analysis of Http-Sumggling Cache Vulnerability
大家有没有遇到过 cdc mysql to doris只能单task,看不到具体数据流。怎么回事?
在Markdown文件中快速插入本地图片
inter-process communication
Does DMS have an interface to get the list of databases under each instance?
吴恩达机器学习[13]-支持向量机
Request method ‘POST‘ not supported。 Failed to load resource: net::ERR_FAILED
GPS satellite synchronization clock, NTP network synchronization clock, Beidou clock server (Jingzhun)
The electromagnetic compatibility EMC protection study notes
Projector reached the party benefits 】 【 beginners entry - brightness projection and curtain selection - from entry to the master
#夏日挑战赛# HarmonyOS 实现一个滑块验证
面试官:多个线程执行完毕后,才执行另一个线程,该怎么做?
可视化大屏丑?这篇文章教你如何做美观大屏!
请问一下dms的跨阿里云账户 新增实例,是不是无法新增redis ?
无心剑七绝《七夕牵手》