Error while running raspi function to connect to external Raspberry Pi 3.
Afficher commentaires plus anciens
How can I solve the following issue? Thanks :)
mypi = raspi('xxxx','xxxxx','xxxxx')
### Updating Raspberry Pi I/O server...
### Connecting to board...
### Connected to xxxxx...
### Installing nanomsg Library (this might take a while)...
### Creating server folder...
### Transferring source files...
### Building MATLAB I/O server...
Error using raspi.internal.updateServer (line 114)
Error executing command "make -C /opt/MATLAB/server_v18.1.0 -f Makefile".
Details:
STDERR: auth.c: In function âverifyHashâ:
auth.c:28:5: warning: ignoring return value of âftruncateâ, declared
with attribute warn_unused_result [-Wunused-result]
ftruncate(fileno(fp), 0);
^
server.c:14:24: fatal error: nanomsg/nn.h: No such file or directory
compilation terminated.
make: *** [obj/server.o] Error 1
STDOUT: make: Entering directory '/opt/MATLAB/server_v18.1.0'
[Compiling] auth.c
gcc -c -O2 -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_
-DNANOMSG_TRANSPORT=1 auth.c -o obj/auth.o
[Compiling] server.c
gcc -c -O2 -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_
-DNANOMSG_TRANSPORT=1 server.c -o obj/server.o
Makefile:53: recipe for target 'obj/server.o' failed
make: Leaving directory '/opt/MATLAB/server_v18.1.0'
Error in raspi.updateServer (line 1290)
raspi.internal.updateServer(varargin{:});
Error in raspi/launchServer (line 861)
raspi.updateServer(obj.DeviceAddress,...
Error in raspi (line 207)
launchServer(obj);
1 commentaire
Réponses (5)
Carroll Guertin
le 11 Juil 2018
Modifié(e) : Walter Roberson
le 5 Mar 2019
ssh or use command line in pi's desktop
Run these commands:
sudo apt-get update
sudo apt-get install libnanomsg-dev libasound2-dev
3 commentaires
Ahmed Bouzidi
le 21 Nov 2019
thanks man, this worked for me, ty :)
francois crafford
le 19 Juil 2021
Thank you so much this also worked for me.
Ege Gediksiz
le 2 Sep 2022
This also worked for me.
afagh mohagheghi
le 21 Jan 2019
0 votes
Same issue here, tried everything suggested, it did'nt work, any suggestions?
1 commentaire
Carroll Guertin
le 22 Jan 2019
Hi afagh,
What is the error message now?
Did the "nanomsg/nn.h" error go away?
David
le 3 Mar 2019
0 votes
Hi,
Did you solve the problem? I'm facing the same issue here. I have installed the required packages through MATLAB Support Package for Raspberry Pi Hardware. The set up seemed to be completed, but when I try to create de raspi object with raspi() I get the same error than you do.
4 commentaires
Carroll Guertin
le 4 Mar 2019
Hi David,
Did you run the "apt-get" commands that I posted in a previous comment?
Different error? Did the "nanomsg/nn.h" error go away?
If so, what is the error message now?
- Carroll
Hi Carroll,
Yup, I ran the commands and both packages are up-to-date. I do see the "nanomsg/nn.h" error.
I am using a Raspberry Pi 3 B+ with Raspbian Stretch and MATLAB-related packages installed with this. I use MATLAB R2018a.
This is the message error I get.
Thanks for your help!
Error executing command "make -C /opt/MATLAB/server_v18.1.0 -f Makefile". Details:
STDERR: server.c: In function âbindSocketâ:
server.c:44:13: warning: pointer targets in passing argument 1 of âsprintfâ differ in
signedness [-Wpointer-sign]
sprintf(serverAddr, "tcp://*:%d",port);
^~~~~~~~~~
In file included from server.c:1:0:
/usr/include/stdio.h:366:12: note: expected âchar * restrictâ but argument is of type
âunsigned char *â
extern int sprintf (char *__restrict __s,
^~~~~~~
server.c:55:25: warning: pointer targets in passing argument 2 of ânn_bindâ differ in
signedness [-Wpointer-sign]
ret = nn_bind(sock, serverAddr);
^~~~~~~~~~
In file included from server.c:14:0:
/usr/local/include/nanomsg/nn.h:352:15: note: expected âconst char *â but argument is of
type âunsigned char *â
NN_EXPORT int nn_bind (int s, const char *addr);
^~~~~~~
server.c: In function âmainâ:
server.c:128:15: warning: unused variable âthreadâ [-Wunused-variable]
pthread_t thread;
^~~~~~
server.c:127:15: warning: unused variable âclientSockâ [-Wunused-variable]
int sock, clientSock;
^~~~~~~~~~
handler.c: In function âreceiveRequestâ:
handler.c:232:26: warning: passing argument 2 of âsockRecvâ from incompatible pointer
type [-Wincompatible-pointer-types]
ret = sockRecv(sock, req, sizeof(REQUEST_Header_t));
^~~
handler.c:116:12: note: expected âchar *â but argument is of type âREQUEST_t * {aka
struct <anonymous> *}â
static int sockRecv(int sock, char *req, int size)
^~~~~~~~
handler.c: In function âexecuteCommandâ:
handler.c:588:13: warning: this âwhileâ clause does not guard...
[-Wmisleading-indentation]
while(fgets(tempBuff,40 ,fp)!=NULL);
^~~~~
handler.c:589:13: note: ...this statement, but the latter is misleadingly indented as if it
is guarded by the âwhileâ
{
^
handler.c:694:60: warning: pointer targets in passing argument 1 of âstrlenâ differ in
signedness [-Wpointer-sign]
resp->response.payloadSize = (uint32_T) strlen(payload)+1;
^~~~~~~
In file included from handler.c:23:0:
/usr/include/string.h:394:15: note: expected âconst char *â but argument is of type
âuint8_T * {aka unsigned char *}â
extern size_t strlen (const char *__s)
^~~~~~
handler.c:750:57: warning: passing argument 3 of âpthread_createâ from incompatible
pointer type [-Wincompatible-pointer-types]
pthread_create(¤t->tid, NULL, gpioRead, (void *)current->pData);
/* Response: send status */
^~~~~~~~
In file included from handler.c:25:0:
/usr/include/pthread.h:233:12: note: expected âvoid * (*)(void *)â but argument is of
type âvoid * (*)(struct peripheralData *)â
extern int pthread_create (pthread_t *__restrict __newthread,
^~~~~~~~~~~~~~
handler.c:757:53: warning: passing argument 3 of âpthread_createâ from incompatible
pointer type [-Wincompatible-pointer-types]
pthread_create(¤t->tid , NULL,udpReadThread , (void
*)current->pData); /* Response: send status */
^~~~~~~~~~~~~
In file included from handler.c:25:0:
/usr/include/pthread.h:233:12: note: expected âvoid * (*)(void *)â but argument is of
type âvoid * (*)(struct peripheralData *)â
extern int pthread_create (pthread_t *__restrict __newthread,
^~~~~~~~~~~~~~
handler.c:774:57: warning: passing argument 3 of âpthread_createâ from incompatible
pointer type [-Wincompatible-pointer-types]
pthread_create(¤t->tid, NULL, audioRecordThread , (void
*)current->pData ); /* Response: send status */
^~~~~~~~~~~~~~~~~
In file included from handler.c:25:0:
/usr/include/pthread.h:233:12: note: expected âvoid * (*)(void *)â but argument is of
type âvoid * (*)(struct peripheralData *)â
extern int pthread_create (pthread_t *__restrict __newthread,
^~~~~~~~~~~~~~
handler.c: In function âwaitForClientConnectionâ:
handler.c:1629:1: warning: no return statement in function returning non-void
[-Wreturn-type]
}
^
I2C.c: In function âI2C_openâ:
I2C.c:29:23: warning: unused variable âi2c_funcsâ [-Wunused-variable]
unsigned long i2c_funcs = 0;
^~~~~~~~~
I2C.c: In function âEXT_I2C_readRegisterâ:
I2C.c:81:22: warning: assignment discards âconstâ qualifier from pointer target type
[-Wdiscarded-qualifiers]
msg[0].buf = ®
^
I2C.c: In function âEXT_I2C_writeRegisterâ:
I2C.c:120:22: warning: assignment discards âconstâ qualifier from pointer target type
[-Wdiscarded-qualifiers]
msg[0].buf = ®
^
I2C.c:124:22: warning: assignment discards âconstâ qualifier from pointer target type
[-Wdiscarded-qualifiers]
msg[1].buf = data;
^
I2C.c: In function âEXT_I2C_writeâ:
I2C.c:154:19: warning: assignment discards âconstâ qualifier from pointer target type
[-Wdiscarded-qualifiers]
msg.buf = data;
^
joystick.c: In function âEXT_JOYSTICK_INITâ:
joystick.c:45:25: warning: suggest parentheses around comparison in operand of â&â
[-Wparentheses]
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]
for(ii=0;(ii<100 & sh_evdevName[ii] != '\0');ii++)
~~^~~~
frameBuffer.c: In function âEXT_FRAMEBUFFER_INITâ:
frameBuffer.c:45:24: warning: suggest parentheses around comparison in operand of â&â
[-Wparentheses]
for(ii=0;ii<100 & glob_buffer.gl_pathv[i] != '\0';ii++)
~~^~~~
frameBuffer.c: In function âEXT_FRAMEBUFFER_WRITEPIXELâ:
frameBuffer.c:71:9: warning: unused variable âiiâ [-Wunused-variable]
int ii ;
^~
frameBuffer.c: In function âEXT_FRAMEBUFFER_DISPLAYIMAGEâ:
frameBuffer.c:98:17: warning: suggest parentheses around comparison in operand of â&â
[-Wparentheses]
for(ii=0; ii<100 & sh_fbname[ii] != '\0'; ii++)
~~^~~~
frameBuffer.c:96:10: warning: variable âfileNameâ set but not used
[-Wunused-but-set-variable]
char fileName[100];
^~~~~~~~
frameBuffer.c:95:9: warning: unused variable âpxllocationâ [-Wunused-variable]
int pxllocation=0;
^~~~~~~~~~~
alsa_rdwr.c: In function âset_hwparamsâ:
alsa_rdwr.c:155:47: warning: pointer targets in passing argument 2 of
âsnd_pcm_hw_params_get_buffer_sizeâ differ in signedness [-Wpointer-sign]
snd_pcm_hw_params_get_buffer_size(params, &audioData->bufferSize);
^
In file included from /usr/include/alsa/asoundlib.h:54:0,
from alsa_rdwr.c:24:
/usr/include/alsa/pcm.h:841:5: note: expected âsnd_pcm_uframes_t * {aka long unsigned int
*}â but argument is of type âsnd_pcm_sframes_t * {aka long int *}â
int snd_pcm_hw_params_get_buffer_size(const snd_pcm_hw_params_t *params, snd_pcm_uframes_t
*val);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TimerBasedRecorder.c: In function âallocateDataMemoryâ:
TimerBasedRecorder.c:183:35: warning: pointer targets in assignment differ in signedness
[-Wpointer-sign]
tmpPdata->FileMemBuff = (char *)malloc((TIME_STAMP_BYTES + GPIO_VALUE_BYTES +
GPIO_SUB_TOKEN_SIZE));
^
TimerBasedRecorder.c:197:21: warning: pointer targets in passing argument 1 of âsprintfâ
differ in signedness [-Wpointer-sign]
sprintf(tmpPdata->memBuff,"gpio%d|", pData->perId);
^~~~~~~~
In file included from TimerBasedRecorder.c:1:0:
/usr/include/stdio.h:366:12: note: expected âchar * restrictâ but argument is of type
âunsigned char *â
extern
STDOUT: make: se entra en el directorio '/opt/MATLAB/server_v18.1.0'
[Compiling] auth.c
gcc -c -O2 -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_ -DNANOMSG_TRANSPORT=1 auth.c -o obj/auth.o
[Compiling] server.c
gcc -c -O2 -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_ -DNANOMSG_TRANSPORT=1 server.c -o obj/server.o
[Compiling] handler.c
gcc -c -O2 -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_ -DNANOMSG_TRANSPORT=1 handler.c -o obj/handler.o
[Compiling] devices.c
gcc -c -O2 -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_ -DNANOMSG_TRANSPORT=1 devices.c -o obj/devices.o
[Compiling] LED.c
gcc -c -O2 -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_ -DNANOMSG_TRANSPORT=1 LED.c -o obj/LED.o
[Compiling] GPIO.c
gcc -c -O2 -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_ -DNANOMSG_TRANSPORT=1 GPIO.c -o obj/GPIO.o
[Compiling] I2C.c
gcc -c -O2 -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_ -DNANOMSG_TRANSPORT=1 I2C.c -o obj/I2C.o
[Compiling] SPI.c
gcc -c -O2 -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_ -DNANOMSG_TRANSPORT=1 SPI.c -o obj/SPI.o
[Compiling] serial.c
gcc -c -O2 -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_ -DNANOMSG_TRANSPORT=1 serial.c -o obj/serial.o
[Compiling] system.c
gcc -c -O2 -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_ -DNANOMSG_TRANSPORT=1 system.c -o obj/system.o
[Compiling] picam.c
gcc -c -O2 -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_ -DNANOMSG_TRANSPORT=1 picam.c -o obj/picam.o
[Compiling] ip_server.c
gcc -c -O2 -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_ -DNANOMSG_TRANSPORT=1 ip_server.c -o obj/ip_server.o
[Compiling] v4l2_cam.c
gcc -c -O2 -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_ -DNANOMSG_TRANSPORT=1 v4l2_cam.c -o obj/v4l2_cam.o
[Compiling] MW_pigs.c
gcc -c -O2 -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_ -DNANOMSG_TRANSPORT=1 MW_pigs.c -o obj/MW_pigs.o
[Compiling] /opt/userland/host_applications/linux/apps/raspicam/RaspiCamControl.c
gcc -c -O2 -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_ -DNANOMSG_TRANSPORT=1
/opt/userland/host_applications/linux/apps/raspicam/RaspiCamControl.c -o
obj/RaspiCamControl.o
[Compiling] /opt/userland/host_applications/linux/apps/raspicam/RaspiPreview.c
gcc -c -O2 -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_ -DNANOMSG_TRANSPORT=1
/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 -O2 -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_ -DNANOMSG_TRANSPORT=1
/opt/userland/host_applications/linux/apps/raspicam/RaspiCLI.c -o obj/RaspiCLI.o
[Compiling] joystick.c
gcc -c -O2 -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_ -DNANOMSG_TRANSPORT=1 joystick.c -o obj/joystick.o
[Compiling] frameBuffer.c
gcc -c -O2 -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_ -DNANOMSG_TRANSPORT=1 frameBuffer.c -o obj/frameBuffer.o
[Compiling] alsa_rdwr.c
gcc -c -O2 -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_ -DNANOMSG_TRANSPORT=1 alsa_rdwr.c -o obj/alsa_rdwr.o
[Compiling] TimerBasedRecorder.c
gcc -c -O2 -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_ -DNANOMSG_TRANSPORT=1 TimerBasedRecorder.c -o
obj/TimerBasedRecorder.o
[Compiling] UdpRecorder.c
gcc -c -O2 -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_ -DNANOMSG_TRANSPORT=1 UdpRecorder.c -o obj/UdpRecorder.o
[Compiling] AudioRecorder.c
gcc -c -O2 -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_ -DNANOMSG_TRANSPORT=1 AudioRecorder.c -o obj/AudioRecorder.o
[Compiling] recorder.c
gcc -c -O2 -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_ -DNANOMSG_TRANSPORT=1 recorder.c -o obj/recorder.o
echo [Linking]
[Linking]
Makefile:63: fallo en las instrucciones para el objetivo 'build'
make: se sale del directorio '/opt/MATLAB/server_v18.1.0'
chaitanya addala
le 3 Avr 2019
i have same issue. can anyone help
Thanks in advance
Carroll Guertin
le 27 Juin 2019
The apt-get commands had worked for me.
Have people run the "Hardware Setup" app?
That is suppose to install all necessary packages.
Osman Ertunc
le 27 Juin 2019
0 votes
Hello guys, Did anybody solve this I have been trying for ages. Please write something here if you found a solution. I don't even have to know the solution. It is enough for me to know that there is a solution for this.
2 commentaires
Carroll Guertin
le 27 Juin 2019
Hi Osman, Have you tried the apt-get commands and/or the "Hardware Setup" app that I wrote about in other comments?
Osman Ertunc
le 27 Juin 2019
Yes, I’ve tried it. It gives the same error. Is there any other solution that you could suggest. Genuinely, I am stuck. Also when I try with matlab raspbian image SD card keeps changing the partition. I can’t see what I wrote to SD card. I’ve formatted it in FAT32. But I can’t format it in FAT even with format applications. Currently, I am using 16gb raspberry manufactured SD Card. Any suggestion is fine please let me know!!
Omar Hadeed
le 18 Avr 2020
0 votes
Catégories
En savoir plus sur Digital Filter Analysis dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!