1.下载,下载地址
https://www.gowinsemi.com.cn/software/index
我下载的版本是Gowin_V1.9.11.03_Education_Linux
ps:云源软件和云源编程器的区别:
云源软件包含一系列工具如ide,综合工具,编程器等等
云源编程器就是个下载器,把综合后的Verilog代码下载到板子上。
2.因为为软件包是压缩包格式,直接找个地方解压,我这里选的是~/mySOFT,
所以我的软件路径是~/mySOFT/Gowin_V1.9.11.03_Education_Linux/IDE/
,记得留意您的路径可能和我有区别
3.配置LD_LIBRARY_PATH,指向ide目录下的lib库,并试着启动
export LD_LIBRARY_PATH=~/mySOFT/Gowin_V1.9.11.03_Education_Linux/IDE/lib:$LD_LIBRARY_PATH
./gw_ide
各部分解释:
export:让这个变量在当前shell和所有子进程中可用
LD_LIBRARY_PATH:Linux环境变量,指定动态库的搜索路径
=~/mySOFT/Gowin_V1.9.11.03_Education_Linux/IDE/lib:将高云软件的lib目录添加到路径中
~代表当前用户的家目录(如 /home/你的用户名/)
:$LD_LIBRARY_PATH:保留原来已有的 LD_LIBRARY_PATH 内容
4.创建快捷方式(可选)
创建文件gowin.desktop,其内容为
[Desktop Entry]
Name=Gowin
Comment=Gowin IDE
Exec=bash -c 'export LD_LIBRARY_PATH=~/mySOFT/Gowin_V1.9.11.03_Education_Linux/IDE/lib:$LD_LIBRARY_PATH && ~/mySOFT/Gowin_V1.9.11.03_Education_Linux/IDE/bin/gw_ide'
Terminal=true
Type=Application
Categories=Utility;
可将gowin.desktop放到 ~/.local/share/applications/下和~/Desktop/,开始菜单和桌面就会出现快捷方式
5.补充库,若出现libfontconfig的相关错误,系统带的库的版本太新了,可以试着下载
https://github.com/plunify/libfontconfig
将其放到 lib 目录下
6.如果出现
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb.
就是 LD_LIBRARY_PATH 没指定正确
7.参考
https://blog.csdn.net/qq_41544116/article/details/145647053
高云fpga linux环境