[etherlab-dev] Error bulding simulink model

Andreas Stewering-Bone ab at igh-essen.com
Tue Jun 11 12:10:08 CEST 2013


Hello Cor,

My be the reason is a change of the internal C-API in ML2012

You can switch on compatibility with the old C-API in the RTW settings. 
I do not know the exact name.

Please search and try.

Best regards

Andreas

Am 11.06.2013 11:09, schrieb Cor Meijneke - 3ME:
>
> Dear Andreas,
>
> I've deleted the <mymodel>_etl_hrt directory and built the model 
> again. Same error again.
>
> Regards, Cor
>
> Ps. Here's my full error code:
>
> ### Starting build procedure for model: CorTest
>
> ### Generating code into build folder: 
> /vol/opt/etherlab/rtw/blocks/CorTest_etl_hrt
>
> ### Invoking Target Language Compiler on CorTest.rtw
>
> ### Using System Target File: /vol/opt/etherlab/rtw/etherlab/etherlab.tlc
>
> ### Loading TLC function libraries
>
> ......
>
> ### Initial pass through model to cache user defined code
>
> ...
>
> ### Caching model source code
>
> .......
>
> ### Generating TLC interface API.
>
> .
>
> ### Writing source file CorTest_capi.c
>
> .
>
> ### Writing header file CorTest_capi.h
>
> ...............
>
> ### Writing source file CorTest.c
>
> ### Writing header file CorTest.h
>
> .
>
> ### Writing header file CorTest_types.h
>
> ### Writing header file rtwtypes.h
>
> ### Writing header file CorTest_private.h
>
> .
>
> ### Writing header file rtmodel.h
>
> ### TLC code generation complete.
>
> ### Creating project marker file: rtw_proj.tmw
>
> ### Evaluating PostCodeGenCommand specified in the model
>
> ### Generating parameter meta information: CorTest_meta.txt
>
> .
>
> ### Processing Template Makefile: 
> /vol/opt/etherlab/rtw/etherlab/etherlab_hrt.tmf
>
> ### Creating CorTest.mk from 
> /vol/opt/etherlab/rtw/etherlab/etherlab_hrt.tmf
>
> ### Building CorTest: /usr/local/MATLAB/R2012b/bin/glnxa64/gmake -f 
> CorTest.mk GENERATE_REPORT=0 EXT_MODE=0 EXTMODE_STATIC_ALLOC=0 
> EXTMODE_STATIC_ALLOC_SIZE=1000000 EXTMODE_TRANSPORT=0 MAT_FILE=0
>
> ln -s CorTest.mk Makefile
>
>   CC CorTest_capi.o
>
>   CC ecrt_support.o
>
>   CC        CorTest.o
>
>   CC        hrt_main.o
>
> /vol/opt/etherlab/rtw/src/hrt_main.c:137:26: fatal error: 
> rt_nonfinite.h: No such file or directory
>
> compilation terminated.
>
> gmake: *** [hrt_main.o] Error 1
>
> ### Build procedure for model: 'CorTest' aborted due to an error.
>
>
>
> _______________________________________________
> etherlab-dev mailing list
> etherlab-dev at etherlab.org
> http://lists.etherlab.org/mailman/listinfo/etherlab-dev


Mit freundlichem Gruß

Andreas Stewering-Bone

-- 
------------------------------------------------------------------------

Dipl.-Ing.(FH) Andreas Stewering-Bone
andreas.stewering-bone at igh-essen.com
Tel.: +49 201 / 36014-15

Ingenieurgemeinschaft IgH
Gesellschaft für Ingenieurleistungen mbH
Heinz-Bäcker-Str. 34
D-45356 Essen

Amtsgericht Essen HRB 11500
USt-Id.-Nr.: DE 174 626 722
Geschäftsführung:
- Dr.-Ing. T. Finke,
- Dr.-Ing. W. Hagemeister
Tel.: +49 201 / 360-14-0
http://www.igh-essen.com

------------------------------------------------------------------------

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.etherlab.org/pipermail/etherlab-dev/attachments/20130611/c012ff3e/attachment-0005.htm>


More information about the Etherlab-dev mailing list