Hey guys I have encountered the following error while trying to run my simulink block in external mode. How can I solve it
rtiostream_serial_daemon.cpp:(.text.rtIOStreamSend+0x10): undefined reference to `Print::write(unsigned char const*, unsigned int)’ collect2.exe: error: ld returned 1 exit status gmake[1]: *** [../blink_simulink.elf] Error 1 gmake[1]: Leaving directory `E:/OneDrive/Desktop/output/blink_simulink_ert_rtw’ gmake: *** [all] Error 2 The make command returned an error of 2 ### Build procedure for blink_simulink aborted due to an error.
Build Summary
Top model targets built: Model Action Rebuild Reason ==================== blink_simulink Failed Code generation information file does not exist.
0 of 1 models built (0 models already up to date) Build duration: 0h 5m 35.22srtiostream_serial_daemon.cpp:(.text.rtIOStreamSend+0x10): undefined reference to `Print::write(unsigned char const*, unsigned int)’ collect2.exe: error: ld returned 1 exit status gmake[1]: *** [../blink_simulink.elf] Error 1 gmake[1]: Leaving directory `E:/OneDrive/Desktop/output/blink_simulink_ert_rtw’ gmake: *** [all] Error 2 The make command returned an error of 2 ### Build procedure for blink_simulink aborted due to an error.
Build Summary
Top model targets built: Model Action Rebuild Reason ==================== blink_simulink Failed Code generation information file does not exist.
0 of 1 models built (0 models already up to date) Build duration: 0h 5m 35.22s rtiostream_serial_daemon.cpp:(.text.rtIOStreamSend+0x10): undefined reference to `Print::write(unsigned char const*, unsigned int)’ collect2.exe: error: ld returned 1 exit status gmake[1]: *** [../blink_simulink.elf] Error 1 gmake[1]: Leaving directory `E:/OneDrive/Desktop/output/blink_simulink_ert_rtw’ gmake: *** [all] Error 2 The make command returned an error of 2 ### Build procedure for blink_simulink aborted due to an error.
Build Summary
Top model targets built: Model Action Rebuild Reason ==================== blink_simulink Failed Code generation information file does not exist.
0 of 1 models built (0 models already up to date) Build duration: 0h 5m 35.22s simulink, external mode MATLAB Answers — New Questions