[etherlab-users] Compiling Problem due to missing header-file
Oldenbourg, Mitja
mitja.oldenbourg at ipk.fraunhofer.de
Tue Jan 19 14:08:14 CET 2016
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20160119/1936cbf6/attachment-0002.htm>
More information about the Etherlab-users
mailing list