yuanming-hu / taichi_mpm

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

Installation issues #46

Closed blazecus closed 3 years ago

blazecus commented 3 years ago

Trying to install the legacy version, but keep getting this when running install.py.

/home/blazes/taichi/include/taichi/math/linalg.h:372:11: warning: ‘void memcpy(void, const void, size_t)’ writing to an object of type ‘struct taichi::VectorND<4, float, taichi::InstSetExt::AVX2>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 372 | memcpy(this, &o, sizeof(this)); | ~~^~~~~~~~~ /home/blazes/taichi/include/taichi/math/linalg.h:154:8: note: ‘struct taichi::VectorND<4, float, taichi::InstSetExt::AVX2>’ declared here 154 | struct VectorND : public VectorNDBase<dim__, T, ISE> { | ^~~~ make[2]: [CMakeFiles/taichi_core.dir/build.make:141: CMakeFiles/taichi_core.dir/include/taichi/dynamics/rigid_body.cpp.o] Error 1 make[1]: [CMakeFiles/Makefile2:96: CMakeFiles/taichi_core.dir/all] Error 2 make: *** [Makefile:84: all] Error 2 Error: Build failed. Error: installation failed.

tasbolat1 commented 3 years ago

Hi @blazecus, Did u solve this problem?

ComicAddict commented 3 years ago

Hi @blazecus and @tasbolat1 I am getting this issue on Linux as well, do you have any solutions to this issue?