Problems with installing mathematica symbolic toolbox for matlab
Show older comments
Hi,
I am trying to get this mathematica symbolic toolbox for matlab v2.0 installed on my laptop which is running a macOS 10.8.2. Also, the version of my matlab is 2011b and mathematica is ver.8.0.4. When I tried to compile the math.c in matlab using mex, it returned the following error message:
>> mex -I/Applications/Mathematica.app/SystemFiles/Links/MathLink/DeveloperKit/CompilerAdditions -L/Applications/Mathematica.app/SystemFiles/Links/MathLink/DeveloperKit/CompilerAdditions -lMLi3 math.c Undefined symbols for architecture x86_64: "_CFDictionaryCreate", referenced from: MLAlert_darwin in libMLi3.a(mlosx.c.o) _MLRequest_darwin in libMLi3.a(mlosx.c.o) _MLConfirm_darwin in libMLi3.a(mlosx.c.o) "_CFRelease", referenced from: _MLAlert_darwin in libMLi3.a(mlosx.c.o) _MLRequest_darwin in libMLi3.a(mlosx.c.o) _MLConfirm_darwin in libMLi3.a(mlosx.c.o) "_CFStringCreateWithCString", referenced from: _MLAlert_darwin in libMLi3.a(mlosx.c.o) _MLRequest_darwin in libMLi3.a(mlosx.c.o) _MLConfirm_darwin in libMLi3.a(mlosx.c.o) "_CFStringGetCString", referenced from: _MLRequest_darwin in libMLi3.a(mlosx.c.o) "_CFUserNotificationCreate", referenced from: _MLAlert_darwin in libMLi3.a(mlosx.c.o) _MLRequest_darwin in libMLi3.a(mlosx.c.o) _MLConfirm_darwin in libMLi3.a(mlosx.c.o) "_CFUserNotificationGetResponseValue", referenced from: _MLRequest_darwin in libMLi3.a(mlosx.c.o) "_CFUserNotificationReceiveResponse", referenced from: _MLAlert_darwin in libMLi3.a(mlosx.c.o) _MLRequest_darwin in libMLi3.a(mlosx.c.o) _MLConfirm_darwin in libMLi3.a(mlosx.c.o) "__CFConstantStringClassReference", referenced from: CFString in libMLi3.a(mlosx.c.o) CFString in libMLi3.a(mlosx.c.o) CFString in libMLi3.a(mlosx.c.o) CFString in libMLi3.a(mlosx.c.o) CFString in libMLi3.a(mlosx.c.o) "_kCFAllocatorDefault", referenced from: _MLAlert_darwin in libMLi3.a(mlosx.c.o) _MLRequest_darwin in libMLi3.a(mlosx.c.o) _MLConfirm_darwin in libMLi3.a(mlosx.c.o) "_kCFTypeDictionaryKeyCallBacks", referenced from: _MLAlert_darwin in libMLi3.a(mlosx.c.o) _MLRequest_darwin in libMLi3.a(mlosx.c.o) _MLConfirm_darwin in libMLi3.a(mlosx.c.o) "_kCFTypeDictionaryValueCallBacks", referenced from: _MLAlert_darwin in libMLi3.a(mlosx.c.o) _MLRequest_darwin in libMLi3.a(mlosx.c.o) _MLConfirm_darwin in libMLi3.a(mlosx.c.o) "_kCFUserNotificationAlertHeaderKey", referenced from: _MLAlert_darwin in libMLi3.a(mlosx.c.o) _MLRequest_darwin in libMLi3.a(mlosx.c.o) _MLConfirm_darwin in libMLi3.a(mlosx.c.o) "_kCFUserNotificationAlertMessageKey", referenced from: _MLAlert_darwin in libMLi3.a(mlosx.c.o) _MLConfirm_darwin in libMLi3.a(mlosx.c.o) "_kCFUserNotificationAlternateButtonTitleKey", referenced from: _MLRequest_darwin in libMLi3.a(mlosx.c.o) _MLConfirm_darwin in libMLi3.a(mlosx.c.o) "_kCFUserNotificationTextFieldTitlesKey", referenced from: _MLRequest_darwin in libMLi3.a(mlosx.c.o) "_kCFUserNotificationTextFieldValuesKey", referenced from: _MLRequest_darwin in libMLi3.a(mlosx.c.o) ld: symbol(s) not found for architecture x86_64 collect2: ld returned 1 exit status
mex: link of ' "math.mexmaci64"' failed.
I am obviously new in compiling c++ files and what I have done so far was just following the instruction of how to install this toolbox step by step. So if someone can help me with fixing this problem, I will really appreciate. Thanks!
Dian
Answers (0)
Categories
Find more on Write C Functions Callable from MATLAB (MEX Files) in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!