Repository navigation
compiling_Linux
Bruno Levy edited this page Sep 12, 2026
·
9 revisions
- CMake
- g++ compiler
- X11 development libraries
On a Debian system, dependancies can be installed as follows:
sudo apt-get install cmake build-essential libx11-dev libxcb1-dev libxau-dev libxdmcp-dev
You may need also (thank you @rflamary):
sudo apt-get install libxi-dev libxcursor-dev libxinerama-dev libxrandr-dev libtbb-dev
git clone --recurse-submodules https://github.com/BrunoLevy/geogram.git
cd geogram
./configure.sh
cd build/Linux64-gcc-dynamic-Release
make -j 8
This will compile the geogram library as well as demo programs. Demo
programs are generated in the bin/ subdirectory.
git clone --recurse-submodules https://github.com/BrunoLevy/geogram.git
cd geogram
./configure.sh Linux64-nonx86-gcc-dynamic
cd build/Linux64-nonx86-gcc-dynamic-Release
make -j 8
This will compile the geogram library as well as demo programs. Demo
programs are generated in the bin/ subdirectory.
git clone --recurse-submodules https://github.com/BrunoLevy/geogram.git
cd geogram
./configure.sh Linux64-nonx86-clang-dynamic
cd build/Linux64-nonx86-clang-dynamic-Release
make -j 8
This will compile the geogram library as well as demo programs. Demo
programs are generated in the bin/ subdirectory.
To get latest version of submodules:
git submodule update --recursive --remote
To compile additional exploragram library:
cd geogram/src/lib
git clone https://github.com/BrunoLevy/exploragram.git
(then reconfigure and make)