[etherlab-users] Compiling Problem due to missing header-file

Dr.-Ing. Wilhelm Hagemeister hm at igh.de
Tue Jan 19 14:15:29 CET 2016


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
>
>
> _______________________________________________
> 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