I’m trying to build MathLink on a Mac using Mex, according to the instructions included in the MathLink download. Unfortunately, when I compile mex([‘-I’, Mathematica_path, ‘Links/MathLink/DeveloperKit/MacOSX-x86-64/CompilerAdditions’], … [‘-L’, Mathematica_path, ‘Links/MathLink/DeveloperKit/MacOSX-x86-64/CompilerAdditions’], … [‘-l’, ‘MLi4’], … [‘-I’, Mathematica_path, ‘IncludeFiles/C’], ‘-v’, … ‘math.c’); I get the error Error using mex Undefined symbols for architecture x86_64: “_MLDisownDoubleArray”, referenced from:Read more