[etherlab-users] Compiling Problem due to missing header-file
Magnus Persson
magnus.persson at flexenclosure.com
Tue Jan 19 14:37:55 CET 2016
Hello
rt_nonfinite.h is generated by matlab code generation, look in your code
gen source folder.
Also make sure that you have checked the "non-finite numbers" checkbox
under your Model Configuration Parameter -> Code Generation -> Interface
Regards
Magnus
On 2016-01-19 14:15, Dr.-Ing. Wilhelm Hagemeister wrote:
> have you installed the EtherCat-Master?
>
> The first error complains that ecrt_support.c is missing...
>
> Regards Wilhelm.
>
> Am 19.01.2016 um 14:08 schrieb Oldenbourg, Mitja:
>> Dear Etherlab users,
>>
>> we have installed Etherlab 2.1.0 along with pdserv 1.1.0 and Matlab
>> 2014b. To test things out we made a very simple test model in simulink
>> using a Master state block and a Domain State block. with "ctrl+b" it
>> encounters following error:
>> "/opt/etherlab/rtw/src/hrt_main.c:138: fatal error: rt_nonfinite.h:
>> Datei oder Verzeichnis nicht gefunden"
>> stating that it can't find the file rt_nonfinite.h
>> Do you have any idea what causes this problem and how to solve it?
>>
>>
>>
>> Whole Build procedure for model:
>>
>> ### Invoking Target Language Compiler on newtest.rtw
>> ### Using System Target File: /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 newtest_capi.c
>> ### Writing header file newtest_capi.h
>> ### Writing source file newtest.c
>> ### Writing header file newtest.h
>> ### Writing header file newtest_types.h
>> ### Writing header file rtwtypes.h
>> ### Writing header file builtin_typeid_types.h
>> ### Writing header file multiword_types.h
>> ### Writing header file newtest_private.h
>> ### Writing header file rtmodel.h
>> ### Writing source file newtest_data.c
>> ### TLC code generation complete.
>> ### File ecrt_support.c associated with S-Function 'domain_state' (used
>> in 'newtest/Domain State') does not exist
>> ### File ecrt_support.c associated with S-Function 'master_state' (used
>> in 'newtest/Master State') does not exist
>> ### Processing Template Makefile:
>> /opt/etherlab/rtw/etherlab/etherlab_hrt.tmf
>> ### Creating newtest.mk from /opt/etherlab/rtw/etherlab/etherlab_hrt.tmf
>> ### Building newtest: /home/jasper/MATLAB2014/bin/glnxa64/gmake -f
>> newtest.mk EXT_MODE=0 EXTMODE_STATIC_ALLOC=0
>> EXTMODE_STATIC_ALLOC_SIZE=1000000 EXTMODE_TRANSPORT=0 MAT_FILE=0
>> CC newtest_capi.o
>> CC newtest_data.o
>> CC newtest_header.o
>> CC ecrt_support.o
>> CC newtest.o
>> CC hrt_main.o
>> /opt/etherlab/rtw/src/hrt_main.c:138: fatal error: rt_nonfinite.h: Datei
>> oder Verzeichnis nicht gefunden
>> compilation terminated.
>> gmake: *** [hrt_main.o] Fehler 1
>>
>> Thank you very much in advance.
>>
>> Best regards,
>>
>> Mitja Oldenbourg
>>
>>
>>
Magnus Persson
System Architect
Office: +46 510 42 70 00
Mobile: +46 766 35 03 22
Skype: magnus.persson.flexenclosure
E-mail: magnus.persson at flexenclosure.com
Flexenclosure
_______________________________________________
>> etherlab-users mailing list
>> etherlab-users at etherlab.org
>> http://lists.etherlab.org/mailman/listinfo/etherlab-users
>>
> _______________________________________________
> etherlab-users mailing list
> etherlab-users at etherlab.org
> http://lists.etherlab.org/mailman/listinfo/etherlab-users
>
More information about the Etherlab-users
mailing list