-
Notifications
You must be signed in to change notification settings - Fork 19
compiling_Windows
Bruno Levy edited this page Sep 11, 2022
·
6 revisions
- git here use 64-bit Git for Windows Setup.
- Tortoise git here optionnal, adds context menus to file browser, convenient
- CMake here use cmake-xxxx-windows-x86_64.msi IMPORTANT: select "Add CMake to system path for all users"
- Visual C++ here use community version
- git clone --recurse-submodules
https://github.com/BrunoLevy/GraphiteThree.git
(if you installed Tortoise git, right click in current folder, git clone, enter repository address, selectrecursive
checkbox) - open
GraphiteThree
folder - double click on
configure.bat
it should display a message that solution was generated - open
Build/Windows/GraphiteThree.sln
in VisualStudio - set
Release
mode (default isDebug
) - build solution
Graphite is generated in the Build\Release\bin
subdirectory.
To start it from Visual C++, right click on GRAPHITE/binaries/Graphite in the
solution explorer and set it as the startup project. Then <Ctrl><F5>
starts Graphite (or <F5>
to start Graphite in the debugger).
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.
To get latest version of submodules, in a terminal
(or using git shell here
if you installed Tortoise git):
git submodule update --recursive --remote