logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt
How to install ritschmaster/b3. Official installation instructions. Project installation guide. Framework or library installation. Build installation instructions. How to setup and install from GitHub. Installation steps and setup instructions. Official docs and installation instructions GitHub.

ritschmaster/b3 Installation Guide

How to install ritschmaster/b3. Official project installation instructions and setup guide.

Automated Install (Recommended)

Quick installation instructions for ritschmaster/b3. This is the fastest way to complete project installation and setup.

Install via curl

curl -fsSL https://hexmos.com/ipm-install | bash && 
ipm i ritschmaster/b3
or

Install via npx

npx @hexmos/ipm i ritschmaster/b3

Prerequisites

MinGW

compiler

Collections-C

library

w32bindkeys

library

make

build-tool

cmake

build-tool

automake

build-tool

autoconf

build-tool

libtool

build-tool

bison

parser-generator

flex

lexer-generator

pcre

library

Manual Installation Methods

Manual installation instructions. How to install from GitHub source.

Using binary releases (Windows)

curl -L https://github.com/ritschmaster/b3/releases/download/0.7/b3-0.7.zip -o b3-0.7.zip

unzip b3-0.7.zip

cp example.config bin

b3.exe

Using source code releases (Windows)

curl -L https://github.com/ritschmaster/b3/releases/download/0.7/b3-0.7.zip -o b3-0.7.zip

unzip b3-0.7.zip

cd b3

make

cp example.config bin

b3.exe

Compiling on Windows using Msys2

git clone https://github.com/ritschmaster/b3.git

cd b3

pacman -S make cmake automake autoconf mingw-w64-x86_64-gcc libtool bison flex mingw64/mingw-w64-x86_64-pcre

wget https://github.com/srdja/Collections-C/archive/master.zip

unzip master.zip

cd Collections-C-master/

sed -i s/add_subdirectory\(test\)//g CMakeLists.txt

mkdir build

cd build

cmake -DCMAKE_INSTALL_PREFIX=/usr ..

cd ../..

wget https://github.com/ritschmaster/w32bindkeys/archive/master.zip

unzip master.zip

cd w32bindkeys-master/

mkdir build

cd build

cmake -DCMAKE_INSTALL_PREFIX=/usr ..

cd ../..

cd b3

./autogen.sh

make

make install

Compiling on Fedora Linux (64 bit)

git clone https://github.com/ritschmaster/b3.git

cd b3

sudo dnf install -y mingw64-gcc mingw64-gcc-c++ cmake automake autoconf autoconf-archive libtool bison flex mingw64-pcre

wget https://github.com/srdja/Collections-C/archive/master.zip

unzip master.zip

cd Collections-C-master/

sed -i s/add_subdirectory\(test\)//g CMakeLists.txt

mkdir build

cd build

mingw64-cmake ..

sudo make install

sudo cp /usr/x86_64-w64-mingw32/sys-root/mingw/lib/pkgconfig/collectionc.pc /usr/lib64/pkgconfig

cd ../..

wget https://github.com/ritschmaster/w32bindkeys/archive/master.zip

unzip master.zip

cd w32bindkeys-master/

mkdir build

cd build

cmake -DCMAKE_INSTALL_PREFIX=/usr ..

cd ../..

cd b3

export PKG_CONFIG_PATH=/usr/x86_64-w64-mingw32/lib/pkgconfig/

./configure --host=x86_64-w64-mingw32

make

Post Installation Steps

  • cp example.config bin
  • b3.exe