Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build Failed tbb hash_map memset #15

Open
strgplust opened this issue Sep 29, 2021 · 0 comments
Open

Build Failed tbb hash_map memset #15

strgplust opened this issue Sep 29, 2021 · 0 comments

Comments

@strgplust
Copy link

[laptop@laptop ~]$ python install.py

  • Taichi Installer
    ('64bit', 'ELF')
    Build type = default
    wget ist /usr/bin/wget
    pip3 installation detected
    Requirement already satisfied: colorama in /usr/lib/python3.9/site-packages (0.4.4)
    Requirement already satisfied: numpy in ./.local/lib/python3.9/site-packages (1.21.2)
    Requirement already satisfied: Pillow in ./.local/lib/python3.9/site-packages (8.3.2)
    Requirement already satisfied: flask in ./.local/lib/python3.9/site-packages (2.0.1)
    Requirement already satisfied: scipy in ./.local/lib/python3.9/site-packages (1.7.1)
    Requirement already satisfied: pybind11 in ./.local/lib/python3.9/site-packages (2.7.1)
    Requirement already satisfied: flask_cors in ./.local/lib/python3.9/site-packages (3.0.10)
    Requirement already satisfied: GitPython in ./.local/lib/python3.9/site-packages (3.1.24)
    Requirement already satisfied: yapf in ./.local/lib/python3.9/site-packages (0.31.0)
    Requirement already satisfied: distro in /usr/lib/python3.9/site-packages (1.6.0)
    Requirement already satisfied: requests in /usr/lib/python3.9/site-packages (2.26.0)
    Requirement already satisfied: PyQt5 in ./.local/lib/python3.9/site-packages (5.15.4)
    Requirement already satisfied: itsdangerous>=2.0 in ./.local/lib/python3.9/site-packages (from flask) (2.0.1)
    Requirement already satisfied: Werkzeug>=2.0 in ./.local/lib/python3.9/site-packages (from flask) (2.0.1)
    Requirement already satisfied: Jinja2>=3.0 in /usr/lib/python3.9/site-packages (from flask) (3.0.1)
    Requirement already satisfied: click>=7.1.2 in ./.local/lib/python3.9/site-packages (from flask) (8.0.1)
    Requirement already satisfied: MarkupSafe>=2.0 in /usr/lib/python3.9/site-packages (from Jinja2>=3.0->flask) (2.0.1)
    Requirement already satisfied: Six in /usr/lib/python3.9/site-packages (from flask_cors) (1.16.0)
    Requirement already satisfied: typing-extensions>=3.7.4.3 in /usr/lib/python3.9/site-packages (from GitPython) (3.10.0.2)
    Requirement already satisfied: gitdb<5,>=4.0.1 in ./.local/lib/python3.9/site-packages (from GitPython) (4.0.7)
    Requirement already satisfied: smmap<5,>=3.0.1 in ./.local/lib/python3.9/site-packages (from gitdb<5,>=4.0.1->GitPython) (4.0.0)
    Requirement already satisfied: PyQt5-Qt5>=5.15 in ./.local/lib/python3.9/site-packages (from PyQt5) (5.15.2)
    Requirement already satisfied: PyQt5-sip<13,>=12.8 in ./.local/lib/python3.9/site-packages (from PyQt5) (12.9.0)
    Requirement already satisfied: chardet>=3.0.2 in /usr/lib/python3.9/site-packages (from requests) (4.0.0)
    Requirement already satisfied: idna>=2.5 in /usr/lib/python3.9/site-packages (from requests) (3.2)
    Requirement already satisfied: urllib3>=1.21.1 in /usr/lib/python3.9/site-packages (from requests) (1.26.6)
    importing numpy test:
    ret: CompletedProcess(args=['/usr/bin/python', '-c', 'import numpy as np'], returncode=0)
    Executing command: cmake --version
    cmake version 3.21.3

CMake suite maintained and supported by Kitware (kitware.com/cmake).
sudo ist /usr/bin/sudo
Linux distribution 'arch' detected
Executing command: sudo pacman --needed -S git cmake make gcc
[sudo] Passwort für laptop:
Warnung: git-2.33.0-1 ist aktuell -- Überspringe
Warnung: cmake-3.21.3-1 ist aktuell -- Überspringe
Warnung: make-4.3-3 ist aktuell -- Überspringe
Warnung: gcc-11.1.0-1 ist aktuell -- Überspringe
Es gibt nichts zu tun
Requirement already satisfied: psutil in ./.local/lib/python3.9/site-packages (5.8.0)
Current directory: /home/laptop
Cloning taichi from github...
Executing command: git clone https://github.com/yuanming-hu/taichi.git --branch legacy
Klone nach 'taichi' ...
remote: Enumerating objects: 73840, done.
remote: Counting objects: 100% (155/155), done.
remote: Compressing objects: 100% (81/81), done.
remote: Total 73840 (delta 65), reused 130 (delta 56), pack-reused 73685
Empfange Objekte: 100% (73840/73840), 40.30 MiB | 6.24 MiB/s, fertig.
Löse Unterschiede auf: 100% (54756/54756), fertig.
Fetching taichi runtimes...
Executing command: git clone https://github.com/yuanming-hu/taichi_runtime external/lib -b linux --depth 1
Klone nach 'external/lib' ...
remote: Enumerating objects: 6, done.
remote: Counting objects: 100% (6/6), done.
remote: Compressing objects: 100% (6/6), done.
remote: Total 6 (delta 0), reused 5 (delta 0), pack-reused 0
Empfange Objekte: 100% (6/6), 32.91 MiB | 6.22 MiB/s, fertig.
Executing command: git submodule update --init --recursive
Submodul 'assets' (https://github.com/yuanming-hu/taichi_assets) für Pfad 'assets' in die Konfiguration eingetragen.
Submodul 'external/glfw' (https://github.com/glfw/glfw) für Pfad 'external/glfw' in die Konfiguration eingetragen.
Klone nach '/home/laptop/taichi/assets' ...
Klone nach '/home/laptop/taichi/external/glfw' ...
Submodul-Pfad: 'assets': '3246859a7232941db1bfbc2bf8700c072ed0cbfa' ausgecheckt
Submodul-Pfad: 'external/glfw': '999f3556fdd80983b10051746264489f2cb1ef16' ausgecheckt
Executing command: echo "export TAICHI_NUM_THREADS=8" >> ~/.bashrc
Executing command: echo "export TAICHI_REPO_DIR=/home/laptop/taichi" >> ~/.bashrc
Executing command: echo "export PYTHONPATH=$TAICHI_REPO_DIR/python/:$PYTHONPATH" >> ~/.bashrc
Executing command: echo "export PATH=$TAICHI_REPO_DIR/bin/:$PATH" >> ~/.bashrc
PYTHONPATH=/home/laptop/taichi/python/:/home/laptop/taichi/python/:/home/laptop/taichi/python/:
Executing command: echo $PYTHONPATH
/home/laptop/taichi/python/:/home/laptop/taichi/python/:/home/laptop/taichi/python/:
Running cmake...
-- The C compiler identification is GNU 11.1.0
-- The CXX compiler identification is GNU 11.1.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
Using C++ compiler: /usr/bin/c++
-- target changed from "" to "auto"
-- Detected CPU: zen
-- Performing Test check_cxx_compiler_flag__march_znver1
-- Performing Test check_cxx_compiler_flag__march_znver1 - Success
-- Performing Test check_cxx_compiler_flag__msse2
-- Performing Test check_cxx_compiler_flag__msse2 - Success
-- Performing Test check_cxx_compiler_flag__msse3
-- Performing Test check_cxx_compiler_flag__msse3 - Success
-- Looking for C++ include pmmintrin.h
-- Looking for C++ include pmmintrin.h - found
-- Performing Test check_cxx_compiler_flag__mssse3
-- Performing Test check_cxx_compiler_flag__mssse3 - Success
-- Looking for C++ include tmmintrin.h
-- Looking for C++ include tmmintrin.h - found
-- Performing Test check_cxx_compiler_flag__msse4_1
-- Performing Test check_cxx_compiler_flag__msse4_1 - Success
-- Looking for C++ include smmintrin.h
-- Looking for C++ include smmintrin.h - found
-- Performing Test check_cxx_compiler_flag__msse4_2
-- Performing Test check_cxx_compiler_flag__msse4_2 - Success
-- Performing Test check_cxx_compiler_flag__msse4a
-- Performing Test check_cxx_compiler_flag__msse4a - Success
-- Looking for C++ include ammintrin.h
-- Looking for C++ include ammintrin.h - found
-- Performing Test check_cxx_compiler_flag__mavx
-- Performing Test check_cxx_compiler_flag__mavx - Success
-- Looking for C++ include immintrin.h
-- Looking for C++ include immintrin.h - found
-- Performing Test check_cxx_compiler_flag__mfma
-- Performing Test check_cxx_compiler_flag__mfma - Success
-- Performing Test check_cxx_compiler_flag__mbmi2
-- Performing Test check_cxx_compiler_flag__mbmi2 - Success
-- Performing Test check_cxx_compiler_flag__mavx2
-- Performing Test check_cxx_compiler_flag__mavx2 - Success
-- Performing Test check_cxx_compiler_flag__mno_xop
-- Performing Test check_cxx_compiler_flag__mno_xop - Success
-- Performing Test check_cxx_compiler_flag__mno_fma4
-- Performing Test check_cxx_compiler_flag__mno_fma4 - Success
-- Performing Test check_cxx_compiler_flag__mno_avx512f
-- Performing Test check_cxx_compiler_flag__mno_avx512f - Success
-- Performing Test check_cxx_compiler_flag__mno_avx512vl
-- Performing Test check_cxx_compiler_flag__mno_avx512vl - Success
-- Performing Test check_cxx_compiler_flag__mno_avx512pf
-- Performing Test check_cxx_compiler_flag__mno_avx512pf - Success
-- Performing Test check_cxx_compiler_flag__mno_avx512er
-- Performing Test check_cxx_compiler_flag__mno_avx512er - Success
-- Performing Test check_cxx_compiler_flag__mno_avx512cd
-- Performing Test check_cxx_compiler_flag__mno_avx512cd - Success
-- Performing Test check_cxx_compiler_flag__mno_avx512dq
-- Performing Test check_cxx_compiler_flag__mno_avx512dq - Success
-- Performing Test check_cxx_compiler_flag__mno_avx512bw
-- Performing Test check_cxx_compiler_flag__mno_avx512bw - Success
-- Performing Test check_cxx_compiler_flag__mno_avx512ifma
-- Performing Test check_cxx_compiler_flag__mno_avx512ifma - Success
-- Performing Test check_cxx_compiler_flag__mno_avx512vbmi
-- Performing Test check_cxx_compiler_flag__mno_avx512vbmi - Success


  • CPU feature detection done.
  • Using Instruction Set Externsion: [AVX2]

Using float64 (double) precision as real
Using /usr/bin/python as python executable.
Python 3.9.7
version: 3.9
include: /usr/include/python3.9
library: /usr/lib/libpython3.9.so
numpy include: /home/laptop/.local/lib/python3.9/site-packages/numpy/core/include
pybind11 include: /home/laptop/.local/lib/python3.9/site-packages/pybind11/include;/home/laptop/.local/lib/python3.9/site-packages/pybind11/include
Runtimes exist.
PYTHON_LIBRARIES/usr/lib/libpython3.9.so

Ignoring project examples. (No CMakeLists.txt.)

C++ Flags: -DTC_ISE_AVX2 -std=c++14 -march=native -DGL_DO_NOT_WARN_IF_MULTI_GL_VERSION_HEADERS_INCLUDED -Wall -DTC_PASS_EXCEPTION_TO_PYTHON -DTC_INCLUDED -DTC_USE_DOUBLE -g
Project libraries:
-- Configuring done
-- Generating done
-- Build files have been written to: /home/laptop/taichi/build
Building taichi...
[ 1%] Building CXX object CMakeFiles/taichi_core.dir/include/taichi/dynamics/fluid2d/euler_liquid.cpp.o
[ 2%] Building CXX object CMakeFiles/taichi_core.dir/include/taichi/dynamics/fluid2d/euler_smoke.cpp.o
[ 4%] Building CXX object CMakeFiles/taichi_core.dir/include/taichi/common/asset_manager.cpp.o
[ 4%] Building CXX object CMakeFiles/taichi_core.dir/include/taichi/dynamics/fluid2d/apic.cpp.o
[ 5%] Building CXX object CMakeFiles/taichi_core.dir/include/taichi/dynamics/fluid2d/flip_liquid.cpp.o
In Datei, eingebunden von /home/laptop/taichi/external/include/tbb/tbb.h:42,
von /home/laptop/taichi/include/taichi/system/threading.h:21,
von /home/laptop/taichi/include/taichi/visualization/image_buffer.h:11,
von /home/laptop/taichi/include/taichi/dynamics/fluid2d/fluid.h:8,
von /home/laptop/taichi/include/taichi/dynamics/fluid2d/euler_liquid.h:9,
von /home/laptop/taichi/include/taichi/dynamics/fluid2d/flip_liquid.h:8,
von /home/laptop/taichi/include/taichi/dynamics/fluid2d/apic.h:8,
von /home/laptop/taichi/include/taichi/dynamics/fluid2d/apic.cpp:6:
/home/laptop/taichi/external/include/tbb/concurrent_hash_map.h: In Konstruktor »tbb::interface5::internal::hash_map_base::hash_map_base()«:
/home/laptop/taichi/external/include/tbb/concurrent_hash_map.h:122:24: Warnung: »void* memset(void*, int, size_t)« Säubern eines Objekts des Typs »class tbb::interface5::internal::hash_map_base« ohne triviale Kopierzuweisung; use value-initialization instead [-Wclass-memaccess]
122 | std::memset( this, 0, pointers_per_tablesizeof(segment_ptr_t) // 324=128 or 648=512
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
123 | + sizeof(my_size) + sizeof(my_mask) // 4+4 or 8+8
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
124 | + embedded_buckets
sizeof(bucket) ); // n8 or n16
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/laptop/taichi/external/include/tbb/concurrent_hash_map.h:76:11: Anmerkung: »class tbb::interface5::internal::hash_map_base« wird hier deklariert
76 | class hash_map_base {
| ^~~~~~~~~~~~~
/home/laptop/taichi/external/include/tbb/concurrent_hash_map.h: In statischer Elementfunktion »static void tbb::interface5::internal::hash_map_base::init_buckets(tbb::interface5::internal::hash_map_base::segment_ptr_t, tbb::interface5::internal::hash_map_base::size_type, bool)«:
/home/laptop/taichi/external/include/tbb/concurrent_hash_map.h:158:41: Warnung: »void* memset(void*, int, size_t)« Säubern eines Objekts des Typs »struct tbb::interface5::internal::hash_map_base::bucket« ohne triviale Kopierzuweisung; use value-initialization instead [-Wclass-memaccess]
158 | if( is_initial ) std::memset(ptr, 0, szsizeof(bucket) );
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/laptop/taichi/external/include/tbb/concurrent_hash_map.h:87:16: Anmerkung: »struct tbb::interface5::internal::hash_map_base::bucket« wird hier deklariert
87 | struct bucket : tbb::internal::no_copy {
| ^~~~~~
In Datei, eingebunden von /home/laptop/taichi/external/include/tbb/tbb.h:42,
von /home/laptop/taichi/include/taichi/system/threading.h:21,
von /home/laptop/taichi/include/taichi/visualization/image_buffer.h:11,
von /home/laptop/taichi/include/taichi/dynamics/fluid2d/fluid.h:8,
von /home/laptop/taichi/include/taichi/dynamics/fluid2d/euler_liquid.h:9,
von /home/laptop/taichi/include/taichi/dynamics/fluid2d/euler_smoke.h:8,
von /home/laptop/taichi/include/taichi/dynamics/fluid2d/euler_smoke.cpp:6:
/home/laptop/taichi/external/include/tbb/concurrent_hash_map.h: In Konstruktor »tbb::interface5::internal::hash_map_base::hash_map_base()«:
/home/laptop/taichi/external/include/tbb/concurrent_hash_map.h:122:24: Warnung: »void
memset(void*, int, size_t)« Säubern eines Objekts des Typs »class tbb::interface5::internal::hash_map_base« ohne triviale Kopierzuweisung; use value-initialization instead [-Wclass-memaccess]
122 | std::memset( this, 0, pointers_per_tablesizeof(segment_ptr_t) // 324=128 or 648=512
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
123 | + sizeof(my_size) + sizeof(my_mask) // 4+4 or 8+8
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
124 | + embedded_buckets
sizeof(bucket) ); // n8 or n16
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/laptop/taichi/external/include/tbb/concurrent_hash_map.h:76:11: Anmerkung: »class tbb::interface5::internal::hash_map_base« wird hier deklariert
76 | class hash_map_base {
| ^~~~~~~~~~~~~
/home/laptop/taichi/external/include/tbb/concurrent_hash_map.h: In statischer Elementfunktion »static void tbb::interface5::internal::hash_map_base::init_buckets(tbb::interface5::internal::hash_map_base::segment_ptr_t, tbb::interface5::internal::hash_map_base::size_type, bool)«:
/home/laptop/taichi/external/include/tbb/concurrent_hash_map.h:158:41: Warnung: »void* memset(void*, int, size_t)« Säubern eines Objekts des Typs »struct tbb::interface5::internal::hash_map_base::bucket« ohne triviale Kopierzuweisung; use value-initialization instead [-Wclass-memaccess]
158 | if( is_initial ) std::memset(ptr, 0, szsizeof(bucket) );
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/laptop/taichi/external/include/tbb/concurrent_hash_map.h:87:16: Anmerkung: »struct tbb::interface5::internal::hash_map_base::bucket« wird hier deklariert
87 | struct bucket : tbb::internal::no_copy {
| ^~~~~~
In Datei, eingebunden von /home/laptop/taichi/external/include/tbb/tbb.h:42,
von /home/laptop/taichi/include/taichi/system/threading.h:21,
von /home/laptop/taichi/include/taichi/visualization/image_buffer.h:11,
von /home/laptop/taichi/include/taichi/dynamics/fluid2d/fluid.h:8,
von /home/laptop/taichi/include/taichi/dynamics/fluid2d/euler_liquid.h:9,
von /home/laptop/taichi/include/taichi/dynamics/fluid2d/euler_liquid.cpp:7:
/home/laptop/taichi/external/include/tbb/concurrent_hash_map.h: In Konstruktor »tbb::interface5::internal::hash_map_base::hash_map_base()«:
/home/laptop/taichi/external/include/tbb/concurrent_hash_map.h:122:24: Warnung: »void
memset(void*, int, size_t)« Säubern eines Objekts des Typs »class tbb::interface5::internal::hash_map_base« ohne triviale Kopierzuweisung; use value-initialization instead [-Wclass-memaccess]
122 | std::memset( this, 0, pointers_per_tablesizeof(segment_ptr_t) // 324=128 or 648=512
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
123 | + sizeof(my_size) + sizeof(my_mask) // 4+4 or 8+8
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
124 | + embedded_buckets
sizeof(bucket) ); // n8 or n16
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/laptop/taichi/external/include/tbb/concurrent_hash_map.h:76:11: Anmerkung: »class tbb::interface5::internal::hash_map_base« wird hier deklariert
76 | class hash_map_base {
| ^~~~~~~~~~~~~
/home/laptop/taichi/external/include/tbb/concurrent_hash_map.h: In statischer Elementfunktion »static void tbb::interface5::internal::hash_map_base::init_buckets(tbb::interface5::internal::hash_map_base::segment_ptr_t, tbb::interface5::internal::hash_map_base::size_type, bool)«:
/home/laptop/taichi/external/include/tbb/concurrent_hash_map.h:158:41: Warnung: »void* memset(void*, int, size_t)« Säubern eines Objekts des Typs »struct tbb::interface5::internal::hash_map_base::bucket« ohne triviale Kopierzuweisung; use value-initialization instead [-Wclass-memaccess]
158 | if( is_initial ) std::memset(ptr, 0, szsizeof(bucket) );
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/laptop/taichi/external/include/tbb/concurrent_hash_map.h:87:16: Anmerkung: »struct tbb::interface5::internal::hash_map_base::bucket« wird hier deklariert
87 | struct bucket : tbb::internal::no_copy {
| ^~~~~~
In Datei, eingebunden von /home/laptop/taichi/external/include/tbb/tbb.h:42,
von /home/laptop/taichi/include/taichi/system/threading.h:21,
von /home/laptop/taichi/include/taichi/visualization/image_buffer.h:11,
von /home/laptop/taichi/include/taichi/dynamics/fluid2d/fluid.h:8,
von /home/laptop/taichi/include/taichi/dynamics/fluid2d/euler_liquid.h:9,
von /home/laptop/taichi/include/taichi/dynamics/fluid2d/flip_liquid.h:8,
von /home/laptop/taichi/include/taichi/dynamics/fluid2d/flip_liquid.cpp:6:
/home/laptop/taichi/external/include/tbb/concurrent_hash_map.h: In Konstruktor »tbb::interface5::internal::hash_map_base::hash_map_base()«:
/home/laptop/taichi/external/include/tbb/concurrent_hash_map.h:122:24: Warnung: »void
memset(void*, int, size_t)« Säubern eines Objekts des Typs »class tbb::interface5::internal::hash_map_base« ohne triviale Kopierzuweisung; use value-initialization instead [-Wclass-memaccess]
122 | std::memset( this, 0, pointers_per_tablesizeof(segment_ptr_t) // 324=128 or 648=512
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
123 | + sizeof(my_size) + sizeof(my_mask) // 4+4 or 8+8
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
124 | + embedded_buckets
sizeof(bucket) ); // n8 or n16
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/laptop/taichi/external/include/tbb/concurrent_hash_map.h:76:11: Anmerkung: »class tbb::interface5::internal::hash_map_base« wird hier deklariert
76 | class hash_map_base {
| ^~~~~~~~~~~~~
/home/laptop/taichi/external/include/tbb/concurrent_hash_map.h: In statischer Elementfunktion »static void tbb::interface5::internal::hash_map_base::init_buckets(tbb::interface5::internal::hash_map_base::segment_ptr_t, tbb::interface5::internal::hash_map_base::size_type, bool)«:
/home/laptop/taichi/external/include/tbb/concurrent_hash_map.h:158:41: Warnung: »void* memset(void*, int, size_t)« Säubern eines Objekts des Typs »struct tbb::interface5::internal::hash_map_base::bucket« ohne triviale Kopierzuweisung; use value-initialization instead [-Wclass-memaccess]
158 | if( is_initial ) std::memset(ptr, 0, szsizeof(bucket) );
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/laptop/taichi/external/include/tbb/concurrent_hash_map.h:87:16: Anmerkung: »struct tbb::interface5::internal::hash_map_base::bucket« wird hier deklariert
87 | struct bucket : tbb::internal::no_copy {
| ^~~~~~
[ 6%] Building CXX object CMakeFiles/taichi_core.dir/include/taichi/dynamics/fluid2d/fluid.cpp.o
[ 7%] Building CXX object CMakeFiles/taichi_core.dir/include/taichi/dynamics/rigid_body.cpp.o
[ 8%] Building CXX object CMakeFiles/taichi_core.dir/include/taichi/geometry/factory.cpp.o
In Datei, eingebunden von /home/laptop/taichi/external/include/tbb/tbb.h:42,
von /home/laptop/taichi/include/taichi/system/threading.h:21,
von /home/laptop/taichi/include/taichi/visualization/image_buffer.h:11,
von /home/laptop/taichi/include/taichi/dynamics/fluid2d/fluid.h:8,
von /home/laptop/taichi/include/taichi/dynamics/fluid2d/fluid.cpp:6:
/home/laptop/taichi/external/include/tbb/concurrent_hash_map.h: In Konstruktor »tbb::interface5::internal::hash_map_base::hash_map_base()«:
/home/laptop/taichi/external/include/tbb/concurrent_hash_map.h:122:24: Warnung: »void
memset(void*, int, size_t)« Säubern eines Objekts des Typs »class tbb::interface5::internal::hash_map_base« ohne triviale Kopierzuweisung; use value-initialization instead [-Wclass-memaccess]
122 | std::memset( this, 0, pointers_per_tablesizeof(segment_ptr_t) // 324=128 or 648=512
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
123 | + sizeof(my_size) + sizeof(my_mask) // 4+4 or 8+8
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
124 | + embedded_buckets
sizeof(bucket) ); // n8 or n16
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/laptop/taichi/external/include/tbb/concurrent_hash_map.h:76:11: Anmerkung: »class tbb::interface5::internal::hash_map_base« wird hier deklariert
76 | class hash_map_base {
| ^~~~~~~~~~~~~
/home/laptop/taichi/external/include/tbb/concurrent_hash_map.h: In statischer Elementfunktion »static void tbb::interface5::internal::hash_map_base::init_buckets(tbb::interface5::internal::hash_map_base::segment_ptr_t, tbb::interface5::internal::hash_map_base::size_type, bool)«:
/home/laptop/taichi/external/include/tbb/concurrent_hash_map.h:158:41: Warnung: »void* memset(void*, int, size_t)« Säubern eines Objekts des Typs »struct tbb::interface5::internal::hash_map_base::bucket« ohne triviale Kopierzuweisung; use value-initialization instead [-Wclass-memaccess]
158 | if( is_initial ) std::memset(ptr, 0, szsizeof(bucket) );
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/laptop/taichi/external/include/tbb/concurrent_hash_map.h:87:16: Anmerkung: »struct tbb::interface5::internal::hash_map_base::bucket« wird hier deklariert
87 | struct bucket : tbb::internal::no_copy {
| ^~~~~~
[ 9%] Building CXX object CMakeFiles/taichi_core.dir/include/taichi/image/operations.cpp.o
In Datei, eingebunden von /home/laptop/taichi/external/include/tbb/tbb.h:42,
von /home/laptop/taichi/include/taichi/system/threading.h:21,
von /home/laptop/taichi/include/taichi/visualization/image_buffer.h:11,
von /home/laptop/taichi/include/taichi/visual/envmap.h:14,
von /home/laptop/taichi/include/taichi/visual/scene.h:11,
von /home/laptop/taichi/include/taichi/geometry/mesh.h:12,
von /home/laptop/taichi/include/taichi/dynamics/rigid_body.cpp:5:
/home/laptop/taichi/external/include/tbb/concurrent_hash_map.h: In Konstruktor »tbb::interface5::internal::hash_map_base::hash_map_base()«:
/home/laptop/taichi/external/include/tbb/concurrent_hash_map.h:122:24: Warnung: »void
memset(void*, int, size_t)« Säubern eines Objekts des Typs »class tbb::interface5::internal::hash_map_base« ohne triviale Kopierzuweisung; use value-initialization instead [-Wclass-memaccess]
122 | std::memset( this, 0, pointers_per_tablesizeof(segment_ptr_t) // 324=128 or 648=512
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
123 | + sizeof(my_size) + sizeof(my_mask) // 4+4 or 8+8
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
124 | + embedded_buckets
sizeof(bucket) ); // n8 or n16
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/laptop/taichi/external/include/tbb/concurrent_hash_map.h:76:11: Anmerkung: »class tbb::interface5::internal::hash_map_base« wird hier deklariert
76 | class hash_map_base {
| ^~~~~~~~~~~~~
/home/laptop/taichi/external/include/tbb/concurrent_hash_map.h: In statischer Elementfunktion »static void tbb::interface5::internal::hash_map_base::init_buckets(tbb::interface5::internal::hash_map_base::segment_ptr_t, tbb::interface5::internal::hash_map_base::size_type, bool)«:
/home/laptop/taichi/external/include/tbb/concurrent_hash_map.h:158:41: Warnung: »void* memset(void*, int, size_t)« Säubern eines Objekts des Typs »struct tbb::interface5::internal::hash_map_base::bucket« ohne triviale Kopierzuweisung; use value-initialization instead [-Wclass-memaccess]
158 | if( is_initial ) std::memset(ptr, 0, szsizeof(bucket) );
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/laptop/taichi/external/include/tbb/concurrent_hash_map.h:87:16: Anmerkung: »struct tbb::interface5::internal::hash_map_base::bucket« wird hier deklariert
87 | struct bucket : tbb::internal::no_copy {
| ^~~~~~
[ 10%] Building CXX object CMakeFiles/taichi_core.dir/include/taichi/math/levelset.cpp.o
In Datei, eingebunden von /home/laptop/taichi/external/include/tbb/tbb.h:42,
von /home/laptop/taichi/include/taichi/system/threading.h:21,
von /home/laptop/taichi/include/taichi/visualization/image_buffer.h:11,
von /home/laptop/taichi/include/taichi/image/image_buffer.h:8,
von /home/laptop/taichi/include/taichi/image/operations.h:9,
von /home/laptop/taichi/include/taichi/image/operations.cpp:6:
/home/laptop/taichi/external/include/tbb/concurrent_hash_map.h: In Konstruktor »tbb::interface5::internal::hash_map_base::hash_map_base()«:
/home/laptop/taichi/external/include/tbb/concurrent_hash_map.h:122:24: Warnung: »void
memset(void*, int, size_t)« Säubern eines Objekts des Typs »class tbb::interface5::internal::hash_map_base« ohne triviale Kopierzuweisung; use value-initialization instead [-Wclass-memaccess]
122 | std::memset( this, 0, pointers_per_tablesizeof(segment_ptr_t) // 324=128 or 648=512
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
123 | + sizeof(my_size) + sizeof(my_mask) // 4+4 or 8+8
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
124 | + embedded_buckets
sizeof(bucket) ); // n8 or n16
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/laptop/taichi/external/include/tbb/concurrent_hash_map.h:76:11: Anmerkung: »class tbb::interface5::internal::hash_map_base« wird hier deklariert
76 | class hash_map_base {
| ^~~~~~~~~~~~~
/home/laptop/taichi/external/include/tbb/concurrent_hash_map.h: In statischer Elementfunktion »static void tbb::interface5::internal::hash_map_base::init_buckets(tbb::interface5::internal::hash_map_base::segment_ptr_t, tbb::interface5::internal::hash_map_base::size_type, bool)«:
/home/laptop/taichi/external/include/tbb/concurrent_hash_map.h:158:41: Warnung: »void* memset(void*, int, size_t)« Säubern eines Objekts des Typs »struct tbb::interface5::internal::hash_map_base::bucket« ohne triviale Kopierzuweisung; use value-initialization instead [-Wclass-memaccess]
158 | if( is_initial ) std::memset(ptr, 0, szsizeof(bucket) );
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/laptop/taichi/external/include/tbb/concurrent_hash_map.h:87:16: Anmerkung: »struct tbb::interface5::internal::hash_map_base::bucket« wird hier deklariert
87 | struct bucket : tbb::internal::no_copy {
| ^~~~~~
/home/laptop/taichi/include/taichi/dynamics/rigid_body.cpp: In Instanziierung von »taichi::RigidBody::Vector taichi::RigidBody::initialize_mass_and_inertia(taichi::real) [with int dim = 2; taichi::RigidBody::Vector = taichi::VectorND<2, double, taichi::InstSetExt::AVX2>; taichi::real = double]«:
/home/laptop/taichi/include/taichi/dynamics/rigid_body.cpp:156:55: von hier erfordert
/home/laptop/taichi/include/taichi/dynamics/rigid_body.cpp:104:17: Fehler: no match for »operator+=« (operand types are »taichi::RigidBody<2>::InertiaType« {aka »double«} and »taichi::MatrixND<2, double, taichi::InstSetExt::AVX2>«)
104 | inertia +=
| ~~~~~~~~^~
105 | (Matrix(dot(r, r)) - Matrix::outer_product(r, r)) * local_volume;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/laptop/taichi/include/taichi/dynamics/rigid_body.cpp:132:48: Fehler: ungültige Initialisierung einer Referenz des Typs »const Vector3&« {aka »const taichi::VectorND<3, double, taichi::InstSetExt::AVX2>&«} von Ausdruck des Typs »taichi::RigidBody<2>::Vector« {aka »taichi::VectorND<2, double, taichi::InstSetExt::AVX2>«}
132 | inertia += -tetrahedron_inertia_tensor(Vector(0.0_f), verts[0],
| ^~~~~~~~~~~~~
In Datei, eingebunden von /home/laptop/taichi/include/taichi/dynamics/rigid_body.cpp:7:
/home/laptop/taichi/include/taichi/dynamics/inertia.h:18:58: Anmerkung: bei Übergabe des Arguments 1 von »taichi::Matrix3 taichi::tetrahedron_inertia_tensor(const Vector3&, const Vector3&, const Vector3&, const Vector3&)«
18 | inline Matrix3 tetrahedron_inertia_tensor(const Vector3& p1, const Vector3& p2, const Vector3 & p3, const Vector3 & p4)
| ~~~~~~~~~~~~~~~^~
In Datei, eingebunden von /home/laptop/taichi/include/taichi/math/math.h:8,
von /home/laptop/taichi/include/taichi/common/dict.h:17,
von /home/laptop/taichi/include/taichi/geometry/mesh.h:10,
von /home/laptop/taichi/include/taichi/dynamics/rigid_body.cpp:5:
/home/laptop/taichi/include/taichi/dynamics/rigid_body.cpp: In Instanziierung von »taichi::RigidBody::Vector taichi::RigidBody::initialize_mass_and_inertia(taichi::real) [with int dim = 3; taichi::RigidBody::Vector = taichi::VectorND<3, double, taichi::InstSetExt::AVX2>; taichi::real = double]«:
/home/laptop/taichi/include/taichi/dynamics/rigid_body.cpp:159:55: von hier erfordert
/home/laptop/taichi/include/taichi/dynamics/rigid_body.cpp:61:28: Fehler: no match for »operator>=« (operand types are »taichi::RigidBody<3>::InertiaType« {aka »taichi::MatrixND<3, double, taichi::InstSetExt::AVX2>«} and »int«)
61 | TC_ASSERT_INFO(inertia >= 0,
| ~~~~~~~~^~~~
/home/laptop/taichi/include/taichi/common/util.h:137:40: Anmerkung: in Definition des Makros »assert_info«
137 | bool ret = static_cast(x);
| ^
/home/laptop/taichi/include/taichi/dynamics/rigid_body.cpp:61:5: Anmerkung: bei Substitution des Makros »TC_ASSERT_INFO«
61 | TC_ASSERT_INFO(inertia >= 0,
| ^~~~~~~~~~~~~~
In Datei, eingebunden von /home/laptop/taichi/include/taichi/dynamics/rigid_body.h:15,
von /home/laptop/taichi/include/taichi/dynamics/rigid_body.cpp:6:
/home/laptop/taichi/include/taichi/math/angular.h: In Instanziierung von »taichi::Rotation::Matrix taichi::Rotation::get_rotation_matrix() const [with int dim = 2; taichi::Rotation::Matrix = taichi::MatrixND<2, double, taichi::InstSetExt::AVX2>]«:
/home/laptop/taichi/include/taichi/math/angular.h:147:12: erfordert durch »taichi::Rotation::Vector taichi::Rotation::rotate(const Vector&) const [with int dim = 2; taichi::Rotation::Vector = taichi::VectorND<2, double, taichi::InstSetExt::AVX2>]«
/home/laptop/taichi/include/taichi/math/angular.h:152:35: von hier erfordert
/home/laptop/taichi/include/taichi/math/angular.h:114:24: Fehler: Abfrage des Elementes »toRotationMatrix« in »((const taichi::Rotation<2>
)this)->taichi::Rotation<2>::value«, das vom Nicht-Klassentyp »const ValueType« {aka »const double«} ist
114 | auto mat = value.toRotationMatrix();
| ~~~~~~^~~~~~~~~~~~~~~~
/home/laptop/taichi/include/taichi/math/angular.h: In Instanziierung von »taichi::Rotation::Matrix taichi::Rotation::get_rotation_matrix() const [with int dim = 3; taichi::Rotation::Matrix = taichi::MatrixND<3, double, taichi::InstSetExt::AVX2>]«:
/home/laptop/taichi/include/taichi/math/angular.h:147:12: erfordert durch »taichi::Rotation::Vector taichi::Rotation::rotate(const Vector&) const [with int dim = 3; taichi::Rotation::Vector = taichi::VectorND<3, double, taichi::InstSetExt::AVX2>]«
/home/laptop/taichi/include/taichi/math/angular.h:162:20: von hier erfordert
/home/laptop/taichi/include/taichi/math/angular.h:108:27: Fehler: keine passende Funktion für Aufruf von »cos(const ValueType&)«
108 | ret[0][0] = std::cos(value);
| ~~~~~~~~^~~~~~~
In Datei, eingebunden von /home/laptop/taichi/external/include/spdlog/fmt/bundled/format.h:33,
von /home/laptop/taichi/external/include/spdlog/fmt/fmt.h:21,
von /home/laptop/taichi/include/taichi/common/util.h:268,
von /home/laptop/taichi/include/taichi/math/math.h:8,
von /home/laptop/taichi/include/taichi/common/dict.h:17,
von /home/laptop/taichi/include/taichi/geometry/mesh.h:10,
von /home/laptop/taichi/include/taichi/dynamics/rigid_body.cpp:5:
/usr/include/c++/11.1.0/cmath:196:5: Anmerkung: Kandidat: »template constexpr typename __gnu_cxx::__enable_if<std::__is_integer<_Tp>::__value, double>::__type std::cos(_Tp)«
196 | cos(_Tp __x)
| ^~~
/usr/include/c++/11.1.0/cmath:196:5: Anmerkung: Herleitung/Ersetzung von Templateargument gescheitert:
/usr/include/c++/11.1.0/cmath: In Ersetzung von »template constexpr typename __gnu_cxx::__enable_if<std::__is_integer<_Tp>::__value, double>::__type std::cos(_Tp) [with _Tp = Eigen::Quaternion]«:
/home/laptop/taichi/include/taichi/math/angular.h:108:27: erfordert durch »taichi::Rotation::Matrix taichi::Rotation::get_rotation_matrix() const [with int dim = 3; taichi::Rotation::Matrix = taichi::MatrixND<3, double, taichi::InstSetExt::AVX2>]«
/home/laptop/taichi/include/taichi/math/angular.h:147:12: erfordert durch »taichi::Rotation::Vector taichi::Rotation::rotate(const Vector&) const [with int dim = 3; taichi::Rotation::Vector = taichi::VectorND<3, double, taichi::InstSetExt::AVX2>]«
/home/laptop/taichi/include/taichi/math/angular.h:162:20: von hier erfordert
/usr/include/c++/11.1.0/cmath:196:5: Fehler: kein Typ namens »__type« in »struct __gnu_cxx::__enable_if<false, double>«
In Datei, eingebunden von /home/laptop/taichi/external/include/Eigen/Core:96,
von /home/laptop/taichi/external/include/Eigen/Geometry:11,
von /home/laptop/taichi/include/taichi/math/angular.h:15,
von /home/laptop/taichi/include/taichi/dynamics/rigid_body.h:15,
von /home/laptop/taichi/include/taichi/dynamics/rigid_body.cpp:6:
/home/laptop/taichi/include/taichi/math/angular.h: In Instanziierung von »taichi::Rotation::Matrix taichi::Rotation::get_rotation_matrix() const [with int dim = 3; taichi::Rotation::Matrix = taichi::MatrixND<3, double, taichi::InstSetExt::AVX2>]«:
/home/laptop/taichi/include/taichi/math/angular.h:147:12: erfordert durch »taichi::Rotation::Vector taichi::Rotation::rotate(const Vector&) const [with int dim = 3; taichi::Rotation::Vector = taichi::VectorND<3, double, taichi::InstSetExt::AVX2>]«
/home/laptop/taichi/include/taichi/math/angular.h:162:20: von hier erfordert
/usr/include/c++/11.1.0/complex:737:5: Anmerkung: Kandidat: »template std::complex<_Tp> std::cos(const std::complex<_Tp>&)«
737 | cos(const complex<_Tp>& __z) { return __complex_cos(__z.__rep()); }
| ^~~
/usr/include/c++/11.1.0/complex:737:5: Anmerkung: Herleitung/Ersetzung von Templateargument gescheitert:
In Datei, eingebunden von /home/laptop/taichi/include/taichi/dynamics/rigid_body.h:15,
von /home/laptop/taichi/include/taichi/dynamics/rigid_body.cpp:6:
/home/laptop/taichi/include/taichi/math/angular.h:108:27: Anmerkung: »const ValueType« {aka »const Eigen::Quaternion«} ist nicht vom Typ »const std::complex<_Tp>« abgeleitet
108 | ret[0][0] = std::cos(value);
| ~~~~~~~~^~~~~~~
In Datei, eingebunden von /usr/include/features.h:473,
von /usr/include/c++/11.1.0/x86_64-pc-linux-gnu/bits/os_defines.h:39,
von /usr/include/c++/11.1.0/x86_64-pc-linux-gnu/bits/c++config.h:571,
von /usr/include/c++/11.1.0/bits/stl_algobase.h:59,
von /usr/include/c++/11.1.0/memory:63,
von /home/laptop/taichi/include/taichi/geometry/mesh.h:8,
von /home/laptop/taichi/include/taichi/dynamics/rigid_body.cpp:5:
/usr/include/bits/mathcalls.h:62:1: Anmerkung: Kandidat: »double cos(double)«
62 | __MATHCALL_VEC (cos,, (Mdouble __x));
| ^~~~~~~~~~~~~~
In Datei, eingebunden von /usr/include/c++/11.1.0/cmath:45,
von /home/laptop/taichi/external/include/spdlog/fmt/bundled/format.h:33,
von /home/laptop/taichi/external/include/spdlog/fmt/fmt.h:21,
von /home/laptop/taichi/include/taichi/common/util.h:268,
von /home/laptop/taichi/include/taichi/math/math.h:8,
von /home/laptop/taichi/include/taichi/common/dict.h:17,
von /home/laptop/taichi/include/taichi/geometry/mesh.h:10,
von /home/laptop/taichi/include/taichi/dynamics/rigid_body.cpp:5:
/usr/include/bits/mathcalls.h:62:1: Anmerkung: keine bekannte Umwandlung für Argument 1 von »const ValueType« {aka »const Eigen::Quaternion«} nach »double«
62 | __MATHCALL_VEC (cos,, (Mdouble __x));
| ^
In Datei, eingebunden von /home/laptop/taichi/external/include/spdlog/fmt/bundled/format.h:33,
von /home/laptop/taichi/external/include/spdlog/fmt/fmt.h:21,
von /home/laptop/taichi/include/taichi/common/util.h:268,
von /home/laptop/taichi/include/taichi/math/math.h:8,
von /home/laptop/taichi/include/taichi/common/dict.h:17,
von /home/laptop/taichi/include/taichi/geometry/mesh.h:10,
von /home/laptop/taichi/include/taichi/dynamics/rigid_body.cpp:5:
/usr/include/c++/11.1.0/cmath:184:3: Anmerkung: Kandidat: »constexpr float std::cos(float)«
184 | cos(float __x)
| ^~~
/usr/include/c++/11.1.0/cmath:184:13: Anmerkung: keine bekannte Umwandlung für Argument 1 von »const ValueType« {aka »const Eigen::Quaternion«} nach »float«
184 | cos(float __x)
| ~~~~~~^~~
/usr/include/c++/11.1.0/cmath:188:3: Anmerkung: Kandidat: »constexpr long double std::cos(long double)«
188 | cos(long double __x)
| ^~~
/usr/include/c++/11.1.0/cmath:188:19: Anmerkung: keine bekannte Umwandlung für Argument 1 von »const ValueType« {aka »const Eigen::Quaternion«} nach »long double«
188 | cos(long double __x)
| ~~~~~~~~~~~~^~~
In Datei, eingebunden von /home/laptop/taichi/include/taichi/dynamics/rigid_body.h:15,
von /home/laptop/taichi/include/taichi/dynamics/rigid_body.cpp:6:
/home/laptop/taichi/include/taichi/math/angular.h:109:28: Fehler: keine passende Funktion für Aufruf von »sin(const ValueType&)«
109 | ret[1][0] = -std::sin(value);
| ~~~~~~~~^~~~~~~
In Datei, eingebunden von /home/laptop/taichi/external/include/spdlog/fmt/bundled/format.h:33,
von /home/laptop/taichi/external/include/spdlog/fmt/fmt.h:21,
von /home/laptop/taichi/include/taichi/common/util.h:268,
von /home/laptop/taichi/include/taichi/math/math.h:8,
von /home/laptop/taichi/include/taichi/common/dict.h:17,
von /home/laptop/taichi/include/taichi/geometry/mesh.h:10,
von /home/laptop/taichi/include/taichi/dynamics/rigid_body.cpp:5:
/usr/include/c++/11.1.0/cmath:437:5: Anmerkung: Kandidat: »template constexpr typename __gnu_cxx::__enable_if<std::__is_integer<_Tp>::__value, double>::__type std::sin(_Tp)«
437 | sin(_Tp __x)
| ^~~
/usr/include/c++/11.1.0/cmath:437:5: Anmerkung: Herleitung/Ersetzung von Templateargument gescheitert:
/usr/include/c++/11.1.0/cmath: In Ersetzung von »template constexpr typename __gnu_cxx::__enable_if<std::__is_integer<_Tp>::__value, double>::__type std::sin(_Tp) [with _Tp = Eigen::Quaternion]«:
/home/laptop/taichi/include/taichi/math/angular.h:109:28: erfordert durch »taichi::Rotation::Matrix taichi::Rotation::get_rotation_matrix() const [with int dim = 3; taichi::Rotation::Matrix = taichi::MatrixND<3, double, taichi::InstSetExt::AVX2>]«
/home/laptop/taichi/include/taichi/math/angular.h:147:12: erfordert durch »taichi::Rotation::Vector taichi::Rotation::rotate(const Vector&) const [with int dim = 3; taichi::Rotation::Vector = taichi::VectorND<3, double, taichi::InstSetExt::AVX2>]«
/home/laptop/taichi/include/taichi/math/angular.h:162:20: von hier erfordert
/usr/include/c++/11.1.0/cmath:437:5: Fehler: kein Typ namens »__type« in »struct __gnu_cxx::__enable_if<false, double>«
In Datei, eingebunden von /home/laptop/taichi/external/include/Eigen/Core:96,
von /home/laptop/taichi/external/include/Eigen/Geometry:11,
von /home/laptop/taichi/include/taichi/math/angular.h:15,
von /home/laptop/taichi/include/taichi/dynamics/rigid_body.h:15,
von /home/laptop/taichi/include/taichi/dynamics/rigid_body.cpp:6:
/home/laptop/taichi/include/taichi/math/angular.h: In Instanziierung von »taichi::Rotation::Matrix taichi::Rotation::get_rotation_matrix() const [with int dim = 3; taichi::Rotation::Matrix = taichi::MatrixND<3, double, taichi::InstSetExt::AVX2>]«:
/home/laptop/taichi/include/taichi/math/angular.h:147:12: erfordert durch »taichi::Rotation::Vector taichi::Rotation::rotate(const Vector&) const [with int dim = 3; taichi::Rotation::Vector = taichi::VectorND<3, double, taichi::InstSetExt::AVX2>]«
/home/laptop/taichi/include/taichi/math/angular.h:162:20: von hier erfordert
/usr/include/c++/11.1.0/complex:855:5: Anmerkung: Kandidat: »template std::complex<_Tp> std::sin(const std::complex<_Tp>&)«
855 | sin(const complex<_Tp>& __z) { return __complex_sin(__z.__rep()); }
| ^~~
/usr/include/c++/11.1.0/complex:855:5: Anmerkung: Herleitung/Ersetzung von Templateargument gescheitert:
In Datei, eingebunden von /home/laptop/taichi/include/taichi/dynamics/rigid_body.h:15,
von /home/laptop/taichi/include/taichi/dynamics/rigid_body.cpp:6:
/home/laptop/taichi/include/taichi/math/angular.h:109:28: Anmerkung: »const ValueType« {aka »const Eigen::Quaternion«} ist nicht vom Typ »const std::complex<_Tp>« abgeleitet
109 | ret[1][0] = -std::sin(value);
| ~~~~~~~~^~~~~~~
In Datei, eingebunden von /usr/include/features.h:473,
von /usr/include/c++/11.1.0/x86_64-pc-linux-gnu/bits/os_defines.h:39,
von /usr/include/c++/11.1.0/x86_64-pc-linux-gnu/bits/c++config.h:571,
von /usr/include/c++/11.1.0/bits/stl_algobase.h:59,
von /usr/include/c++/11.1.0/memory:63,
von /home/laptop/taichi/include/taichi/geometry/mesh.h:8,
von /home/laptop/taichi/include/taichi/dynamics/rigid_body.cpp:5:
/usr/include/bits/mathcalls.h:64:1: Anmerkung: Kandidat: »double sin(double)«
64 | __MATHCALL_VEC (sin,, (Mdouble __x));
| ^~~~~~~~~~~~~~
In Datei, eingebunden von /usr/include/c++/11.1.0/cmath:45,
von /home/laptop/taichi/external/include/spdlog/fmt/bundled/format.h:33,
von /home/laptop/taichi/external/include/spdlog/fmt/fmt.h:21,
von /home/laptop/taichi/include/taichi/common/util.h:268,
von /home/laptop/taichi/include/taichi/math/math.h:8,
von /home/laptop/taichi/include/taichi/common/dict.h:17,
von /home/laptop/taichi/include/taichi/geometry/mesh.h:10,
von /home/laptop/taichi/include/taichi/dynamics/rigid_body.cpp:5:
/usr/include/bits/mathcalls.h:64:1: Anmerkung: keine bekannte Umwandlung für Argument 1 von »const ValueType« {aka »const Eigen::Quaternion«} nach »double«
64 | __MATHCALL_VEC (sin,, (Mdouble __x));
| ^
In Datei, eingebunden von /home/laptop/taichi/external/include/spdlog/fmt/bundled/format.h:33,
von /home/laptop/taichi/external/include/spdlog/fmt/fmt.h:21,
von /home/laptop/taichi/include/taichi/common/util.h:268,
von /home/laptop/taichi/include/taichi/math/math.h:8,
von /home/laptop/taichi/include/taichi/common/dict.h:17,
von /home/laptop/taichi/include/taichi/geometry/mesh.h:10,
von /home/laptop/taichi/include/taichi/dynamics/rigid_body.cpp:5:
/usr/include/c++/11.1.0/cmath:425:3: Anmerkung: Kandidat: »constexpr float std::sin(float)«
425 | sin(float __x)
| ^~~
/usr/include/c++/11.1.0/cmath:425:13: Anmerkung: keine bekannte Umwandlung für Argument 1 von »const ValueType« {aka »const Eigen::Quaternion«} nach »float«
425 | sin(float __x)
| ~~~~~~^~~
/usr/include/c++/11.1.0/cmath:429:3: Anmerkung: Kandidat: »constexpr long double std::sin(long double)«
429 | sin(long double __x)
| ^~~
/usr/include/c++/11.1.0/cmath:429:19: Anmerkung: keine bekannte Umwandlung für Argument 1 von »const ValueType« {aka »const Eigen::Quaternion«} nach »long double«
429 | sin(long double __x)
| ~~~~~~~~~~~~^~~
In Datei, eingebunden von /home/laptop/taichi/include/taichi/dynamics/rigid_body.h:15,
von /home/laptop/taichi/include/taichi/dynamics/rigid_body.cpp:6:
/home/laptop/taichi/include/taichi/math/angular.h:110:27: Fehler: keine passende Funktion für Aufruf von »sin(const ValueType&)«
110 | ret[0][1] = std::sin(value);
| ~~~~~~~~^~~~~~~
In Datei, eingebunden von /home/laptop/taichi/external/include/spdlog/fmt/bundled/format.h:33,
von /home/laptop/taichi/external/include/spdlog/fmt/fmt.h:21,
von /home/laptop/taichi/include/taichi/common/util.h:268,
von /home/laptop/taichi/include/taichi/math/math.h:8,
von /home/laptop/taichi/include/taichi/common/dict.h:17,
von /home/laptop/taichi/include/taichi/geometry/mesh.h:10,
von /home/laptop/taichi/include/taichi/dynamics/rigid_body.cpp:5:
/usr/include/c++/11.1.0/cmath:437:5: Anmerkung: Kandidat: »template constexpr typename __gnu_cxx::__enable_if<std::__is_integer<_Tp>::__value, double>::__type std::sin(_Tp)«
437 | sin(_Tp __x)
| ^~~
/usr/include/c++/11.1.0/cmath:437:5: Anmerkung: Herleitung/Ersetzung von Templateargument gescheitert:
/usr/include/c++/11.1.0/cmath: In Ersetzung von »template constexpr typename __gnu_cxx::__enable_if<std::__is_integer<_Tp>::__value, double>::__type std::sin(_Tp) [with _Tp = Eigen::Quaternion]«:
/home/laptop/taichi/include/taichi/math/angular.h:110:27: erfordert durch »taichi::Rotation::Matrix taichi::Rotation::get_rotation_matrix() const [with int dim = 3; taichi::Rotation::Matrix = taichi::MatrixND<3, double, taichi::InstSetExt::AVX2>]«
/home/laptop/taichi/include/taichi/math/angular.h:147:12: erfordert durch »taichi::Rotation::Vector taichi::Rotation::rotate(const Vector&) const [with int dim = 3; taichi::Rotation::Vector = taichi::VectorND<3, double, taichi::InstSetExt::AVX2>]«
/home/laptop/taichi/include/taichi/math/angular.h:162:20: von hier erfordert
/usr/include/c++/11.1.0/cmath:437:5: Fehler: kein Typ namens »__type« in »struct __gnu_cxx::__enable_if<false, double>«
In Datei, eingebunden von /home/laptop/taichi/external/include/Eigen/Core:96,
von /home/laptop/taichi/external/include/Eigen/Geometry:11,
von /home/laptop/taichi/include/taichi/math/angular.h:15,
von /home/laptop/taichi/include/taichi/dynamics/rigid_body.h:15,
von /home/laptop/taichi/include/taichi/dynamics/rigid_body.cpp:6:
/home/laptop/taichi/include/taichi/math/angular.h: In Instanziierung von »taichi::Rotation::Matrix taichi::Rotation::get_rotation_matrix() const [with int dim = 3; taichi::Rotation::Matrix = taichi::MatrixND<3, double, taichi::InstSetExt::AVX2>]«:
/home/laptop/taichi/include/taichi/math/angular.h:147:12: erfordert durch »taichi::Rotation::Vector taichi::Rotation::rotate(const Vector&) const [with int dim = 3; taichi::Rotation::Vector = taichi::VectorND<3, double, taichi::InstSetExt::AVX2>]«
/home/laptop/taichi/include/taichi/math/angular.h:162:20: von hier erfordert
/usr/include/c++/11.1.0/complex:855:5: Anmerkung: Kandidat: »template std::complex<_Tp> std::sin(const std::complex<_Tp>&)«
855 | sin(const complex<_Tp>& __z) { return __complex_sin(__z.__rep()); }
| ^~~
/usr/include/c++/11.1.0/complex:855:5: Anmerkung: Herleitung/Ersetzung von Templateargument gescheitert:
In Datei, eingebunden von /home/laptop/taichi/include/taichi/dynamics/rigid_body.h:15,
von /home/laptop/taichi/include/taichi/dynamics/rigid_body.cpp:6:
/home/laptop/taichi/include/taichi/math/angular.h:110:27: Anmerkung: »const ValueType« {aka »const Eigen::Quaternion«} ist nicht vom Typ »const std::complex<_Tp>« abgeleitet
110 | ret[0][1] = std::sin(value);
| ~~~~~~~~^~~~~~~
In Datei, eingebunden von /usr/include/features.h:473,
von /usr/include/c++/11.1.0/x86_64-pc-linux-gnu/bits/os_defines.h:39,
von /usr/include/c++/11.1.0/x86_64-pc-linux-gnu/bits/c++config.h:571,
von /usr/include/c++/11.1.0/bits/stl_algobase.h:59,
von /usr/include/c++/11.1.0/memory:63,
von /home/laptop/taichi/include/taichi/geometry/mesh.h:8,
von /home/laptop/taichi/include/taichi/dynamics/rigid_body.cpp:5:
/usr/include/bits/mathcalls.h:64:1: Anmerkung: Kandidat: »double sin(double)«
64 | __MATHCALL_VEC (sin,, (Mdouble __x));
| ^~~~~~~~~~~~~~
In Datei, eingebunden von /usr/include/c++/11.1.0/cmath:45,
von /home/laptop/taichi/external/include/spdlog/fmt/bundled/format.h:33,
von /home/laptop/taichi/external/include/spdlog/fmt/fmt.h:21,
von /home/laptop/taichi/include/taichi/common/util.h:268,
von /home/laptop/taichi/include/taichi/math/math.h:8,
von /home/laptop/taichi/include/taichi/common/dict.h:17,
von /home/laptop/taichi/include/taichi/geometry/mesh.h:10,
von /home/laptop/taichi/include/taichi/dynamics/rigid_body.cpp:5:
/usr/include/bits/mathcalls.h:64:1: Anmerkung: keine bekannte Umwandlung für Argument 1 von »const ValueType« {aka »const Eigen::Quaternion«} nach »double«
64 | __MATHCALL_VEC (sin,, (Mdouble __x));
| ^
In Datei, eingebunden von /home/laptop/taichi/external/include/spdlog/fmt/bundled/format.h:33,
von /home/laptop/taichi/external/include/spdlog/fmt/fmt.h:21,
von /home/laptop/taichi/include/taichi/common/util.h:268,
von /home/laptop/taichi/include/taichi/math/math.h:8,
von /home/laptop/taichi/include/taichi/common/dict.h:17,
von /home/laptop/taichi/include/taichi/geometry/mesh.h:10,
von /home/laptop/taichi/include/taichi/dynamics/rigid_body.cpp:5:
/usr/include/c++/11.1.0/cmath:425:3: Anmerkung: Kandidat: »constexpr float std::sin(float)«
425 | sin(float __x)
| ^~~
/usr/include/c++/11.1.0/cmath:425:13: Anmerkung: keine bekannte Umwandlung für Argument 1 von »const ValueType« {aka »const Eigen::Quaternion«} nach »float«
425 | sin(float __x)
| ~~~~~~^~~
/usr/include/c++/11.1.0/cmath:429:3: Anmerkung: Kandidat: »constexpr long double std::sin(long double)«
429 | sin(long double __x)
| ^~~
/usr/include/c++/11.1.0/cmath:429:19: Anmerkung: keine bekannte Umwandlung für Argument 1 von »const ValueType« {aka »const Eigen::Quaternion«} nach »long double«
429 | sin(long double __x)
| ~~~~~~~~~~~~^~~
In Datei, eingebunden von /home/laptop/taichi/include/taichi/dynamics/rigid_body.h:15,
von /home/laptop/taichi/include/taichi/dynamics/rigid_body.cpp:6:
/home/laptop/taichi/include/taichi/math/angular.h:111:27: Fehler: keine passende Funktion für Aufruf von »cos(const ValueType&)«
111 | ret[1][1] = std::cos(value);
| ~~~~~~~~^~~~~~~
In Datei, eingebunden von /home/laptop/taichi/external/include/spdlog/fmt/bundled/format.h:33,
von /home/laptop/taichi/external/include/spdlog/fmt/fmt.h:21,
von /home/laptop/taichi/include/taichi/common/util.h:268,
von /home/laptop/taichi/include/taichi/math/math.h:8,
von /home/laptop/taichi/include/taichi/common/dict.h:17,
von /home/laptop/taichi/include/taichi/geometry/mesh.h:10,
von /home/laptop/taichi/include/taichi/dynamics/rigid_body.cpp:5:
/usr/include/c++/11.1.0/cmath:196:5: Anmerkung: Kandidat: »template constexpr typename __gnu_cxx::__enable_if<std::__is_integer<_Tp>::__value, double>::__type std::cos(_Tp)«
196 | cos(_Tp __x)
| ^~~
/usr/include/c++/11.1.0/cmath:196:5: Anmerkung: Herleitung/Ersetzung von Templateargument gescheitert:
/usr/include/c++/11.1.0/cmath: In Ersetzung von »template constexpr typename __gnu_cxx::__enable_if<std::__is_integer<_Tp>::__value, double>::__type std::cos(_Tp) [with _Tp = Eigen::Quaternion]«:
/home/laptop/taichi/include/taichi/math/angular.h:111:27: erfordert durch »taichi::Rotation::Matrix taichi::Rotation::get_rotation_matrix() const [with int dim = 3; taichi::Rotation::Matrix = taichi::MatrixND<3, double, taichi::InstSetExt::AVX2>]«
/home/laptop/taichi/include/taichi/math/angular.h:147:12: erfordert durch »taichi::Rotation::Vector taichi::Rotation::rotate(const Vector&) const [with int dim = 3; taichi::Rotation::Vector = taichi::VectorND<3, double, taichi::InstSetExt::AVX2>]«
/home/laptop/taichi/include/taichi/math/angular.h:162:20: von hier erfordert
/usr/include/c++/11.1.0/cmath:196:5: Fehler: kein Typ namens »__type« in »struct __gnu_cxx::__enable_if<false, double>«
In Datei, eingebunden von /home/laptop/taichi/external/include/Eigen/Core:96,
von /home/laptop/taichi/external/include/Eigen/Geometry:11,
von /home/laptop/taichi/include/taichi/math/angular.h:15,
von /home/laptop/taichi/include/taichi/dynamics/rigid_body.h:15,
von /home/laptop/taichi/include/taichi/dynamics/rigid_body.cpp:6:
/home/laptop/taichi/include/taichi/math/angular.h: In Instanziierung von »taichi::Rotation::Matrix taichi::Rotation::get_rotation_matrix() const [with int dim = 3; taichi::Rotation::Matrix = taichi::MatrixND<3, double, taichi::InstSetExt::AVX2>]«:
/home/laptop/taichi/include/taichi/math/angular.h:147:12: erfordert durch »taichi::Rotation::Vector taichi::Rotation::rotate(const Vector&) const [with int dim = 3; taichi::Rotation::Vector = taichi::VectorND<3, double, taichi::InstSetExt::AVX2>]«
/home/laptop/taichi/include/taichi/math/angular.h:162:20: von hier erfordert
/usr/include/c++/11.1.0/complex:737:5: Anmerkung: Kandidat: »template std::complex<_Tp> std::cos(const std::complex<_Tp>&)«
737 | cos(const complex<_Tp>& __z) { return __complex_cos(__z.__rep()); }
| ^~~
/usr/include/c++/11.1.0/complex:737:5: Anmerkung: Herleitung/Ersetzung von Templateargument gescheitert:
In Datei, eingebunden von /home/laptop/taichi/include/taichi/dynamics/rigid_body.h:15,
von /home/laptop/taichi/include/taichi/dynamics/rigid_body.cpp:6:
/home/laptop/taichi/include/taichi/math/angular.h:111:27: Anmerkung: »const ValueType« {aka »const Eigen::Quaternion«} ist nicht vom Typ »const std::complex<_Tp>« abgeleitet
111 | ret[1][1] = std::cos(value);
| ~~~~~~~~^~~~~~~
In Datei, eingebunden von /usr/include/features.h:473,
von /usr/include/c++/11.1.0/x86_64-pc-linux-gnu/bits/os_defines.h:39,
von /usr/include/c++/11.1.0/x86_64-pc-linux-gnu/bits/c++config.h:571,
von /usr/include/c++/11.1.0/bits/stl_algobase.h:59,
von /usr/include/c++/11.1.0/memory:63,
von /home/laptop/taichi/include/taichi/geometry/mesh.h:8,
von /home/laptop/taichi/include/taichi/dynamics/rigid_body.cpp:5:
/usr/include/bits/mathcalls.h:62:1: Anmerkung: Kandidat: »double cos(double)«
62 | __MATHCALL_VEC (cos,, (Mdouble __x));
| ^~~~~~~~~~~~~~
In Datei, eingebunden von /usr/include/c++/11.1.0/cmath:45,
von /home/laptop/taichi/external/include/spdlog/fmt/bundled/format.h:33,
von /home/laptop/taichi/external/include/spdlog/fmt/fmt.h:21,
von /home/laptop/taichi/include/taichi/common/util.h:268,
von /home/laptop/taichi/include/taichi/math/math.h:8,
von /home/laptop/taichi/include/taichi/common/dict.h:17,
von /home/laptop/taichi/include/taichi/geometry/mesh.h:10,
von /home/laptop/taichi/include/taichi/dynamics/rigid_body.cpp:5:
/usr/include/bits/mathcalls.h:62:1: Anmerkung: keine bekannte Umwandlung für Argument 1 von »const ValueType« {aka »const Eigen::Quaternion«} nach »double«
62 | __MATHCALL_VEC (cos,, (Mdouble __x));
| ^
In Datei, eingebunden von /home/laptop/taichi/external/include/spdlog/fmt/bundled/format.h:33,
von /home/laptop/taichi/external/include/spdlog/fmt/fmt.h:21,
von /home/laptop/taichi/include/taichi/common/util.h:268,
von /home/laptop/taichi/include/taichi/math/math.h:8,
von /home/laptop/taichi/include/taichi/common/dict.h:17,
von /home/laptop/taichi/include/taichi/geometry/mesh.h:10,
von /home/laptop/taichi/include/taichi/dynamics/rigid_body.cpp:5:
/usr/include/c++/11.1.0/cmath:184:3: Anmerkung: Kandidat: »constexpr float std::cos(float)«
184 | cos(float __x)
| ^~~
/usr/include/c++/11.1.0/cmath:184:13: Anmerkung: keine bekannte Umwandlung für Argument 1 von »const ValueType« {aka »const Eigen::Quaternion«} nach »float«
184 | cos(float __x)
| ~~~~~~^~~
/usr/include/c++/11.1.0/cmath:188:3: Anmerkung: Kandidat: »constexpr long double std::cos(long double)«
188 | cos(long double __x)
| ^~~
/usr/include/c++/11.1.0/cmath:188:19: Anmerkung: keine bekannte Umwandlung für Argument 1 von »const ValueType« {aka »const Eigen::Quaternion«} nach »long double«
188 | cos(long double __x)
| ~~~~~~~~~~~~^~~
make[2]: *** [CMakeFiles/taichi_core.dir/build.make:160: CMakeFiles/taichi_core.dir/include/taichi/dynamics/rigid_body.cpp.o] Fehler 1
make[2]: *** Es wird auf noch nicht beendete Prozesse gewartet....
make[1]: *** [CMakeFiles/Makefile2:100: CMakeFiles/taichi_core.dir/all] Fehler 2
make: *** [Makefile:91: all] Fehler 2
Error: Build failed.
Error: installation failed.
[laptop@laptop ~]$

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant