将 Simulink程序烧录制 树莓派上时、发生了错误:
The call to realtime_make_rtw_hook, during the after_make hook generated the following error:
Error executing SSH command: make: Entering directory `/home/pi/untitled_rtt'
"gcc" -I"./" -O3 -D"MODEL=untitled" -D"NUMST=1" -D"NCSTATES=0" -D"HAVESTDIO=" -D"ON_TARGET_WAIT_FOR_START=1" -D"ONESTEPFCN=0" -D"EXT_MODE=1" -D"TERMFCN=1"
-D"MAT_FILE=0" -D"MULTI_INSTANCE_CODE=0" -D"INTEGER_CODE=0" -D"MT=0" -D"CLASSIC_INTERFACE=0" -D"TID01EQ=0" -D"_USE_TARGET_UDP_="
-D"_RUNONTARGETHARDWARE_BUILD_=" -c ./sdl_video_display.c ./v4l2_capture.c ./v4l2_capture_linux.c ./linuxUDP.c ./ext_svr.c ./ext_work.c .
/rtiostream_interface.c ./updown.c ./rtiostream_tcpip.c ./rtiostream_utils.c ./ert_main.c ./untitled.c ./untitled_data.c
In file included from ./untitled.h:31:0,
from ./ert_main.c:28:
./sdl_video_display.h:25:23: fatal error: SDL/SDL.h: No such file or directory
compilation terminated.
In file included from ./untitled.h:31:0,
from ./untitled.c:17:./sdl_video_display.h:25:23: fatal error: SDL/SDL.h: No such file or directory
compilation terminated.
In file included from ./untitled.h:31:0,from ./untitled_data.c:17:
./sdl_video_display.h:25:23: fatal error: SDL/SDL.h: No such file or directorycompilation terminated.
make: *** [sdl_video_display.o] Error 1
make: Leaving directory `/home/pi/untitled_rtt'
The build process will terminate as a result.
Caused by:
Error executing SSH command: make: Entering directory `/home/pi/untitled_rtt'
"gcc" -I"./" -O3 -D"MODEL=untitled" -D"NUMST=1" -D"NCSTATES=0" -D"HAVESTDIO=" -D"ON_TARGET_WAIT_FOR_START=1" -D"ONESTEPFCN=0" -D"EXT_MODE=1"
-D"TERMFCN=1" -D"MAT_FILE=0" -D"MULTI_INSTANCE_CODE=0" -D"INTEGER_CODE=0" -D"MT=0" -D"CLASSIC_INTERFACE=0" -D"TID01EQ=0" -D"_USE_TARGET_UDP_="
-D"_RUNONTARGETHARDWARE_BUILD_=" -c ./sdl_video_display.c ./v4l2_capture.c ./v4l2_capture_linux.c ./linuxUDP.c ./ext_svr.c ./ext_work.c .
/rtiostream_interface.c ./updown.c ./rtiostream_tcpip.c ./rtiostream_utils.c ./ert_main.c ./untitled.c ./untitled_data.c
In file included from ./untitled.h:31:0,
from ./ert_main.c:28:
./sdl_video_display.h:25:23: fatal error: SDL/SDL.h: No such file or directory
compilation terminated.
In file included from ./untitled.h:31:0,
from ./untitled.c:17:./sdl_video_display.h:25:23: fatal error: SDL/SDL.h: No such file or directory
compilation terminated.
In file included from ./untitled.h:31:0,
from ./untitled_data.c:17:./sdl_video_display.h:25:23: fatal error: SDL/SDL.h: No such file or directorycompilation terminated.
make: *** [sdl_video_display.o] Error 1
make: Leaving directory `/home/pi/untitled_rtt'
想问一下有没有遇见过这样问题的朋友、、我只是测试了下把SDL Display删除就可以烧录了、、但是我想看到电脑接受的实时状况
2015-10-17 14:54 上传
Simulink仿真图