当前位置:网站首页>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
边栏推荐
- Report delivery engineer
- Which brokerage commission is the lowest and safest
- Vipshop Keyword Search API interface (item_search- search vipshop commodity API interface by keyword), vipshop API interface
- How to evaluate iFLYTEK AI translation pen P20 series? Is it worth buying?
- About Effect Size
- Viewing technological changes through Huawei Corps (V): smart Park
- 企业实施MES系统的关键点详解
- Shutter bottomnavigationbar with page switching example
- 数字密码锁verilog设计+仿真+上板验证
猜你喜欢

Vipshop product details API interface (item_get- get vipshop product details interface), vipshop details API interface

Implementation and Simulation of ads131a04 ADC Verilog

verilog实现串口通信发送到数码管


小型图书馆项目总结

Analysis of the factors affecting the transmission signal of the conductive slip ring

How to judge the quality of conductive slip ring from its appearance

leetcode:370. 区间加法

唯品会商品详情API接口(item_get-获得唯品会商品详情接口),唯品会详情API接口

铝板AS/NZS 1530.1 不燃性材料的阻燃测试
随机推荐
[cloud native practice] kubesphere practice - Multi tenant system practice
How to prepare samples for application of color coated steel sealing plates to BS 476-3?
Live broadcast preview | PostgreSQL kernel Interpretation Series Lecture 1: overview of PostgreSQL system
Matlab output format control%d,%f,%c,%s usage
verilog实现串口通信发送到数码管
A keepalived high availability accident made me learn it again!
leetcode:724. Find the central subscript of the array
亚马逊关键词搜索API接口(item_search-按关键字搜索亚马逊商品接口),亚马逊API接口
Realization of graduation project topic selection system based on JSP
Flame retardant test of aluminum sheet as/nzs 1530.1 non combustible materials
Basic qualities of management personnel
What problems should be avoided when using the points mall games for marketing?
美国隧道法ASTM E84 表面阻燃测试
Knowledge distilling learning notes
Recruit | DBA Data Engineer every week with an annual salary of 35+. Dream of Kyushu and bright stars!
flutter BottomNavigationBar切换页面保持状态
Selection of materials for space conductive disc slip ring
DB queries the database, merges two unrelated tables, adds non-existent fields, and assigns default values
yolov6训练自己的数据记录+yolov5对比测试
[advanced ROS chapter] Lecture 4: duplicate names in ROS (nodes, topics and parameters)