Why do I get an error about a missing file when I attempt to use Link for ModelSim 1.1 (R13SP1+) on Linux?
1 view (last 30 days)
Show older comments
MathWorks Support Team
on 15 Apr 2011
Edited: MathWorks Support Team
on 27 Jan 2017
I receive the following error when I attempt to use Link for ModelSim on Linux:
Unable to load mex file: /rfs/apps/eda/mathworks/matlab/demo/linux/toolbox/modelsim/modelsim/hdldaemon.mexglx.
libstdc++.so.5: cannot open shared object file: No such file or
libstdc++directory
??? Invalid MEX-file
Error in ==> /rfs/apps/eda/mathworks/matlab/demo/linux/toolbox/modelsim/modelsimdemos/modsimrand.m
(startbutton_Callback)
On line 278 ==> dstatus = hdldaemon('status');
Error in ==> /rfs/apps/eda/mathworks/matlab/demo/linux/toolbox/modelsim/modelsimdemos/modsimrand.m
(gui_mainfcn)
On line 863 ==> feval(varargin{:});
Error in ==> /rfs/apps/eda/mathworks/matlab/demo/linux/toolbox/modelsim/modelsimdemos/modsimrand.m
On line 34 ==> gui_mainfcn(gui_State, varargin{:});
??? Error while evaluating uicontrol Callback.
Accepted Answer
MathWorks Support Team
on 27 Jan 2017
Edited: MathWorks Support Team
on 27 Jan 2017
The following link contains information about the supported build compilers for specific versions-
https://www.mathworks.com/support/compilers.html
To fix this problem, install the recommended version of the gcc c++ library on your computer.
0 Comments
More Answers (0)
See Also
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!