仿真无问题,编译中遇到In doit: Assertion failed: msg.empty() Internal error
Show older comments
CGIR assertion 'B:\matlab\src\cgir_cpp_emitter\sanity\NodeChecker.cpp(95): In doit: Assertion failed: msg.empty() Internal error: illegal construct found during emission of function |Debouncer|: |uint8_nonNative_t| is a non-native type and is undefined for the current target.' failed in 'B:\matlab\src\cgir_cpp_emitter\sanity\NodeChecker.cpp:95'
[ 0] 0x00007ff815a2aad5 D:\Software\Matlab2025b\bin\win64\cg_ir.dll+06925013 CG::operator<<=+00000101
[ 1] 0x00007ff806b79b7c D:\Software\Matlab2025b\bin\win64\cgir_cpp_emitter.dll+00564092 CG::domCpp::NewExpr::setBaseType+00043788
[ 2] 0x00007ff806b7982e D:\Software\Matlab2025b\bin\win64\cgir_cpp_emitter.dll+00563246 CG::domCpp::NewExpr::setBaseType+00042942
[ 3] 0x00007ff806b77e8e D:\Software\Matlab2025b\bin\win64\cgir_cpp_emitter.dll+00556686 CG::domCpp::NewExpr::setBaseType+00036382
[ 4] 0x00007ff806ba29c3 D:\Software\Matlab2025b\bin\win64\cgir_cpp_emitter.dll+00731587 CG::domCpp::ConvertForLoops::~ConvertForLoops+00056947
[ 5] 0x00007ff806ba0415 D:\Software\Matlab2025b\bin\win64\cgir_cpp_emitter.dll+00721941 CG::domCpp::ConvertForLoops::~ConvertForLoops+00047301
[ 6] 0x00007ff80be478ee D:\Software\Matlab2025b\bin\win64\cgir_support.dll+05798126 CG::FcnTransform::apply+00000142
[ 7] 0x00007ff806b3d2a0 D:\Software\Matlab2025b\bin\win64\cgir_cpp_emitter.dll+00316064 CG::GenericTagCategory<CG::ModuleExportTag,0>::clearTag+00000496
[ 8] 0x00007ff819c1e9b8 D:\Software\Matlab2025b\bin\win64\rtwcg.dll+01436088 RTWCG::OutlinedBlockFcnTag::toPrettyPrintString+00000232
[ 9] 0x00007ff819e1c74f D:\Software\Matlab2025b\bin\win64\rtwcg.dll+03524431 RTWCG::RTWCGModule::xformTargetFcns+00073903
[ 10] 0x00007ff819e1ae4e D:\Software\Matlab2025b\bin\win64\rtwcg.dll+03518030 RTWCG::RTWCGModule::xformTargetFcns+00067502
[ 11] 0x00007ff819e15bee D:\Software\Matlab2025b\bin\win64\rtwcg.dll+03496942 RTWCG::RTWCGModule::xformTargetFcns+00046414
[ 12] 0x00007ff819bd1acf D:\Software\Matlab2025b\bin\win64\rtwcg.dll+01120975 RTWCG::target::runtime::SpecialVarsTagData::prettyPrint+00000079
[ 13] 0x00007ff80be55dbc D:\Software\Matlab2025b\bin\win64\cgir_support.dll+05856700 CG::ScopeTransform::apply+00000092
[ 14] 0x00007ff81a50087d D:\Software\Matlab2025b\bin\win64\rtwcg.dll+10750077 SLCG::Pass::RaiseClassFromServiceStructsConfig::operator=+00044653
[ 15] 0x00007ff81a4ff9c1 D:\Software\Matlab2025b\bin\win64\rtwcg.dll+10746305 SLCG::Pass::RaiseClassFromServiceStructsConfig::operator=+00040881
编译过程因错误而中止。
1 Comment
Chuguang Pan
2 minutes ago
@Yunpeng. The error message shows that the |uint8_nonNative_t| is a non-native type and is undefined for the current target. You can check the content in B:\matlab\src\cgir_cpp_emitter\sanity\NodeChecker.cpp:95.
Answers (0)
Categories
Find more on Bartlett in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!