AR# 59236

|

2014.x System Generator - Sysgen/Matlab library compatablity issues may occur with Sysgen 2014.x on Linux OS

描述

When running Vivado Sysgen the following error is received: 

Invalid MEX-file '/path_to_vivado/2014.1/lib/lnx64.o/matlab/xlgetpath.mexa64': /path_to_matlab/R2014a/bin/glnxa64/../../sys/os/glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.18' not found (required by /path_to_vivado/2014.1/lib/lnx64.o/librdi_xicom.so)


解决方案


This is a known issue with Vivado Sysgen 2014.x libraries not being compatible with Matlab R2013a, R2013b and R2014a libraries, in particular the libstdc++.so.6 library.

Vivado Design Suite uses a different version of this runtime library.
 
The version used by Vivado and hence System Generator is GLIBCXX_3.4.18 and the version used by MATLAB is GLIBCXX_3.4.17.

When using 2014.1:

A patch has been prepared to fix this issue in Vivado 2014.1 and is attached to this answer record. 

For installation instructions, please review the patch_readme directory within the patch file.

Note: The patch will overwrite files in your installation and may require administration permissions to modify the Xilinx Vivado install if this is a network installation.
 

After applying the patch it is necessary to set the following environment variable in your terminal:
setenv USE_VIVADO_RUNTIME_FOR_MATLAB 1
Then after invoking System Generator from within this terminal you will receive the following message in the terminal:
 

We are loading the MATLAB RC File while launching MATLAB


Once this message has been received the patch has been applied correctly.

When using 2014.2:

There is no need to apply the patch in 2014.2 but the environment variable must still be set to enable the solution included in the 2014.2 installation.
setenv USE_VIVADO_RUNTIME_FOR_MATLAB 1
Then after invoking System Generator from within this terminal you will receive the following message in the terminal:
 

We are loading the MATLAB RC File while launching MATLAB


If you have any further problems, please contact Xilinx Technical Support.

When using 2014.3 or newer:

There is no need to apply the patch or set the environment variable.

Sysgen 2014.3 contains a direct resolution for this issue and so it should not be seen.

Note: This AR is written with respect to TCSH.

If using other tools such as BASH shell, use the equivalent commands to set up the environment variables.

附件

文件名 文件大小 File Type
AR59236_Vivado_2014_1_lin_preliminary_rev1.zip 8 KB ZIP
AR# 59236
日期 10/08/2014
状态 Active
Type 综合文章
Tools
People Also Viewed