matlab树莓派usb摄像头,求 问Simulink做树莓派摄像头显示的一些问题

将 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 上传

b4d287d1aacbf0cf95a77c41289acfe6.gif

c5006d1a5b4047f80d42a7082635a87b.gif

Simulink仿真图

28260d51b5530ceae9f3c2ff80262d30.png

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值