-
Notifications
You must be signed in to change notification settings - Fork 19
compiling_Linux
Bruno edited this page Aug 22, 2024
·
7 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 libxrandr-dev
$ git clone --recurse-submodules https://github.com/BrunoLevy/GraphiteThree.git
$ cd GraphiteThree
$ ./configure.sh
$ cd build/Linux64-gcc-dynamic-Release
$ make -j 8
Graphite is generated in the bin/
subdirectory.
Create the file GraphiteThree/plugins/OGF/Plugins.txt
(you can copy
GraphiteThree/plugins/OGF/Plugins.txt.sample
) and for each plugin
you want to compile, add a line with:
add_subdirectory(PluginName)
where PluginName is one of WarpDrive
(optimal transport), RayTracing
(to display
transparent surfaces) or gompy
(Python interoperability for Graphite).
Then reconfigure and rebuild Graphite.
git submodule update --recursive --remote