yuanming-hu / taichi_mpm

High-performance moving least squares material point method (MLS-MPM) solver. (ACM Transactions on Graphics, SIGGRAPH 2018)
MIT License
2.38k stars 315 forks source link

Errors occured dur to no module named "taichi/dynamics" #39

Open fengzekang opened 4 years ago

fengzekang commented 4 years ago

Hi, @durochat Thanks for your reply. I have download the source code and the system is ubuntu18.04. After I run the 'make', the error oucred: taichi_mpm-master/src/articulation.h:8:10: fatal error: 'taichi/dynamics/rigid_body.h' file not found

include <taichi/dynamics/rigid_body.h>

     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

1 error generated. CMakeFiles/taichi_mpm.dir/build.make:62: recipe for target 'CMakeFiles/taichi_mpm.dir/src/articulation.o' failed make[2]: [CMakeFiles/taichi_mpm.dir/src/articulation.o] Error 1 CMakeFiles/Makefile2:68: recipe for target 'CMakeFiles/taichi_mpm.dir/all' failed make[1]: [CMakeFiles/taichi_mpm.dir/all] Error 2 Makefile:129: recipe for target 'all' failed make: *** [all] Error 2 Actually,there is no module 'taichi/dynamics' in the source code. So I am confused . Thanks a lot.

durochat commented 4 years ago

I'm not maintainer or developer of taichi_mpm, just simple user but I suggest you to follow the installation instructions (as sudo): https://github.com/yuanming-hu/taichi_mpm#linux-and-osx You normally don't have to use any "make".

fengzekang commented 4 years ago

Hi, @durochat Thank you Did you mean run the following command in the terminal: wget https://raw.githubusercontent.com/yuanming-hu/taichi/legacy/install.py python3 install.py ti install mpm And what I did is just the simulation of geotechnical problem using mpm. I want to check the sand examples based on this code. Thanks a lot.

1234shel commented 4 years ago

Did you manage to solve this issue...I am getting the same error message.