MEX was completed successfully, but looks like all symbols are missing
1 次查看(过去 30 天)
显示 更早的评论
I successfully MEXed a C++ file in MATLAB and the C++ file itself is bugless (I tried it myself). However, when I tried to run it, MATLAB produces a list of symbols that are missing. The strange thing is it looks like the essential symbols are missing.
I use MATLAB R2017a. Has anyone encountered something like this? The missing symbols below are only a small part of the list.
'/System/Library/PrivateFrameworks/SpeechRecognitionCore.framework/Versions/A/SpeechRecognitionCore->/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition->/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit->/System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa->/Users/myname/symmetricSolver.mexmaci64' Missing symbol '_xpc_connection_resume' required by '/System/Library/PrivateFrameworks/SpeechRecognitionCore.framework/Versions/A/SpeechRecognitionCore->/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition->/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit->/System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa->/Users/myname/symmetricSolver.mexmaci64' Missing symbol '_xpc_connection_send_message' required by '/System/Library/PrivateFrameworks/SpeechRecognitionCore.framework/Versions/A/SpeechRecognitionCore->/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition->/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit->/System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa->/Users/myname/symmetricSolver.mexmaci64' Missing symbol '_xpc_connection_send_message_with_reply' required by '/System/Library/PrivateFrameworks/SpeechRecognitionCore.framework/Versions/A/SpeechRecognitionCore->/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition->/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit->/System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa->/Users/myname/symmetricSolver.mexmaci64' Missing symbol '_xpc_connection_send_message_with_reply_sync' required by '/System/Library/PrivateFrameworks/SpeechRecognitionCore.framework/Versions/A/SpeechRecognitionCore->/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition->/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit->/System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa->/Users/myname/symmetricSolver.mexmaci64' Missing symbol '_xpc_connection_set_event_handler' required by '/System/Library/PrivateFrameworks/SpeechRecognitionCore.framework/Versions/A/SpeechRecognitionCore->/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition->/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit->/System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa->/Users/myname/symmetricSolver.mexmaci64' Missing symbol '_xpc_copy_description' required by '/System/Library/PrivateFrameworks/SpeechRecognitionCore.framework/Versions/A/SpeechRecognitionCore->/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition->/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit->/System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa->/Users/myname/symmetricSolver.mexmaci64' Missing symbol '_xpc_data_get_bytes_ptr' required by '/System/Library/PrivateFrameworks/SpeechRecognitionCore.framework/Versions/A/SpeechRecognitionCore->/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition->/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit->/System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa->/Users/myname/symmetricSolver.mexmaci64' Missing symbol '_xpc_data_get_length' required by '/System/Library/PrivateFrameworks/SpeechRecognitionCore.framework/Versions/A/SpeechRecognitionCore->/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition->/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit->/System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa->/Users/myname/symmetricSolver.mexmaci64' Missing symbol '_xpc_dictionary_create' required by '/System/Library/PrivateFrameworks/SpeechRecognitionCore.framework/Versions/A/SpeechRecognitionCore->/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition->/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit->/System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa->/Users/myname/symmetricSolver.mexmaci64' Missing symbol '_xpc_dictionary_create_connection' required by '/System/Library/PrivateFrameworks/SpeechRecognitionCore.framework/Versions/A/SpeechRecognitionCore->/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition->/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit->/System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa->/Users/myname/symmetricSolver.mexmaci64' Missing symbol '_xpc_dictionary_get_bool' required by '/System/Library/PrivateFrameworks/SpeechRecognitionCore.framework/Versions/A/SpeechRecognitionCore->/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition->/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit->/System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa->/Users/myname/symmetricSolver.mexmaci64' Missing symbol '_xpc_dictionary_get_int64' required by '/System/Library/PrivateFrameworks/SpeechRecognitionCore.framework/Versions/A/SpeechRecognitionCore->/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition->/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit->/System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa->/Users/myname/symmetricSolver.mexmaci64' Missing symbol '_xpc_dictionary_get_uint64' required by '/System/Library/PrivateFrameworks/SpeechRecognitionCore.framework/Versions/A/SpeechRecognitionCore->/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition->/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit->/System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa->/Users/myname/symmetricSolver.mexmaci64' Missing symbol '_xpc_dictionary_get_value' required by '/System/Library/PrivateFrameworks/SpeechRecognitionCore.framework/Versions/A/SpeechRecognitionCore->/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition->/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit->/System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa->/Users/myname/symmetricSolver.mexmaci64' Missing symbol '_xpc_dictionary_set_bool' required by '/System/Library/PrivateFrameworks/SpeechRecognitionCore.framework/Versions/A/SpeechRecognitionCore->/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition->/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit->/System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa->/Users/myname/symmetricSolver.mexmaci64' Missing symbol '_xpc_dictionary_set_data' required by '/System/Library/PrivateFrameworks/SpeechRecognitionCore.framework/Versions/A/SpeechRecognitionCore->/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition->/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit->/System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa->/Users/myname/symmetricSolver.mexmaci64' Missing symbol '_xpc_dictionary_set_int64' required by '/System/Library/PrivateFrameworks/SpeechRecognitionCore.framework/Versions/A/SpeechRecognitionCore->/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition->/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit->/System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa->/Users/myname/symmetricSolver.mexmaci64' Missing symbol '_xpc_dictionary_set_string' required by '/System/Library/PrivateFrameworks/SpeechRecognitionCore.framework/Versions/A/SpeechRecognitionCore->/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition->/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit->/System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa->/Users/myname/symmetricSolver.mexmaci64'
0 个评论
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!