AnsweredAssumed Answered

Valid C Compiler AD9226 Simulink Error

Question asked by adc_guy on Jan 6, 2017
Latest reply on Sep 19, 2017 by TomMac

Hello, I am working on a project and needed to run simulations on the AD9226 part. I downloaded the Simulink file, ran the installer file but got an error. I believe it has to do with the required C compiler. I'm currently using gcc version 6.2.1 on a linux machine, kernel version 4.8.6-1 with MATLAB R2016a. Any help would be appreciated.

 

---------------------------------------------------------------------------------------------------------------------------------------------------------------

MATLAB System block 'AD9226/MATLAB System' error occurred when invoking 'setupImpl' method of 'AD9226_sysobj'. The error was thrown from '
 '/usr/local/bin/MATLAB/R2016a/toolbox/matlab/general/loadlibrary.p' at line 0
 '/home/will/matlab stuff/ad9226_mathworks/utilities/MOTIF_if.m' at line 53
 '/home/will/matlab stuff/ad9226_mathworks/AD9226/AD9226_sysobj.m' at line 109'.
Caused by:
There was an error loading the library "/home/will/matlab stuff/ad9226_mathworks/bin/Linux/libMOTIF.so"
/usr/local/bin/MATLAB/R2016a/bin/glnxa64/../../sys/os/glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.18' not found (required by /home/will/matlab stuff/ad9226_mathworks/bin/Linux/libMOTIF.so)
/usr/local/bin/MATLAB/R2016a/bin/glnxa64/../../sys/os/glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.18' not found (required by /home/will/matlab stuff/ad9226_mathworks/bin/Linux/libMOTIF.so)

---------------------------------------------------------------------------------------------------------------------------------------------------------------

Outcomes