qt/moc_optionsdialog.cpp:129:1: error: initializer-string for array of chars is too long
修改bitcoin成自己的币,将对应的bitcoin相关的词换成了自己要改的出现了如下错误:
qt/moc_optionsdialog.cpp:129:1: error: initializer-string for array of chars is too long [-fpermissive]
};
^
Makefile:7641: recipe for target 'qt/qt_libhongchangcoinqt_a-moc_optionsdialog.o' failed
make[2]: *** [qt/qt_libhongchangcoinqt_a-moc_optionsdialog.o] Error 1
make[2]: Leaving directory '/home/parallels/Documents/newcoin/hongchang/src'
Makefile:9761: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/parallels/Documents/newcoin/hongchang/src'
Makefile:757: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
然后打开src/qt/moc_optionsdialog.cpp文件查看源码,看到了如下相关的代码:
struct定义中有长度限制,估计自己替换成的字符串太长了 于是替换短一点的,问题解决了!
qt/moc_optionsdialog.cpp:129:1: error: initializer-string for array of chars is too long相关推荐
- c语言 安装初始化错误,错误:初始化元素不是常量(c语言)(Error: Initializer Element is not constant (c language))...
错误:初始化元素不是常量(c语言)(Error: Initializer Element is not constant (c language)) 这是一个存储公式的.h文件,但是它给出了你在第16 ...
- 排错实战 —— 解决 c++ 工程编译错: error C2059 'string' illegal token on right side of xxx
原总结排错vs编译错误错误列表输出窗口 排错排到编译 缘起 最近,项目里出现了一个奇怪的编译错误.乍看错误提示,真有丈二的和尚,摸不着头脑的感觉.解决之后,又是这么的合情合理.具体是什么样的问题呢?一 ...
- ORA-06502:PL/SQL :numberic or value error: character string buffer too small
今天遇到一个错误提示:ORA-06502:PL/SQL :numberic or value error: character string buffer too small,一般对应的中文信息为:O ...
- [C++]cpp小笔记3 --- C++ String and char
字符串实际上就是在内存中在连续位置上保存的字符,字符串结尾以'\0' null字符表示结束. String在C++中有两种表现形式.1. 用C style; 2. 用String class. 1. ...
- QT Widget.cpp重新命名、报错“xxxx“ was not declared in this scope
这里写自定义目录标题 #QT Widget.cpp重新命名.报错"xxxx" was not declared in this scope 将刚创建的新文件 widget.cpp ...
- esp32cam.cpp:30:3: error: ‘camera_sensor_info_t’ was not declared in this scope camera_sensor_info_t
al06825 commented on Feb 19 : Question: Hello- I upgraded ESP32 to 1.0.6 (latest). Keeps getting thi ...
- safari 浏览器 JSON Parse error: Unterminated string
本人用的windows系统,在别的浏览器上都没报错,在safari上直接白屏,报 JSON Parse error: Unterminated string 之后参考 https://blog.csd ...
- Ubuntu18.04安装g2o报错(bal_example.cpp:96:52: error: template argument 2 is invalid)
编译g2o 其中的一个例子一直报错 错误提示:bal_example.cpp:96:52: error: template argument 2 is invalid 解决方案:不编译它 .. (暂 ...
- 关于 编译QT项目时报错: error: cannot find -lGL 的解决方法
若该文为原创文章,转载请注明原文出处 本文章博客地址:https://hpzwl.blog.csdn.net/article/details/78260169 红胖子(红模仿)的博文大全:开发技术集合 ...
最新文章
- mysql的存储引擎详解_Mysql存储引擎详解
- C#操作MySQL数据库的简单例子
- 【逐帧分析】《黑神话:悟空》gameplay相关的技术和调整细节整理
- leetcode1084. 销售分析III(SQL)
- 炒股、投资免于恐惧的思考
- FISCO BCOS 区块链 设置交易最晚处理区块高度
- Python 字典与集合
- 网站在线监控工具Uptime Kuma
- java笔试题库_java笔试题50道 收藏版
- 恒星播放器 for Mac(万能视频播放器)
- 批量创建钱包地址并保存私钥
- SLAM中本质矩阵E,基础矩阵F,单应矩阵H总结
- 浅谈HTML页面基本结构
- 服务器上使用nvcc编译多个cu文件,在cmake中使用nvcc编译。cu
- Microsoft Visual Studio 2005中使用水晶报表详细说明
- linux 性能分析工具——perf
- 推进全息智慧情报研判,助力构建现代交通安全防控体系
- 硬盘分区删除后的恢复!
- 使用map方式获取iris请求中的json请求数据
- 空间与运动——模拟太阳系、牧师与魔鬼游戏实现详解
热门文章
- [COGS 1512][URAL 1519]一级方程式赛车
- Python办公自动化教程-1.1节-Excel基础概念
- SLAM实操入门(七):使用Velodyne16线激光雷达与A-Loam进行三维SLAM
- MIFARE系列逻辑加密卡的安全性分析
- project中如何设置非标准工作时间
- Using PHP as a Spring MVC View via Quercus(转)
- Vue | UI组件库
- 信息系统分析与设计 第七章 用例建模
- cute cut pro中文版,一个被忽视了的视频剪辑App
- oracle sql 转换成 hive sql -三重子查询union all+运算符改为关联查询中嵌套子查询-子查询转关联查询(十一)