Tutorials on how to set up Peridyno.
Windows 10: fully tested
Linux: should work as well, yet not guranteed.
IDE:
CUDA:
Graphics:
Optional:
Aside from those optional, other libraries are integrated inside the project to simplify the installation. Use the following git command to down the project as well as other dependences.
git clone --recursive https://github.com/peridyno/peridyno.git
Check whether CMake has been installed on your system, if not, visit https://cmake.org/download/ to download the lastest version.
Preferred: Run cmake-gui.exe, set the top two entries with the source code and binary directories. Configure the libararies you want to build, then click the Generate button to build the project.
A more convient way to build the project with a default setting is as follows
cd peridyo/build
cmake ..
QT installation: Recommended downloadQT5.13.0 or above
1、Register account:
2、Components to be selected:
3、Cmake project, and check the QT related options:
VTK installation: Recommended downloadVTK8.2.0 or above
1、Download VTK source code
2.勾选Moduel中QT相关的这些选项:
3.设置OpenGL相关选项:
4.然后点Generate再打开VS项目进行生成
5.打开VTK的VS工程。生成->批生成 ALL_BUILD Release x64 栏 勾选 √—->点击【生成】
6.把刚刚勾选的ALL_BUILD Release后面的√去掉,下拉,在INSTALL Release后面勾选
7.将VTK路径加入到Path中
Peridyno’s default license is the Apache 2.0 (See LICENSE).
External libraries are distributed under their own terms.