尝试在 Ubuntu 20.04(focal)上为 opencpn 设置开发环境。
我收到以下错误消息:
dave@nuc3:~$ sudo apt-get install build-essential cmake gettext git-core gpsd gpsd-clients libgps-dev wx-common libwxgtk3.0-dev libglu1-mesa-dev libgtk2.0-dev wx3.0-headers libbz2-dev libtinyxml-dev libportaudio2 portaudio19-dev libcurl4-openssl-dev libexpat1-dev libcairo2-dev libarchive-dev liblzma-dev libexif-dev libelf-dev libsqlite3-dev
[sudo] password for dave:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'git' instead of 'git-core'
Package libwxgtk3.0-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'libwxgtk3.0-dev' has no installation candidate
有人能建议我如何解决丢失的 libwxgtk3.0-dev 库吗?
答案1
libwxgtk3.0-dev
libwxgtk3.0-gtk3-dev
在 Ubuntu 20.04 中被改为。
答案2
该包已从 重命名为,libwxgtk3.0-dev
正如libwxgtk3.0-gtk3-dev
@igor 在评论中指出的那样。