当前位置:网站首页>The solution to the "undefined symbol: \u cxa\throw\bad\array\new\u length, version qt\u 5" error reported by the Kirin system startup application
The solution to the "undefined symbol: \u cxa\throw\bad\array\new\u length, version qt\u 5" error reported by the Kirin system startup application
2022-06-29 21:42:00 【Changsha Red fatty QT】
If the article is original , Reprint please indicate the source of the original
This article blog address :https://hpzwl.blog.csdn.net/article/details/125516818
Qt Development column : All kinds of problems are solved ( Click on the portal )
Related development of domestic Kirin system
problem
When the Kirin application is deployed to the target hardware, a problem appears "undefined symbol: __cxa_throw_bad_array_new_length, version Qt_5".
The error screenshot is as follows :

Work done in advance
1. Use the virtual machine to install Kirin for testing in advance Qt, Several physical machines were used in advance to test Qt No problem .
Try to solve
1. take Qt The version is changed to Qt edition , The same goes for running ( As long as the machine where the application is deployed is not installed Qt), Even if it's installed Qt If installed Qt If the path of is different from that of the development machine, an error is also reported .
2. Will be installed Qt Several libraries of version ,cp To /lib/x86…( The system is placed in the path of the runtime ) Replace several Qt library , The Kirin interface is down .
3. Use QCustomplot( Use opengl, Installed opengl), The operation reports the same error .
4. Use QCustomplot( not used opengl, Shut down the opengl), The operation reports the same error .
5. No QCustomplot, Operation can display ( Command line run ).
Cause analysis
1. Analyze according to the solution , And opengl irrelevant , But with the QCustomplot Control related .
2.Qt5.12.8 The library is exactly the same , But will Qt Copy the library to the system directory ( only QWidgets library ) It caused the kylin desktop to collapse , You can basically judge that Kirin compiled it by itself Qt5.12.8 The library of .
3. End use LD_LIBRARY_PATH You can take QCustomplot The running error is eliminated ,
resolvent
This error uses LD_LIBRARY_PATH= install Qt In the directory of gcc_64/lib, The error can be eliminated , And run .
If the article is original , Reprint please indicate the source of the original
This article blog address :https://hpzwl.blog.csdn.net/article/details/125516818
边栏推荐
- Desai wisdom number - other charts (basic sunrise chart): high frequency words in graduation speech
- The explain function of the DALEX package of R language generates a machine learning model interpreter and predict for the specified classification prediction_ The parts function analyzes the contribu
- 阿里巴巴关键字搜索商品API接口(item_search-按关键字搜索商品接口),阿里巴巴搜索API接口
- 阿里巴巴店铺的所有商品API接口(item_search_shop-获得店铺的所有商品接口),阿里巴巴API接口
- Flutter technology and Practice (2)
- Getting started with completabilefuture
- 阿里巴巴商品详情API接口(item_get-获得商品详情接口),阿里巴巴API接口
- Selection of materials for space conductive disc slip ring
- [advanced ROS chapter] lesson 2 custom header and source file encapsulation
- Flame retardant test of aluminum sheet as/nzs 1530.1 non combustible materials
猜你喜欢

Practical guide to GStreamer application development (V)

Layer 3 loop brought by route Summary - solution experiment

高校如何基于云原生构建面向未来的智慧校园?全栈云原生VS传统技术架构

Win10添加ssh公钥

Implementation and Simulation of ads131a04 ADC Verilog

一颗新的北极星已经升起!

【ROS进阶篇】第四讲 ROS中的重名问题(节点、话题与参数)

Clock tree synthesis (CTS)

Reinforcement learning weekly (issue 51): integration of PAC, ilql, RRL & model free reinforcement learning into micro grid control: overview and Enlightenment

STL tutorial 6-deque, stack, queue, list container
随机推荐
How to evaluate iFLYTEK AI translation pen P20 series? Is it worth buying?
Storage principle of string
Summary of document level symbols under different systems
Rsync 建立多目录模块的方法
Calibration, correction and world coordinate calculation of binocular stereo vision camera (openCV)
炒股开户请问哪个券商佣金是最低最安全的
亚马逊关键词搜索API接口(item_search-按关键字搜索亚马逊商品接口),亚马逊API接口
GoAhead 翻译—Active Server Pages
HAproxy + Keepalive实现LDAP代理服务
Advances in computational imaging
STM32 minimum system construction (schematic diagram)
leetcode:307. Area and retrieval - array modifiable
Threejs basic introduction
Writing a makefile for a golang project
小型图书馆项目总结
LSF bsub command
BUAA OO unit 4 HW16 unit 4 Summary and course review
Rsync 的简单应用与配置
Small library project summary
【ROS进阶篇】第三讲 ROS文件系统与分布式通信