Skip to content

Compiling make_mex in MATLAB 2012b #3

Open
@skinney75

Description

Hi,

I wonder if you can help with an issue that I am seeing, I am running MATLAB on a Windows 7 machine and I would like to compile your julia-matlab code.

I have ZeroMQ installed and I am using the 32-bit version of MATLAB which has its own compiler, however when I do 'make_mex' as instructed I get the following:

make_mex
Error zmq_connect.c: .\zmq.h: 71 unrecognized declaration
Error zmq_connect.c: .\zmq.h: 126 unrecognized declaration
Error zmq_connect.c: .\zmq.h: 129 unrecognized declaration
Error zmq_connect.c: .\zmq.h: 144 unrecognized declaration
Error zmq_connect.c: .\zmq.h: 145 unrecognized declaration
Error zmq_connect.c: .\zmq.h: 146 unrecognized declaration
Error zmq_connect.c: .\zmq.h: 147 unrecognized declaration
Error zmq_connect.c: .\zmq.h: 150 unrecognized declaration
Error zmq_connect.c: .\zmq.h: 151 unrecognized declaration
Error zmq_connect.c: .\zmq.h: 162 unrecognized declaration
Error zmq_connect.c: .\zmq.h: 163 unrecognized declaration
Error zmq_connect.c: .\zmq.h: 164 unrecognized declaration
Error zmq_connect.c: .\zmq.h: 166 unrecognized declaration
Error zmq_connect.c: .\zmq.h: 167 unrecognized declaration
Error zmq_connect.c: .\zmq.h: 168 unrecognized declaration
Error zmq_connect.c: .\zmq.h: 169 unrecognized declaration
Error zmq_connect.c: .\zmq.h: 170 unrecognized declaration
Error zmq_connect.c: .\zmq.h: 171 unrecognized declaration
Error zmq_connect.c: .\zmq.h: 172 unrecognized declaration
Error zmq_connect.c: .\zmq.h: 173 unrecognized declaration
Error zmq_connect.c: .\zmq.h: 174 too many errors

C:\PROGRA~2\MATLAB\R2012B\BIN\MEX.PL: Error: Compile of 'zmq_connect.c' failed.

It seems that each declaration that has the ZMQ_EXPORT definition raises an error, for example on line 71 is the definition:

ZMQ_EXPORT void zmq_version(int *major, int *minor, int *patch)

Do you know how I can resolve this issue?

Thanks in advance,

Chris

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions