Skip to content

How to install BPG?

Qunliang Xing edited this page Jul 10, 2021 · 3 revisions

Please refer to BPG official website and BPG specification for official instructions.

My Installation

# install yasm
cd <any-path-you-like>
wget http://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz  
tar -zxvf yasm-1.3.0.tar.gz && cd yasm-1.3.0/
./configure
make && sudo make install

# install sdl
sudo apt update && sudo apt-get install libsdl-image1.2-dev

# install libbpg
cd <any-path-you-like>
wget https://bellard.org/bpg/libbpg-0.9.8.tar.gz
tar -zxvf libbpg-0.9.8.tar.gz && cd libbpg-0.9.8/
make && sudo make install

Bug fixed: recipe for target bpgenc failed

Remove libnuma-dev before installing libbpg, and re-install it after installing libbpg.

sudo apt remove libnuma-dev
make && sudo make install
sudo apt install libnuma-dev