-
Notifications
You must be signed in to change notification settings - Fork 320
Description
Hi, when I use this command to install the legacy Taichi Library:
wget https://raw.githubusercontent.com/yuanming-hu/taichi/legacy/install.py
python3 install.py
Once I run the command python3 install.py, many orrors occurs, such as
taichi/include/taichi/dynamics/rigid_body.cpp:104:17: error: no match for ‘operator+=’ (operand types are ‘taichi::RigidBody<2>::InertiaType’ {aka ‘float’} and ‘taichi::MatrixND<2, float, taichi::InstSetExt::AVX2>’)
104 | inertia +=
| ~~~~~~~~^~
105 | (Matrix(dot(r, r)) - Matrix::outer_product(r, r)) * local_volume;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
taichi/include/taichi/math/angular.h:114:24: error: request for member ‘toRotationMatrix’ in ‘((const taichi::Rotation<2>*)this)->taichi::Rotation<2>::value’, which is of non-class type ‘const ValueType’ {aka ‘const float’}
114 | auto mat = value.toRotationMatrix();
| ~~~~~~^~~~~~~~~~~~~~~~
It seems that many errors are related to math.h and meta.h. Could you help me?