ubuntu|ubuntu 20.04 安装wxFormBuilder

ubuntu 20.04
Pre-requisites for Ubuntu:

sudo apt install libwxgtk3.0-gtk3-dev libwxgtk-media3.0-gtk3-dev meson

Build and run:
git clone --recursive --depth=1 https://github.com/wxFormBuilder/wxFormBuilder cd wxFormBuilder meson _build --prefix $PWD/_install --buildtype=release ninja -C _build install ./_install/bin/wxformbuilder

出现下面的错误:
21:36:00: Could not set current working directory (error 2: No such file or directory) 21:36:00: /home/george/tx/wxFormBuilder/_install/lib/wxformbuilder/liblayout.so: cannot open shared object file: No such file or directory 21:36:00: Error loading library /home/george/tx/wxFormBuilder/_install/lib/wxformbuilder/liblayout 21:36:00: Could not set current working directory (error 2: No such file or directory) 21:36:00: /home/george/tx/wxFormBuilder/_install/lib/wxformbuilder/libcommon.so: cannot open shared object file: No such file or directory 21:36:00: Error loading library /home/george/tx/wxFormBuilder/_install/lib/wxformbuilder/libcommon 21:36:00: Could not set current working directory (error 2: No such file or directory) 21:36:00: Could not set current working directory (error 2: No such file or directory) 21:36:00: /home/george/tx/wxFormBuilder/_install/lib/wxformbuilder/libadditional.so: cannot open shared object file: No such file or directory 21:36:00: Error loading library /home/george/tx/wxFormBuilder/_install/lib/wxformbuilder/libadditional 21:36:00: Could not set current working directory (error 2: No such file or directory) 21:36:00: Could not set current working directory (error 2: No such file or directory) 21:36:00: Could not set current working directory (error 2: No such file or directory) 21:36:00: /home/george/tx/wxFormBuilder/_install/lib/wxformbuilder/libforms.so: cannot open shared object file: No such file or directory 21:36:00: Error loading library /home/george/tx/wxFormBuilder/_install/lib/wxformbuilder/libforms 21:36:00: Could not set current working directory (error 2: No such file or directory) 21:36:00: /home/george/tx/wxFormBuilder/_install/lib/wxformbuilder/libcontainers.so: cannot open shared object file: No such file or directory 21:36:00: Error loading library /home/george/tx/wxFormBuilder/_install/lib/wxformbuilder/libcontainers

ubuntu|ubuntu 20.04 安装wxFormBuilder
文章图片
2020-10-09 21-41-25屏幕截图.png 解决方法:
cp -r _install/lib/x86_64-linux-gnu/wxformbuilder/ _install/lib/

ubuntu|ubuntu 20.04 安装wxFormBuilder
文章图片
2020-10-09 22-30-38屏幕截图.png
安装成功。

【ubuntu|ubuntu 20.04 安装wxFormBuilder】deepin系统安装wxPython,还需要先安装:
sudo apt-get install build-essential gdb

    推荐阅读