julia-matlab-shuttle icon indicating copy to clipboard operation
julia-matlab-shuttle copied to clipboard

Error building `zmq_exec.c`

Open abhijithch opened this issue 9 years ago • 1 comments

Trying to build zmq_exec.c on OS X, MATLAB R2015b and ZMQ 4.1.4, getting the following error.

Error using mex
/Users/abhijithc/.julia/v0.4/julia-matlab/mex/zmq_exec.c:55:32: error: too few arguments to function call, expected 4,
have 3
  rc = zmq_send(socket, &msg, 0);
       ~~~~~~~~                ^
/usr/local/Cellar/zeromq/4.1.4/include/zmq.h:353:1: note: 'zmq_send' declared here

abhijithch avatar Feb 25 '16 09:02 abhijithch

Changing to rc = zmq_send(socket, &msg, sizeof(msg), 0); helped.

abhijithch avatar Feb 25 '16 11:02 abhijithch