Skip to content

Installation Issues about legacy Taichi Library #58

@wjh123git

Description

@wjh123git

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions