Hmm, it seems that a window *is* opened but it is totally different than the normal Simulink window (looks oldfashioned with large fonts). Still, ideas how to get the 'correct' GUI window are welcomed.

Thanks,
Kaj

On 12/02/2022 11:35, Kaj Wiik wrote:
Hi Casperites,

I am trying to install the RFSoC toolchain following the instructions from
https://github.com/casper-astro/tutorials_devel/blob/master/docs/tutorials/rfsoc/tut_getting_started.md

I am using Ubuntu 20.04 LTS, Vivado 2020.2, and Matlab 2019a (with Simulink)

The problem is that Simulink window appears if Matlab is started in normal environment, in python3 venv but _not if Matlab is started by startsg_.

The error message is:
---------------------------------------------------------------------
Starting Vivado/Vitis Sysgen
Type xlDoc to open the Xilinx System Generator help documentation.
Type demo blockset xilinx to view the demos available for Xilinx System 
Generator.
Tip of the day: Learn more about Support for multiple clock domains.

 >> simulink
Warning: MATLABWindow application failed to launch. Unable to launch the MATLABWindow application
 > In sltemplate.ui.StartPage/showWithFallback
   In sltemplate.ui.StartPage.show

 >> cd(matlabroot)
 >> ! bin/glnxa64/MATLABWindow
bin/glnxa64/MATLABWindow: symbol lookup error: /lib/x86_64-linux-gnu/libgnutls.so.30: undefined symbol: __gmpz_limbs_write
----------------------------------------------------------------------

I have tried to play with different libgmp versions as suggested by some Matlab/Xilings mailing lists but nothing has worked.

I ask in this list because this seems to be a casper toolflow related problem.

My startsg.local is
----------------------------------------------------------------------
export XILINX_PATH=/opt/Xilinx/Vivado/2020.2
export MATLAB_PATH=/home/kjwiik/.local/MATLAB/R2019a
export PLATFORM=lin64
export JASPER_BACKEND=vitis
XLNX_DT_REPO_PATH=/home/kjwiik/sandbox/xilinx/device-tree-xlnx
#export LD_PRELOAD=${LD_PRELOAD}:"/usr/lib/x86_64-linux-gnu/libexpat.so"
export CASPER_PYTHON_VENV_ON_START=/home/kjwiik/sandbox/casper-venv
----------------------------------------------------------------------

Any suggestions?

Thanks,
Kaj


--
You received this message because you are subscribed to the Google Groups 
"[email protected]" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/9327c4a5-dbd7-5434-2ed9-325a560fcde9%40utu.fi.

Reply via email to