Installing wxWidgets
Procedure
- Use PuTTY to log in to the server as the root user.
- Install wxWidgets.
yum install libtiff-devel gtk2-devel* wget https://github.com/wxWidgets/wxWidgets/releases/download/v3.0.2/wxWidgets-3.0.2.tar.bz2 tar xvf wxWidgets-3.0.2.tar.bz2 cd wxWidgets-3.0.2 mkdir gtk_config cd gtk_config ../configure --prefix=/path/to/WXWIDGETS --build=aarch64-unknown-linux-gnu --disable-share --enable-unicode --with-libtiff=sys --with-gtk=2 make -j16
- Configure the environment variables.
export PATH=/path/to/WXWIDGETS/bin:$PATH export LD_LIBRARY_PATH=/path/to/WXWIDGETS/lib:$LD_LIBRARY_PATH export INCLUDE=/path/to/WXWIDGETS/lib:$ INCLUDE
- Perform the verification.
wx-config --version
If the correct wxWidgets version is displayed, the installation is successful.
Parent topic: Configuring the Compilation Environment