当前位置:网站首页>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`
边栏推荐
猜你喜欢
Many merchants mall system function and dismantling 24 - ping the strength distribution of members
勒索软件的原理
For循环控制
寻找消失的类名
游戏云服务器配置怎么选合理?
【TA-霜狼_may-《百人计划》】美术2.7 Metallic 与 Speculer流程
seaborn
07-输入输出系统
No server is required, teach you to get real-time health code recognition with only 30 lines of code
NFT盲盒挖矿系统dapp开发NFT链游搭建
随机推荐
Redis持久化操作
What is an artifact library in a DevOps platform?What's the use?
云存储硬核技术内幕——(13) 抓手,组合拳与闭环
什么是APS?APS+MES如何解决生产难题?
勒索软件的原理
大家有没有遇到过 cdc mysql to doris只能单task,看不到具体数据流。怎么回事?
An article to answer what is the product library of the DevOps platform
EMQ云端与局域网实现桥接功能
Real-Time Rendering 4th related resource arrangement (no credit required)
云存储硬核技术内幕——(12) 皮洛士惨胜罗马军团
JVM Tuning-GC Fundamentals and Tuning Key Analysis
项目里的各种配置,你都了解吗?
2022-08-04日报:量化细胞内的信息流:机器学习时代下的研究进展
微信小程序获取年月日周及早上、中午、晚上
DocuWare Platform - Content Services and Workflow Automation Platform for Document Management (Part 1)
Pulsar消费者处理不当导致的消息积压问题
现代 ABAP 编程语言中的正则表达式
花 30 美金请 AI 画家弄了个 logo,网友:画得非常好,下次别画了!
B站回应HR称核心用户是Loser;微博回应宕机原因;Go 1.19 正式发布|极客头条
MySQL学习之运算符