系统版本15.11桌面版,全新安装
在$HOME/SoftwareLibrary中克隆wxWidgets
不可以直接从git拉,会少文件
SoftwareLibrary是我自己的建立的目录
从https://github.com/wxWidgets/wxWidgets/releases
下载最新的发布包
然后进入wxWidgets目录,
在docs/gtk/install.md
有安装教程,说的比较简单粗暴,很适合我:
If you compile wxWidgets on Linux for the first time and don't like to read
install instructions just do (in the base dir):
> mkdir buildgtk
> cd buildgtk
> ../configure --with-gtk
> make
> su <type root password>
> make install
> ldconfig
[if you get "ldconfig: command not found", try using "/sbin/ldconfig"]
If you don't do the 'make install' part, you can still use the libraries from
the buildgtk directory, but they may not be available to other users.
If you want to remove wxWidgets on Unix you