-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ubuntu 20.04编译完成但运行失败 #94
Comments
这应该是 async-std 1.6.3 新引入的 bug,临时解决可以修改Cargo.toml,把 async-std 的依赖版本改为 "=1.6.2" |
改过就可以了。但为什在Cargo.toml中依赖项版本写成"^version",而不是更稳定的"=version"呀? |
理论上 1.6.* 这种小版本号的更新不会改动 api,可以直接升级,但因为上游smol改动过大造成现在的问题。
|
明白了 |
问题已修复 |
Open
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
复现步骤
按照README的步骤进行编译,编译完成无报错.
$ cargo build --release Updating crates.io index Downloaded gstreamer-player v0.16.0 ... Compiling async-std v1.6.3 ... Compiling netease-cloud-music-gtk v1.1.2 (/home/ubtuee/Downloads/netease-cloud-music-gtk) Finished release [optimized] target(s) in 11m 41s
错误结果
但打包安装后发现无法使用,页面无法加载:


从命令行启动播放器,会显示报错信息:
补充信息
netease-cloud-music-gtk-ubuntu_18.04_1.1.2_amd64.deb
和它内部的可执行文件netease-cloud-music-gtk
,新编译的无法正常运行。编译失败的原因大概率为async-std等依赖项的更新导致的。祝好
The text was updated successfully, but these errors were encountered: