Skip to main content

Install gl4es

Read more: What is gl4es? »

The official compilation guide for gl4es provides the general steps for compiling and installing on an RV64 system:

sudo apt update
sudo apt install libx11-dev
git clone https://github.com/ptitSeb/gl4es
cd gl4es
mkdir build; cd build; cmake .. -D CMAKE_BUILD_TYPE=RelWithDebInfo
make -j$(nproc)

After compilation, the following file will be available in the project directory: gl4es/lib/libGL.so.1

Temporarily add gl4es to PATH:

export LD_LIBRARY_PATH=/path/to/gl4es/lib:$LD_LIBRARY_PATH

Permanently add gl4es to PATH:

vim ~/.bashrc
export LD_LIBRARY_PATH=/path/to/gl4es/lib:$LD_LIBRARY_PATH
source ~/.bashrc

Read more: What is PATH and how to add content to PATH? »

Update gl4es

  1. Get the latest code:

    cd gl4es
    git pull origin master
  2. Recompile and install:

    mkdir -p build
    cd build
    cmake .. -D CMAKE_BUILD_TYPE=RelWithDebInfo
    make -j$(nproc)