when connecting to Raspberry Pi 4-B board: Error executing command "make ONLY_MATLAB_IO=1 -C /opt/MATLAB/mw_server_v22.1.0 -f Makefile".
9 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
while trying to run MATLAB on my RPI 4 I get the following error. Any help as to what the problem is?
Error executing command "make ONLY_MATLAB_IO=0 -C /opt/MATLAB/mw_server_v23.1.0 -f Makefile". Details:
STDERR: t’
32 | void display_valid_parameters(char *name, void (*app_help)(char*));
| ~~~~~~^~~~
frameBuffer.c: In function ‘EXT_FRAMEBUFFER_INIT’:
frameBuffer.c:54:55: warning: comparison between pointer and zero character constant [-Wpointer-compare]
54 | for(ii=0;ii<100 & glob_buffer.gl_pathv[i] != '\0';ii++)
| ^~
frameBuffer.c:54:31: note: did you mean to dereference the pointer?
54 | for(ii=0;ii<100 & glob_buffer.gl_pathv[i] != '\0';ii++)
| ^
frameBuffer.c:54:24: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
54 | for(ii=0;ii<100 & glob_buffer.gl_pathv[i] != '\0';ii++)
| ~~^~~~
frameBuffer.c: In function ‘EXT_FRAMEBUFFER_WRITEPIXEL’:
frameBuffer.c:80:9: warning: unused variable ‘ii’ [-Wunused-variable]
80 | int ii ;
| ^~
frameBuffer.c: In function ‘EXT_FRAMEBUFFER_DISPLAYIMAGE’:
frameBuffer.c:107:17: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
107 | for(ii=0; ii<100 & sh_fbname[ii] != '\0'; ii++)
| ~~^~~~
frameBuffer.c:105:10: warning: variable ‘fileName’ set but not used [-Wunused-but-set-variable]
105 | char fileName[100];
| ^~~~~~~~
frameBuffer.c:104:9: warning: unused variable ‘pxllocation’ [-Wunused-variable]
104 | int pxllocation=0;
| ^~~~~~~~~~~
joystick.c: In function ‘EXT_JOYSTICK_INIT’:
joystick.c:45:56: warning: comparison between pointer and zero character constant [-Wpointer-compare]
45 | for(ii=0; ii<100 & glob_buffer.gl_pathv[i] != '\0'; ii++)
| ^~
joystick.c:45:32: note: did you mean to dereference the pointer?
45 | for(ii=0; ii<100 & glob_buffer.gl_pathv[i] != '\0'; ii++)
| ^
joystick.c:45:25: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
45 | for(ii=0; ii<100 & glob_buffer.gl_pathv[i] != '\0'; ii++)
| ~~^~~~
joystick.c: In function ‘EXT_JOYSTICK_READ’:
joystick.c:82:17: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
82 | for(ii=0;(ii<100 & sh_evdevName[ii] != '\0');ii++)
| ~~^~~~
IO_wrapperNanomsgPubSub.c: In function ‘nanomsgPubInit’:
IO_wrapperNanomsgPubSub.c:49:13: warning: pointer targets in assignment from ‘uint8_T *’ {aka ‘unsigned char *’} to ‘char_T *’
{aka ‘char *’} differ in signedness [-Wpointer-sign]
49 | mdlName = &payloadBufferRx[1];
| ^
IO_wrapperNanomsgPubSub.c: In function ‘nanomsgSubInit’:
IO_wrapperNanomsgPubSub.c:73:13: warning: pointer targets in assignment from ‘uint8_T *’ {aka ‘unsigned char *’} to ‘char_T *’
{aka ‘char *’} differ in signedness [-Wpointer-sign]
73 | mdlName = &payloadBufferRx[1];
| ^
IO_wrapperNanomsgPubSub.c: In function ‘nanomsgClientSend’:
IO_wrapperNanomsgPubSub.c:101:14: warning: pointer targets in assignment from ‘uint8_T *’ {aka ‘unsigned char *’} to ‘char_T
*’ {aka ‘char *’} differ in signedness [-Wpointer-sign]
101 | jsonData = &payloadBufferRx[index];
| ^
IO_wrapperNanomsgPubSub.c: In function ‘nanomsgClientRecv’:
IO_wrapperNanomsgPubSub.c:112:14: warning: unused variable ‘index’ [-Wunused-variable]
112 | uint32_T index = 0;
| ^~~~~
MW_Pyserver_control.c: In function ‘MW_execmd’:
MW_Pyserver_control.c:127:9: warning: unused variable ‘ret’ [-Wunused-variable]
127 | int ret = 0, bufferLoc = 0;
| ^~~
MW_Pyserver_control.c: In function ‘MW_getDefines’:
MW_Pyserver_control.c:43:29: warning: ‘MW_pyserver.py’ directive writing 14 bytes into a region of size between 1 and 65535
[-Wformat-overflow=]
43 | sprintf(pyserverLoc, "%sMW_pyserver.py", exePath);
| ^~~~~~~~~~~~~~
MW_Pyserver_control.c:43:5: note: ‘sprintf’ output between 15 and 65549 bytes into a destination of size 65535
43 | sprintf(pyserverLoc, "%sMW_pyserver.py", exePath);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
MW_Pyserver_control.c: In function ‘MW_killPyserver’:
MW_Pyserver_control.c:69:34: warning: ‘%s’ directive writing up to 65534 bytes into a region of size 186 [-Wformat-overflow=]
69 | sprintf(buff, "sudo pkill -f %s", pyserverLoc);
| ^~ ~~~~~~~~~~~
MW_Pyserver_control.c:69:5: note: ‘sprintf’ output between 15 and 65549 bytes into a destination of size 200
69 | sprintf(buff, "sudo pkill -f %s", pyserverLoc);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
MW_Pyserver_control.c: In function ‘MW_launchPyserver’:
MW_Pyserver_control.c:95:24: warning: ‘%s’ directive writing up to 65534 bytes into a region of size 250 [-Wformat-overflow=]
95 | sprintf(cmd, "sudo %s %s >/tmp/mw_websoc_sl_io.log &", pyserverLoc, jsonFileLoc);
| ^~ ~~~~~~~~~~~
MW_Pyserver_control.c:95:5: note: ‘sprintf’ output between 35 and 66592 bytes into a destination of size 255
95 | sprintf(cmd, "sudo %s %s >/tmp/mw_websoc_sl_io.log &", pyserverLoc, jsonFileLoc);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
MW_JSONParser.c: In function ‘MW_getSignalStr’:
MW_JSONParser.c:22:17: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
22 | *SigStr = json_object_to_json_string(Signals);
| ^
MW_JSONParser.c: In function ‘MW_getDashboardSourceData’:
MW_JSONParser.c:40:20: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
40 | *BlockLabelStr = json_object_get_string(blocklabelWithID);
| ^
MW_JSONParser.c:44:17: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
44 | *BlockIDStr = json_object_get_string(blockID);
| ^
MW_JSONParser.c:35:9: warning: variable ‘keyExists’ set but not used [-Wunused-but-set-variable]
35 | int keyExists;
| ^~~~~~~~~
MW_JSONParser.c: In function ‘MW_getPortData’:
MW_JSONParser.c:62:13: warning: variable ‘dataOut’ set but not used [-Wunused-but-set-variable]
62 | double *dataOut;
| ^~~~~~~
MW_JSONParser.c:61:10: warning: unused variable ‘dataType’ [-Wunused-variable]
61 | char dataType[1024];
| ^~~~~~~~
/usr/bin/ld: cannot find -lmmal: No such file or directory
/usr/bin/ld: cannot find -lmmal_core: No such file or directory
/usr/bin/ld: cannot find -lmmal_util: No such file or directory
/usr/bin/ld: cannot find -lmmal_vc_client: No such file or directory
/usr/bin/ld: cannot find -lvcos: No such file or directory
/usr/bin/ld: cannot find -lbcm_host: No such file or directory
collect2: error: ld returned 1 exit status
make: *** [Makefile:93: build] Error 1
STDOUT: make: Entering directory '/opt/MATLAB/mw_server_v23.1.0'
[Compiling] IO_wrapperv4l2.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
-DMW_WEBSOC_INUSE -DMW_ENCODER_INUSE -DMW_PANTILT_INUSE IO_wrapperv4l2.c -o obj/IO_wrapperv4l2.o
[Compiling] MW_PWM.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
-DMW_WEBSOC_INUSE -DMW_ENCODER_INUSE -DMW_PANTILT_INUSE MW_PWM.c -o obj/MW_PWM.o
[Compiling] MW_pigs.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
-DMW_WEBSOC_INUSE -DMW_ENCODER_INUSE -DMW_PANTILT_INUSE MW_pigs.c -o obj/MW_pigs.o
[Compiling] sharedServer.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
-DMW_WEBSOC_INUSE -DMW_ENCODER_INUSE -DMW_PANTILT_INUSE sharedServer.c -o obj/sharedServer.o
[Compiling] IO_wrapperCameraboard.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
-DMW_WEBSOC_INUSE -DMW_ENCODER_INUSE -DMW_PANTILT_INUSE IO_wrapperCameraboard.c -o obj/IO_wrapperCameraboard.o
[Compiling] mw_wrapperCANChannel.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
-DMW_WEBSOC_INUSE -DMW_ENCODER_INUSE -DMW_PANTILT_INUSE mw_wrapperCANChannel.c -o obj/mw_wrapperCANChannel.o
[Compiling] LED.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
-DMW_WEBSOC_INUSE -DMW_ENCODER_INUSE -DMW_PANTILT_INUSE LED.c -o obj/LED.o
[Compiling] picam.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
-DMW_WEBSOC_INUSE -DMW_ENCODER_INUSE -DMW_PANTILT_INUSE picam.c -o obj/picam.o
[Compiling] system.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
-DMW_WEBSOC_INUSE -DMW_ENCODER_INUSE -DMW_PANTILT_INUSE system.c -o obj/system.o
[Compiling] IO_wrapperLED.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
-DMW_WEBSOC_INUSE -DMW_ENCODER_INUSE -DMW_PANTILT_INUSE IO_wrapperLED.c -o obj/IO_wrapperLED.o
[Compiling] MW_digitalIO.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
-DMW_WEBSOC_INUSE -DMW_ENCODER_INUSE -DMW_PANTILT_INUSE MW_digitalIO.c -o obj/MW_digitalIO.o
[Compiling] customFunction.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
-DMW_WEBSOC_INUSE -DMW_ENCODER_INUSE -DMW_PANTILT_INUSE customFunction.c -o obj/customFunction.o
[Compiling] servoRaspi.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
-DMW_WEBSOC_INUSE -DMW_ENCODER_INUSE -DMW_PANTILT_INUSE servoRaspi.c -o obj/servoRaspi.o
[Compiling] IO_checksum.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
-DMW_WEBSOC_INUSE -DMW_ENCODER_INUSE -DMW_PANTILT_INUSE IO_checksum.c -o obj/IO_checksum.o
[Compiling] IO_packet.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
-DMW_WEBSOC_INUSE -DMW_ENCODER_INUSE -DMW_PANTILT_INUSE IO_packet.c -o obj/IO_packet.o
[Compiling] IO_standardperipherals.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
-DMW_WEBSOC_INUSE -DMW_ENCODER_INUSE -DMW_PANTILT_INUSE IO_standardperipherals.c -o obj/IO_standardperipherals.o
[Compiling] IO_wrapperI2C.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
-DMW_WEBSOC_INUSE -DMW_ENCODER_INUSE -DMW_PANTILT_INUSE IO_wrapperI2C.c -o obj/IO_wrapperI2C.o
[Compiling] IO_wrapperPulseIn.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
-DMW_WEBSOC_INUSE -DMW_ENCODER_INUSE -DMW_PANTILT_INUSE IO_wrapperPulseIn.c -o obj/IO_wrapperPulseIn.o
[Compiling] IO_wrapperSCI.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
-DMW_WEBSOC_INUSE -DMW_ENCODER_INUSE -DMW_PANTILT_INUSE IO_wrapperSCI.c -o obj/IO_wrapperSCI.o
[Compiling] PeripheralToHandle.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
-DMW_WEBSOC_INUSE -DMW_ENCODER_INUSE -DMW_PANTILT_INUSE PeripheralToHandle.c -o obj/PeripheralToHandle.o
[Compiling] IO_debug.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
-DMW_WEBSOC_INUSE -DMW_ENCODER_INUSE -DMW_PANTILT_INUSE IO_debug.c -o obj/IO_debug.o
[Compiling] IO_server.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
-DMW_WEBSOC_INUSE -DMW_ENCODER_INUSE -DMW_PANTILT_INUSE IO_server.c -o obj/IO_server.o
[Compiling] IO_utilities.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
-DMW_WEBSOC_INUSE -DMW_ENCODER_INUSE -DMW_PANTILT_INUSE IO_utilities.c -o obj/IO_utilities.o
[Compiling] IO_wrapperDigitalIO.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
-DMW_WEBSOC_INUSE -DMW_ENCODER_INUSE -DMW_PANTILT_INUSE IO_wrapperDigitalIO.c -o obj/IO_wrapperDigitalIO.o
[Compiling] IO_wrapperPWM.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
-DMW_WEBSOC_INUSE -DMW_ENCODER_INUSE -DMW_PANTILT_INUSE IO_wrapperPWM.c -o obj/IO_wrapperPWM.o
[Compiling] IO_wrapperSPI.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
-DMW_WEBSOC_INUSE -DMW_ENCODER_INUSE -DMW_PANTILT_INUSE IO_wrapperSPI.c -o obj/IO_wrapperSPI.o
[Compiling] /opt/userland/host_applications/linux/apps/raspicam/RaspiCamControl.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
-DMW_WEBSOC_INUSE -DMW_ENCODER_INUSE -DMW_PANTILT_INUSE /opt/userland/host_applications/linux/apps/raspicam/RaspiCamControl.c
-o obj/RaspiCamControl.o
[Compiling] /opt/userland/host_applications/linux/apps/raspicam/RaspiHelpers.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
-DMW_WEBSOC_INUSE -DMW_ENCODER_INUSE -DMW_PANTILT_INUSE /opt/userland/host_applications/linux/apps/raspicam/RaspiHelpers.c -o
obj/RaspiHelpers.o
[Compiling] /opt/userland/host_applications/linux/apps/raspicam/RaspiPreview.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
-DMW_WEBSOC_INUSE -DMW_ENCODER_INUSE -DMW_PANTILT_INUSE /opt/userland/host_applications/linux/apps/raspicam/RaspiPreview.c -o
obj/RaspiPreview.o
[Compiling] /opt/userland/host_applications/linux/apps/raspicam/RaspiCLI.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
-DMW_WEBSOC_INUSE -DMW_ENCODER_INUSE -DMW_PANTILT_INUSE /opt/userland/host_applications/linux/apps/raspicam/RaspiCLI.c -o
obj/RaspiCLI.o
[Compiling] /opt/userland/host_applications/linux/apps/raspicam/RaspiCommonSettings.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
-DMW_WEBSOC_INUSE -DMW_ENCODER_INUSE -DMW_PANTILT_INUSE
/opt/userland/host_applications/linux/apps/raspicam/RaspiCommonSettings.c -o obj/RaspiCommonSettings.o
[Compiling] frameBuffer.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
-DMW_WEBSOC_INUSE -DMW_ENCODER_INUSE -DMW_PANTILT_INUSE frameBuffer.c -o obj/frameBuffer.o
[Compiling] frameBufferRaspi.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
-DMW_WEBSOC_INUSE -DMW_ENCODER_INUSE -DMW_PANTILT_INUSE frameBufferRaspi.c -o obj/frameBufferRaspi.o
[Compiling] joystick.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
-DMW_WEBSOC_INUSE -DMW_ENCODER_INUSE -DMW_PANTILT_INUSE joystick.c -o obj/joystick.o
[Compiling] joystickRaspi.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
-DMW_WEBSOC_INUSE -DMW_ENCODER_INUSE -DMW_PANTILT_INUSE joystickRaspi.c -o obj/joystickRaspi.o
[Compiling] runCommand.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
-DMW_WEBSOC_INUSE -DMW_ENCODER_INUSE -DMW_PANTILT_INUSE runCommand.c -o obj/runCommand.o
[Compiling] IO_wrapperNanomsgPubSub.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
-DMW_WEBSOC_INUSE -DMW_ENCODER_INUSE -DMW_PANTILT_INUSE IO_wrapperNanomsgPubSub.c -o obj/IO_wrapperNanomsgPubSub.o
[Compiling] MW_Pyserver_control.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
-DMW_WEBSOC_INUSE -DMW_ENCODER_INUSE -DMW_PANTILT_INUSE MW_Pyserver_control.c -o obj/MW_Pyserver_control.o
[Compiling] MW_nanomsgClient.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
-DMW_WEBSOC_INUSE -DMW_ENCODER_INUSE -DMW_PANTILT_INUSE MW_nanomsgClient.c -o obj/MW_nanomsgClient.o
[Compiling] MW_JSONParser.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
-DMW_WEBSOC_INUSE -DMW_ENCODER_INUSE -DMW_PANTILT_INUSE MW_JSONParser.c -o obj/MW_JSONParser.o
[Compiling] IO_wrapperEncoder.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
-DMW_WEBSOC_INUSE -DMW_ENCODER_INUSE -DMW_PANTILT_INUSE IO_wrapperEncoder.c -o obj/IO_wrapperEncoder.o
[Compiling] MW_RaspiEncoder.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
-DMW_WEBSOC_INUSE -DMW_ENCODER_INUSE -DMW_PANTILT_INUSE MW_RaspiEncoder.c -o obj/MW_RaspiEncoder.o
[Compiling] IO_wrapper_i2c_pwm_pca9685.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
-DMW_WEBSOC_INUSE -DMW_ENCODER_INUSE -DMW_PANTILT_INUSE IO_wrapper_i2c_pwm_pca9685.c -o obj/IO_wrapper_i2c_pwm_pca9685.o
[Compiling] MW_i2c_pwm_pca9685.c
gcc -c -g -O0 -D_DEBUG -Wall -I/opt/userland -I/opt/userland/host_applications/linux/libs/bcm_host/include
-I/opt/userland/interface/vcos -I/opt/userland/interface/vcos/pthreads -I/opt/userland/interface/vmcs_host/linux
-I/opt/userland/host_applications/linux/apps/raspicam -I/opt/nanomsg/include -Winline -pipe -D_DEBUG -D_MATLABIO_
-DMW_WEBSOC_INUSE -DMW_ENCODER_INUSE -DMW_PANTILT_INUSE MW_i2c_pwm_pca9685.c -o obj/MW_i2c_pwm_pca9685.o
echo [Linking]
[Linking]
make: Leaving directory '/opt/MATLAB/mw_server_v23.1.0'
0 comentarios
Respuestas (2)
Vandit
el 29 de Sept. de 2024
Hi Francis,
It seems like some of the libraries has not been installed on your Raspberry Pi hardware.
Please perform steps given in the below documentation to ensure proper installation of libraries concerned with MATLAB Support Package for Raspberry Pi hardware.
Please feel free to contact MathWorks Technical Support if you need further assistance.
Hope this helps.
0 comentarios
Luis Alberto
el 17 de Oct. de 2024
I have the same error. I followed the documentation and still the same error. Still no solution
0 comentarios
Ver también
Categorías
Más información sobre Python Package Integration en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!