Missing builtin_typeid_types.h with OpenECU

5 visualizaciones (últimos 30 días)
Rushil Thakker
Rushil Thakker el 4 de Mzo. de 2020
Respondida: David Fink el 4 de Mayo de 2020
When Building an openECU Simulink model with the command:
>> oe_create_model('step1', 'dd', 'stp', 'template', 'minimal', 'part', '01T-068276', 'issue', 2)
Then upon Building the model with the GCC compiler the following log and errors are generated. Any ideas how to fix or solve this issue.
I was following the getting started guide inthe following link when I first encountered the error.
### Generating code into build folder: C:\Users\Mizzou Eco-Racing\Documents\MATLAB\step1_r2018.2_64_oe_2.8.0_r2019_1_unknown
### Invoking Target Language Compiler on step1.rtw
### Using System Target File: C:\openecu\platform\2_8_0_r2019-1\openecu\rtw\c\openecu_grt_rsim\openecu.tlc
### Loading TLC function libraries
### Initial pass through model to cache user defined code
### Caching model source code
### Writing header file step1_types.h
### Writing header file step1.h
### Writing source file step1.c
### Writing header file rtwtypes.h
### Writing header file multiword_types.h
### Writing header file step1_private.h
### Writing source file step1_data.c
.
### Writing header file rt_nonfinite.h
### Writing source file rt_nonfinite.c
### Writing header file rt_defines.h
### Writing header file rtGetInf.h
### Writing source file rtGetInf.c
### Writing header file rtGetNaN.h
.
### Writing source file rtGetNaN.c
### TLC code generation complete.
### TLC code generation continues for OpenECU.
### Writing automatic data dictionary file mpl_dd.txt
### Writing C-API configuration file step1.capi
### TLC code generation complete for OpenECU.
### Reading automatically generated platform DDEs from mpl_dd.txt
### Writing model DDE file step1.dde.tmp
.
### Processing Template Makefile: C:\openecu\platform\2_8_0_r2019-1\openecu\rtw\c\openecu_grt_rsim\openecu_r2018b_64.tmf
### step1.mk which is generated from C:\openecu\platform\2_8_0_r2019-1\openecu\rtw\c\openecu_grt_rsim\openecu_r2018b_64.tmf is up to date
### Building step1: .\step1.bat
C:\Users\Mizzou Eco-Racing\Documents\MATLAB\step1_r2018.2_64_oe_2.8.0_r2019_1_unknown>set MATLAB=C:\Program Files\MATLAB\R2018b
C:\Users\Mizzou Eco-Racing\Documents\MATLAB\step1_r2018.2_64_oe_2.8.0_r2019_1_unknown>"C:\Program Files\MATLAB\R2018b\bin\win64\gmake" -f step1.mk MODELLIB=step1lib.a RSIM_SOLVER_SELECTION=1 PCMATLABROOT="C:\\Program Files\\MATLAB\\R2018b" EXT_MODE=0 EXTMODE_STATIC_ALLOC=0 EXTMODE_STATIC_ALLOC_SIZE=1000000 EXTMODE_TRANSPORT=0 TMW_EXTMODE_TESTING=0 RSIM_PARAMETER_LOADING=1 MAX_DD_LENGTH=31 CONT_IF_VISION_STRATEGY_FAILS=0 COMBINE_OUTPUT_UPDATE_FCNS=0 INCLUDE_MDL_TERMINATE_FCN=1 MULTI_INSTANCE_CODE=0 MODELREF_TARGET_TYPE=NONE RELATIVE_PATH_TO_ANCHOR=.. ISPROTECTINGMODEL=NOTPROTECTING
C:/openecu/platform/2_8_0_r2019-1/openecu/../tools/python/python -E C:/openecu/platform/2_8_0_r2019-1/openecu/../tools/check_compiler/check_compiler.py --gcc_4_7_3
Searching for GCC 4.7.3 compiler...
Found installed GCC compiler.
C:/openecu/platform/2_8_0_r2019-1/openecu/../tools/python/python -E C:/openecu/platform/2_8_0_r2019-1/openecu/../tools/capi/capi.py --no-return-code -i step1.capi --name-length 31 --output-code step1_api --gcc-ldfile mk_step1_specific_linkage.ld > step1.gen_code.err 2>&1
C:/openecu/platform/2_8_0_r2019-1/openecu/../tools/python/python -E C:/openecu/platform/2_8_0_r2019-1/openecu/../tools/show_build_errors/show_build_errors.py -i step1.gen_code.err -p C:/openecu/platform/2_8_0_r2019-1/openecu\..\doc_user\openecu_user_guide_simulink_chunk
C:/openecu/platform/2_8_0_r2019-1/openecu/../tools/python/python -E C:/openecu/platform/2_8_0_r2019-1/openecu/../tools/gen_pnv_overrides/gen_pnv_overrides.py -m step1.c -t openecu.tlc
C:/openecu/platform/2_8_0_r2019-1/openecu/../tools/gcc_4_7_3/ppc/bin/powerpc-eabispe-gcc -DCFG_M110 -DCFG_SUB_000 -DMODEL=step1 -DNUMST=1 -DTID01EQ=0 -DNCSTATES=0 -DMT=0 -DMODEL_REF_BUILD=0 -Wa,-aln=rtGetInf.s @mk_model_cc_opts.cfg -o rtGetInf.o rtGetInf.c
C:/openecu/platform/2_8_0_r2019-1/openecu/../tools/gcc_4_7_3/ppc/bin/powerpc-eabispe-gcc -DCFG_M110 -DCFG_SUB_000 -DMODEL=step1 -DNUMST=1 -DTID01EQ=0 -DNCSTATES=0 -DMT=0 -DMODEL_REF_BUILD=0 -Wa,-aln=rtGetNaN.s @mk_model_cc_opts.cfg -o rtGetNaN.o rtGetNaN.c
C:/openecu/platform/2_8_0_r2019-1/openecu/../tools/gcc_4_7_3/ppc/bin/powerpc-eabispe-gcc -DCFG_M110 -DCFG_SUB_000 -DMODEL=step1 -DNUMST=1 -DTID01EQ=0 -DNCSTATES=0 -DMT=0 -DMODEL_REF_BUILD=0 -Wa,-aln=rt_nonfinite.s @mk_model_cc_opts.cfg -o rt_nonfinite.o rt_nonfinite.c
C:/openecu/platform/2_8_0_r2019-1/openecu/../tools/gcc_4_7_3/ppc/bin/powerpc-eabispe-gcc -DCFG_M110 -DCFG_SUB_000 -DMODEL=step1 -DNUMST=1 -DTID01EQ=0 -DNCSTATES=0 -DMT=0 -DMODEL_REF_BUILD=0 -Wa,-aln=step1_data.s @mk_model_cc_opts.cfg -o step1_data.o step1_data.c
C:/openecu/platform/2_8_0_r2019-1/openecu/../tools/gcc_4_7_3/ppc/bin/powerpc-eabispe-gcc -DCFG_M110 -DCFG_SUB_000 -DMODEL=step1 -DNUMST=1 -DTID01EQ=0 -DNCSTATES=0 -DMT=0 -DMODEL_REF_BUILD=0 -Wa,-aln=rsim_main.s @mk_model_cc_opts.cfg -o rsim_main.o C:/PROGRA~1/MATLAB/R2018b\rtw\c\rsim/rsim_main.c
In file included from C:/PROGRA~1/MATLAB/R2018b\rtw\c\rsim/rsim_main.c:24:0:
C:/PROGRA~1/MATLAB/R2018b/rtw/c/src/rt_logging.h:17:34: fatal error: builtin_typeid_types.h: No such file or directory
compilation terminated.
gmake: *** [rsim_main.o] Error 1

Respuestas (1)

David Fink
David Fink el 4 de Mayo de 2020
Based on http://support.openecu.com/, it sounds like OpenECU r2.8.0 does not support RSim with MATLAB R2018b.
I recommend reaching out to the creators of OpenECU.

Categorías

Más información sobre Simulink Coder en Help Center y File Exchange.

Productos


Versión

R2018b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by