我要评分
获取效率
正确性
完整性
易理解

Installing wxWidgets

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. 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
  3. 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
  4. Perform the verification.
    wx-config  --version

    If the correct wxWidgets version is displayed, the installation is successful.