Closed ithron closed 5 years ago
Getting the following erroe message of Linux:
Error using CortidQCT.floatVector2base64 Invalid MEX-file '/somepath/MATLAB/Add-Ons/Toolboxes/CortidQCT/+CortidQCT/floatVector2base64.mexa64': Gateway function is missing. Error in CortidQCT.saveModel/encodeData (line 11) encodedData = CortidQCT.floatVector2base64(single(data(:)')); Error in CortidQCT.saveModel (line 82) encDat = encodeData(voi.data); Error in CortidQCT.CreateModel/SaveModelButtonPushed (line 576) CortidQCT.saveModel(app.model, [path file]); Error using matlab.ui.control.internal.controller.ComponentController/executeUserCallback (line 335) Error while evaluating Button PrivateButtonPushedFcn.
This post suggest it can be solved by setting
set_target_properties(matlab PROPERTIES COMPILE_FLAGS "-fvisibility=default")
That fixed it!
Fixed in https://github.com/ithron/CortidQCT/commit/287b2416f55bef327ae0d773a9e5bd74b527d9d0
Getting the following erroe message of Linux: