当前位置:   article > 正文

【WSL2】Vivado2022.2+Ubuntu 22.04 LTS+WSL2 使用的一些坑_vivado安装卡在generating

vivado安装卡在generating

1. 安装卡在‘Generating installed device list‘

解决办法:
在这里插入图片描述
参考:
Vivado 2018.3 Final Processing hangs at ‘Generating installed device list’ on Ubuntu 19.04

2. 无法打开Vitis和Vitis HLS的GUI界面

翻看log可见如下错误:
在这里插入图片描述
解决办法:
sudo apt install libswt-gtk-4-jni

3. 运行C simulation报错cannot find crt1.o: No such file or directory

解决办法:
在运行vivado_hls之前,首先运行:export LIBRARY_PATH=/usr/lib/x86_64-linux-gnu:$LIBRARY_PATH
参考:
Vivado HLS C simulation and C/RTL cosimulation running Debian/testing

4. Vitis创建New Application Project一直卡在读取create a new platform from hardware(XSA)

翻看创建路径下的IDE.log文件可看到如下报错信息:

17:55:02 ERROR : Timed out. 180 seconds have elapsed while waiting for XSCT server to launch.
17:55:02 INFO  : Launching XSCT server: xsct -n  -interactive /home/ykhuang/workspace/Vivado/ZYNQ/Embedded_System/hello_world_again/vitis/temp_xsdb_launch_script.tcl
17:55:02 ERROR : Failed to call init_repo
Reason: xsct server communication channel is not established.
  • 1
  • 2
  • 3
  • 4

翻看Xilinx的一些官方问答并不能很好地解决问题.
解决办法:
WSL2内运行,查看是否安装了xlsclients

xlsclients -l
  • 1

运行结果显示

Command 'xlsclients' not found, but can be installed with:
sudo apt install x11-utils
  • 1
  • 2

执行上述建议安装x11-utils

sudo apt install x11-utils
  • 1

安装完成后,就能发现Vitis创建New Application Project可以从读取create a new platform from hardware(XSA)顺利跳转到下一步了。

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/繁依Fanyi0/article/detail/881306
推荐阅读
相关标签
  

闽ICP备14008679号