davidstutz / mesh-fusion

Python tool for obtaining watertight meshes using TSDF fusion.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cyfusion.cpp:24028:21: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?

monacv opened this issue · comments

[3645:3637 0:2090] 11:04:08 Tue Jan 12 [mona@goku:pts/0 +1] ~/mesh-fusion/libfusiongpu
$ python setup.py build_ext --inplace
Added OpenMP
running build_ext
skipping 'cyfusion.cpp' Cython extension (up-to-date)
building 'cyfusion' extension
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/home/mona/venv/tsdf/lib/python3.8/site-packages/numpy/core/include -I/home/mona/venv/tsdf/include -I/usr/include/python3.8 -c cyfusion.cpp -o build/temp.linux-x86_64-3.8/cyfusion.o -ffast-math -msse -msse2 -msse3 -msse4.2 -fopenmp
In file included from /home/mona/venv/tsdf/lib/python3.8/site-packages/numpy/core/include/numpy/ndarraytypes.h:1822,
                 from /home/mona/venv/tsdf/lib/python3.8/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,
                 from /home/mona/venv/tsdf/lib/python3.8/site-packages/numpy/core/include/numpy/arrayobject.h:4,
                 from cyfusion.cpp:531:
/home/mona/venv/tsdf/lib/python3.8/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
   17 | #warning "Using deprecated NumPy API, disable it with " \
      |  ^~~~~~~
cyfusion.cpp: In function ‘PyObject* PyInit_cyfusion()’:
cyfusion.cpp:22866:32: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
22866 |   __pyx_type_8cyfusion_PyViews.tp_print = 0;
      |                                ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
                 from /usr/include/python3.8/pytime.h:6,
                 from /usr/include/python3.8/Python.h:85,
                 from cyfusion.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
  260 |     Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
      |                              ^~~~~~~~
cyfusion.cpp:22866:32: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
22866 |   __pyx_type_8cyfusion_PyViews.tp_print = 0;
      |                                ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
                 from /usr/include/python3.8/pytime.h:6,
                 from /usr/include/python3.8/Python.h:85,
                 from cyfusion.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
  260 |     Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
      |                              ^~~~~~~~
cyfusion.cpp:22866:32: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
22866 |   __pyx_type_8cyfusion_PyViews.tp_print = 0;
      |                                ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
                 from /usr/include/python3.8/pytime.h:6,
                 from /usr/include/python3.8/Python.h:85,
                 from cyfusion.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
  260 |     Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
      |                              ^~~~~~~~
cyfusion.cpp:22871:33: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
22871 |   __pyx_type_8cyfusion_PyVolume.tp_print = 0;
      |                                 ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
                 from /usr/include/python3.8/pytime.h:6,
                 from /usr/include/python3.8/Python.h:85,
                 from cyfusion.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
  260 |     Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
      |                              ^~~~~~~~
cyfusion.cpp:22871:33: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
22871 |   __pyx_type_8cyfusion_PyVolume.tp_print = 0;
      |                                 ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
                 from /usr/include/python3.8/pytime.h:6,
                 from /usr/include/python3.8/Python.h:85,
                 from cyfusion.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
  260 |     Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
      |                              ^~~~~~~~
cyfusion.cpp:22871:33: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
22871 |   __pyx_type_8cyfusion_PyVolume.tp_print = 0;
      |                                 ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
                 from /usr/include/python3.8/pytime.h:6,
                 from /usr/include/python3.8/Python.h:85,
                 from cyfusion.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
  260 |     Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
      |                              ^~~~~~~~
cyfusion.cpp:22878:26: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
22878 |   __pyx_type___pyx_array.tp_print = 0;
      |                          ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
                 from /usr/include/python3.8/pytime.h:6,
                 from /usr/include/python3.8/Python.h:85,
                 from cyfusion.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
  260 |     Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
      |                              ^~~~~~~~
cyfusion.cpp:22878:26: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
22878 |   __pyx_type___pyx_array.tp_print = 0;
      |                          ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
                 from /usr/include/python3.8/pytime.h:6,
                 from /usr/include/python3.8/Python.h:85,
                 from cyfusion.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
  260 |     Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
      |                              ^~~~~~~~
cyfusion.cpp:22878:26: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
22878 |   __pyx_type___pyx_array.tp_print = 0;
      |                          ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
                 from /usr/include/python3.8/pytime.h:6,
                 from /usr/include/python3.8/Python.h:85,
                 from cyfusion.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
  260 |     Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
      |                              ^~~~~~~~
cyfusion.cpp:22883:32: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
22883 |   __pyx_type___pyx_MemviewEnum.tp_print = 0;
      |                                ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
                 from /usr/include/python3.8/pytime.h:6,
                 from /usr/include/python3.8/Python.h:85,
                 from cyfusion.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
  260 |     Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
      |                              ^~~~~~~~
cyfusion.cpp:22883:32: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
22883 |   __pyx_type___pyx_MemviewEnum.tp_print = 0;
      |                                ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
                 from /usr/include/python3.8/pytime.h:6,
                 from /usr/include/python3.8/Python.h:85,
                 from cyfusion.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
  260 |     Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
      |                              ^~~~~~~~
cyfusion.cpp:22883:32: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
22883 |   __pyx_type___pyx_MemviewEnum.tp_print = 0;
      |                                ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
                 from /usr/include/python3.8/pytime.h:6,
                 from /usr/include/python3.8/Python.h:85,
                 from cyfusion.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
  260 |     Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
      |                              ^~~~~~~~
cyfusion.cpp:22895:31: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
22895 |   __pyx_type___pyx_memoryview.tp_print = 0;
      |                               ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
                 from /usr/include/python3.8/pytime.h:6,
                 from /usr/include/python3.8/Python.h:85,
                 from cyfusion.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
  260 |     Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
      |                              ^~~~~~~~
cyfusion.cpp:22895:31: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
22895 |   __pyx_type___pyx_memoryview.tp_print = 0;
      |                               ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
                 from /usr/include/python3.8/pytime.h:6,
                 from /usr/include/python3.8/Python.h:85,
                 from cyfusion.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
  260 |     Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
      |                              ^~~~~~~~
cyfusion.cpp:22895:31: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
22895 |   __pyx_type___pyx_memoryview.tp_print = 0;
      |                               ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
                 from /usr/include/python3.8/pytime.h:6,
                 from /usr/include/python3.8/Python.h:85,
                 from cyfusion.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
  260 |     Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
      |                              ^~~~~~~~
cyfusion.cpp:22905:36: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
22905 |   __pyx_type___pyx_memoryviewslice.tp_print = 0;
      |                                    ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
                 from /usr/include/python3.8/pytime.h:6,
                 from /usr/include/python3.8/Python.h:85,
                 from cyfusion.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
  260 |     Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
      |                              ^~~~~~~~
cyfusion.cpp:22905:36: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
22905 |   __pyx_type___pyx_memoryviewslice.tp_print = 0;
      |                                    ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
                 from /usr/include/python3.8/pytime.h:6,
                 from /usr/include/python3.8/Python.h:85,
                 from cyfusion.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
  260 |     Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
      |                              ^~~~~~~~
cyfusion.cpp:22905:36: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
22905 |   __pyx_type___pyx_memoryviewslice.tp_print = 0;
      |                                    ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
                 from /usr/include/python3.8/pytime.h:6,
                 from /usr/include/python3.8/Python.h:85,
                 from cyfusion.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
  260 |     Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
      |                              ^~~~~~~~
cyfusion.cpp: In function ‘void __Pyx__ExceptionSave(PyThreadState*, PyObject**, PyObject**, PyObject**)’:
cyfusion.cpp:24028:21: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
24028 |     *type = tstate->exc_type;
      |                     ^~~~~~~~
      |                     curexc_type
cyfusion.cpp:24029:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
24029 |     *value = tstate->exc_value;
      |                      ^~~~~~~~~
      |                      curexc_value
cyfusion.cpp:24030:19: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
24030 |     *tb = tstate->exc_traceback;
      |                   ^~~~~~~~~~~~~
      |                   curexc_traceback
cyfusion.cpp: In function ‘void __Pyx__ExceptionReset(PyThreadState*, PyObject*, PyObject*, PyObject*)’:
cyfusion.cpp:24037:24: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
24037 |     tmp_type = tstate->exc_type;
      |                        ^~~~~~~~
      |                        curexc_type
cyfusion.cpp:24038:25: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
24038 |     tmp_value = tstate->exc_value;
      |                         ^~~~~~~~~
      |                         curexc_value
cyfusion.cpp:24039:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
24039 |     tmp_tb = tstate->exc_traceback;
      |                      ^~~~~~~~~~~~~
      |                      curexc_traceback
cyfusion.cpp:24040:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
24040 |     tstate->exc_type = type;
      |             ^~~~~~~~
      |             curexc_type
cyfusion.cpp:24041:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
24041 |     tstate->exc_value = value;
      |             ^~~~~~~~~
      |             curexc_value
cyfusion.cpp:24042:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
24042 |     tstate->exc_traceback = tb;
      |             ^~~~~~~~~~~~~
      |             curexc_traceback
cyfusion.cpp: In function ‘int __Pyx__GetException(PyThreadState*, PyObject**, PyObject**, PyObject**)’:
cyfusion.cpp:24112:24: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
24112 |     tmp_type = tstate->exc_type;
      |                        ^~~~~~~~
      |                        curexc_type
cyfusion.cpp:24113:25: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
24113 |     tmp_value = tstate->exc_value;
      |                         ^~~~~~~~~
      |                         curexc_value
cyfusion.cpp:24114:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
24114 |     tmp_tb = tstate->exc_traceback;
      |                      ^~~~~~~~~~~~~
      |                      curexc_traceback
cyfusion.cpp:24115:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
24115 |     tstate->exc_type = local_type;
      |             ^~~~~~~~
      |             curexc_type
cyfusion.cpp:24116:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
24116 |     tstate->exc_value = local_value;
      |             ^~~~~~~~~
      |             curexc_value
cyfusion.cpp:24117:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
24117 |     tstate->exc_traceback = local_tb;
      |             ^~~~~~~~~~~~~
      |             curexc_traceback
cyfusion.cpp: In function ‘void __Pyx__ExceptionSwap(PyThreadState*, PyObject**, PyObject**, PyObject**)’:
cyfusion.cpp:24354:24: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
24354 |     tmp_type = tstate->exc_type;
      |                        ^~~~~~~~
      |                        curexc_type
cyfusion.cpp:24355:25: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
24355 |     tmp_value = tstate->exc_value;
      |                         ^~~~~~~~~
      |                         curexc_value
cyfusion.cpp:24356:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
24356 |     tmp_tb = tstate->exc_traceback;
      |                      ^~~~~~~~~~~~~
      |                      curexc_traceback
cyfusion.cpp:24357:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
24357 |     tstate->exc_type = *type;
      |             ^~~~~~~~
      |             curexc_type
cyfusion.cpp:24358:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
24358 |     tstate->exc_value = *value;
      |             ^~~~~~~~~
      |             curexc_value
cyfusion.cpp:24359:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
24359 |     tstate->exc_traceback = *tb;
      |             ^~~~~~~~~~~~~
      |             curexc_traceback
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
19149/31772MB(tsdf) 


I have:

$ pip --version
pip 20.3.3 from /home/mona/venv/tsdf/lib/python3.8/site-packages/pip (python 3.8)
19149/31772MB(tsdf) 
[3645:3637 0:2092] 11:06:58 Tue Jan 12 [mona@goku:pts/0 +1] ~/mesh-fusion/libfusiongpu
$ python
Python 3.8.5 (default, Jul 28 2020, 12:59:40) 
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import cython
>>> cython.__version__
'0.29.21'
>>> quit()
19149/31772MB(tsdf) 
[3645:3637 0:2093] 11:07:14 Tue Jan 12 [mona@goku:pts/0 +1] ~/mesh-fusion/libfusiongpu
$ lsb_release -a
LSB Version:	core-11.1.0ubuntu2-noarch:security-11.1.0ubuntu2-noarch
Distributor ID:	Ubuntu
Description:	Ubuntu 20.04.1 LTS
Release:	20.04
Codename:	focal
19365/31772MB(tsdf) 

Please note this works on the server where I have Python 3.6.5:


mona@ubuntu:~/mona/code$ python -m venv ~/venv/tsdf
mona@ubuntu:~/mona/code$ source ~/venv/tsdf/bin/activate
(tsdf) mona@ubuntu:~/mona/code$ git clone https://github.com/davidstutz/mesh-fusion.git
Cloning into 'mesh-fusion'...
remote: Enumerating objects: 63, done.
remote: Total 63 (delta 0), reused 0 (delta 0), pack-reused 63
Unpacking objects: 100% (63/63), done.
(tsdf) mona@ubuntu:~/mona/code$ cd mesh-fusion/
(tsdf) mona@ubuntu:~/mona/code/mesh-fusion$ ls
total 144K
drwxrwxr-x 1 mona mona  164 Jan 12 20:18 ..
-rw-rw-r-- 1 mona mona 7.4K Jan 12 20:18 README.md
drwxrwxr-x 1 mona mona    8 Jan 12 20:18 examples
-rw-rw-r-- 1 mona mona  16K Jan 12 20:18 common.py
-rw-rw-r-- 1 mona mona 1.7K Jan 12 20:18 3_simplify.py
-rw-rw-r-- 1 mona mona 9.7K Jan 12 20:18 2_fusion.py
-rw-rw-r-- 1 mona mona 3.1K Jan 12 20:18 1_scale.py
drwxrwxr-x 1 mona mona  158 Jan 12 20:18 libfusioncpu
drwxrwxr-x 1 mona mona  242 Jan 12 20:18 libfusiongpu
drwxrwxr-x 1 mona mona  308 Jan 12 20:18 libmcubes
-rw-rw-r-- 1 mona mona  843 Jan 12 20:18 simplification.mlx
-rw-rw-r-- 1 mona mona  95K Jan 12 20:18 screenshot.jpg
drwxrwxr-x 1 mona mona  148 Jan 12 20:18 librender
drwxrwxr-x 1 mona mona  138 Jan 12 20:18 .git
drwxrwxr-x 1 mona mona  276 Jan 12 20:18 .
(tsdf) mona@ubuntu:~/mona/code/mesh-fusion$ cd libfusiongpu
(tsdf) mona@ubuntu:~/mona/code/mesh-fusion/libfusiongpu$ mkdir build
(tsdf) mona@ubuntu:~/mona/code/mesh-fusion/libfusiongpu$ vi CMakeLists.txt 
(tsdf) mona@ubuntu:~/mona/code/mesh-fusion/libfusiongpu$ cd build/
(tsdf) mona@ubuntu:~/mona/code/mesh-fusion/libfusiongpu/build$ cmake ..
-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Found CUDA: /usr/local/cuda (found suitable version "10.2", minimum required is "6.5") 
-- Configuring done
-- Generating done
-- Build files have been written to: ~/mona/code/mesh-fusion/libfusiongpu/build
(tsdf) mona@ubuntu:~/mona/code/mesh-fusion/libfusiongpu/build$ make
[ 33%] Building NVCC (Device) object CMakeFiles/fusion_gpu.dir/fusion_gpu_generated_fusion_zach_tvl1.cu.o
[ 66%] Building NVCC (Device) object CMakeFiles/fusion_gpu.dir/fusion_gpu_generated_fusion.cu.o
Scanning dependencies of target fusion_gpu
[100%] Linking CXX shared library libfusion_gpu.so
[100%] Built target fusion_gpu
(tsdf) mona@ubuntu:~/mona/code/mesh-fusion/libfusiongpu/build$ cd ..
(tsdf) mona@ubuntu:~/mona/code/mesh-fusion/libfusiongpu$ python setup.py build_ext --inplace
Traceback (most recent call last):
  File "setup.py", line 12, in <module>
    from Cython.Build import cythonize
ModuleNotFoundError: No module named 'Cython'
(tsdf) mona@ubuntu:~/mona/code/mesh-fusion/libfusiongpu$ pip install --upgrade cython
Collecting cython
  Downloading https://files.pythonhosted.org/packages/19/49/91ebe4a00bf894d08dd9680cd9dfb05936eb2848eebd9402b43885aa74cf/Cython-0.29.21-cp36-cp36m-manylinux1_x86_64.whl (2.0MB)
    100% |████████████████████████████████| 2.0MB 702kB/s 
Installing collected packages: cython
Successfully installed cython-0.29.21
(tsdf) mona@ubuntu:~/mona/code/mesh-fusion/libfusiongpu$ python setup.py build_ext --inplace
Traceback (most recent call last):
  File "setup.py", line 15, in <module>
    import numpy as np
ModuleNotFoundError: No module named 'numpy'
(tsdf) mona@ubuntu:~/mona/code/mesh-fusion/libfusiongpu$ pip install --upgrade numpy
Collecting numpy
  Cache entry deserialization failed, entry ignored
  Using cached https://files.pythonhosted.org/packages/45/b2/6c7545bb7a38754d63048c7696804a0d947328125d81bf12beaa692c3ae3/numpy-1.19.5-cp36-cp36m-manylinux1_x86_64.whl
Installing collected packages: numpy
Successfully installed numpy-1.19.5
(tsdf) mona@ubuntu:~/mona/code/mesh-fusion/libfusiongpu$ python setup.py build_ext --inplace
Added OpenMP
running build_ext
skipping 'cyfusion.cpp' Cython extension (up-to-date)
building 'cyfusion' extension
creating build/temp.linux-x86_64-3.6
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/home/mona/venv/tsdf/lib/python3.6/site-packages/numpy/core/include -I/home/mona/venv/tsdf/include -I/usr/include/python3.6m -c cyfusion.cpp -o build/temp.linux-x86_64-3.6/cyfusion.o -ffast-math -msse -msse2 -msse3 -msse4.2 -fopenmp
In file included from /home/mona/venv/tsdf/lib/python3.6/site-packages/numpy/core/include/numpy/ndarraytypes.h:1822:0,
                 from /home/mona/venv/tsdf/lib/python3.6/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,
                 from /home/mona/venv/tsdf/lib/python3.6/site-packages/numpy/core/include/numpy/arrayobject.h:4,
                 from cyfusion.cpp:531:
/home/mona/venv/tsdf/lib/python3.6/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
 #warning "Using deprecated NumPy API, disable it with " \
  ^~~~~~~
x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.6/cyfusion.o -L./build/ -lm -lfusion_gpu -o ~/mona/code/mesh-fusion/libfusiongpu/cyfusion.cpython-36m-x86_64-linux-gnu.so -fopenmp

$ python
Python 3.6.9 (default, Oct  8 2020, 12:12:24) 
[GCC 8.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import cython
>>> cython.__version__
'0.29.21'
$ pip --version
pip 9.0.1 from /home/mona/venv/tsdf/lib/python3.6/site-packages (python 3.6)

When I understand it correctly (+ a bit of Googling), it seems like the Cython .cpp files need to be regenerated on newer Python and Cython version. I am talking about libfusiongpu/cyfusion.cpp here. I included this in the repo for simplicity.

I did a git pull after deleting the build folder and got error:

[58322:17765 0:2019] 08:07:28 Wed Jan 13 [mona@goku:pts/1 +1] ~/mesh-fusion/libfusiongpu
$ rm -rf build/
15133/31772MB(tsdf) 
[58322:17765 0:2020] 08:07:32 Wed Jan 13 [mona@goku:pts/1 +1] ~/mesh-fusion/libfusiongpu
$ mkdir build
15133/31772MB(tsdf) 
[58322:17765 0:2021] 08:07:37 Wed Jan 13 [mona@goku:pts/1 +1] ~/mesh-fusion/libfusiongpu
$ cd build
15094/31772MB(tsdf) 
[58322:17765 0:2022] 08:07:38 Wed Jan 13 [mona@goku:pts/1 +1] ~/mesh-fusion/libfusiongpu/build
$ cd ..
15094/31772MB(tsdf) 
[58322:17765 0:2023] 08:07:43 Wed Jan 13 [mona@goku:pts/1 +1] ~/mesh-fusion/libfusiongpu
$ cd ..
15129/31772MB(tsdf) 
[58322:17765 0:2023] 08:07:46 Wed Jan 13 [mona@goku:pts/1 +1] ~/mesh-fusion
$ git pull
remote: Enumerating objects: 3, done.
remote: Counting objects: 100% (3/3), done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 3 (delta 0), reused 0 (delta 0), pack-reused 0
Unpacking objects: 100% (3/3), 4.09 KiB | 2.04 MiB/s, done.
From https://github.com/davidstutz/mesh-fusion
   897ccb4..9c42612  master     -> origin/master
Updating 897ccb4..9c42612
Fast-forward
 README.md | 2 ++
 1 file changed, 2 insertions(+)
15129/31772MB(tsdf) 
$ cd build/
15075/31772MB(tsdf) 
[58322:17765 0:2027] 08:08:03 Wed Jan 13 [mona@goku:pts/1 +1] ~/mesh-fusion/libfusiongpu/build
$ cmake ..
CMake Warning (dev) in CMakeLists.txt:
  No project() command is present.  The top-level CMakeLists.txt file must
  contain a literal, direct call to the project() command.  Add a line of
  code such as

    project(ProjectName)

  near the top of the file, but after cmake_minimum_required().

  CMake is pretending there is a "project(Project)" command on the first
  line.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- The C compiler identification is GNU 9.3.0
-- The CXX compiler identification is GNU 9.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Found CUDA: /usr/local/cuda-11.2 (found suitable version "11.2", minimum required is "6.5") 
-- Configuring done
-- Generating done
-- Build files have been written to: /home/mona/mesh-fusion/libfusiongpu/build
15048/31772MB(tsdf) 
[58322:17765 0:2028] 08:08:06 Wed Jan 13 [mona@goku:pts/1 +1] ~/mesh-fusion/libfusiongpu/build
$ make
[ 33%] Building NVCC (Device) object CMakeFiles/fusion_gpu.dir/fusion_gpu_generated_fusion_zach_tvl1.cu.o
In file included from /usr/local/cuda-11.2/include/thrust/detail/config/config.h:27,
                 from /usr/local/cuda-11.2/include/thrust/detail/config.h:23,
                 from /usr/local/cuda-11.2/include/thrust/execution_policy.h:23,
                 from /home/mona/mesh-fusion/libfusiongpu/gpu_common.h:5,
                 from /home/mona/mesh-fusion/libfusiongpu/fusion_zach_tvl1.cu:1:
/usr/local/cuda-11.2/include/thrust/detail/config/cpp_dialect.h:118:13: warning: Thrust requires C++14. Please pass -std=c++14 to your compiler. Define THRUST_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
  118 |   THRUST_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                            
In file included from /usr/local/cuda-11.2/include/cub/util_arch.cuh:36,
                 from /usr/local/cuda-11.2/include/thrust/system/cuda/detail/util.h:32,
                 from /usr/local/cuda-11.2/include/thrust/system/cuda/detail/for_each.h:34,
                 from /usr/local/cuda-11.2/include/thrust/system/detail/adl/for_each.h:42,
                 from /usr/local/cuda-11.2/include/thrust/detail/for_each.inl:27,
                 from /usr/local/cuda-11.2/include/thrust/for_each.h:279,
                 from /usr/local/cuda-11.2/include/thrust/system/detail/generic/transform.inl:19,
                 from /usr/local/cuda-11.2/include/thrust/system/detail/generic/transform.h:105,
                 from /usr/local/cuda-11.2/include/thrust/detail/transform.inl:25,
                 from /usr/local/cuda-11.2/include/thrust/transform.h:724,
                 from /usr/local/cuda-11.2/include/thrust/system/detail/generic/copy.inl:23,
                 from /usr/local/cuda-11.2/include/thrust/system/detail/generic/copy.h:58,
                 from /usr/local/cuda-11.2/include/thrust/detail/copy.inl:21,
                 from /usr/local/cuda-11.2/include/thrust/detail/copy.h:90,
                 from /usr/local/cuda-11.2/include/thrust/system/detail/sequential/merge.inl:19,
                 from /usr/local/cuda-11.2/include/thrust/system/detail/sequential/merge.h:79,
                 from /usr/local/cuda-11.2/include/thrust/system/cpp/detail/merge.h:22,
                 from /usr/local/cuda-11.2/include/thrust/system/cpp/execution_policy.h:51,
                 from /usr/local/cuda-11.2/include/thrust/execution_policy.h:32,
                 from /home/mona/mesh-fusion/libfusiongpu/gpu_common.h:5,
                 from /home/mona/mesh-fusion/libfusiongpu/fusion_zach_tvl1.cu:1:
/usr/local/cuda-11.2/include/cub/util_cpp_dialect.cuh:129:13: warning: CUB requires C++14. Please pass -std=c++14 to your compiler. Define CUB_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
  129 |   CUB_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                         
In file included from /usr/local/cuda-11.2/include/thrust/detail/config/config.h:27,
                 from /usr/local/cuda-11.2/include/thrust/detail/config.h:23,
                 from /usr/local/cuda-11.2/include/thrust/execution_policy.h:23,
                 from /home/mona/mesh-fusion/libfusiongpu/gpu_common.h:5,
                 from /home/mona/mesh-fusion/libfusiongpu/fusion_zach_tvl1.cu:1:
/usr/local/cuda-11.2/include/thrust/detail/config/cpp_dialect.h:118:13: warning: Thrust requires C++14. Please pass -std=c++14 to your compiler. Define THRUST_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
  118 |   THRUST_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                            
In file included from /usr/local/cuda-11.2/include/cub/util_arch.cuh:36,
                 from /usr/local/cuda-11.2/include/thrust/system/cuda/detail/util.h:32,
                 from /usr/local/cuda-11.2/include/thrust/system/cuda/detail/for_each.h:34,
                 from /usr/local/cuda-11.2/include/thrust/system/detail/adl/for_each.h:42,
                 from /usr/local/cuda-11.2/include/thrust/detail/for_each.inl:27,
                 from /usr/local/cuda-11.2/include/thrust/for_each.h:279,
                 from /usr/local/cuda-11.2/include/thrust/system/detail/generic/transform.inl:19,
                 from /usr/local/cuda-11.2/include/thrust/system/detail/generic/transform.h:105,
                 from /usr/local/cuda-11.2/include/thrust/detail/transform.inl:25,
                 from /usr/local/cuda-11.2/include/thrust/transform.h:724,
                 from /usr/local/cuda-11.2/include/thrust/system/detail/generic/copy.inl:23,
                 from /usr/local/cuda-11.2/include/thrust/system/detail/generic/copy.h:58,
                 from /usr/local/cuda-11.2/include/thrust/detail/copy.inl:21,
                 from /usr/local/cuda-11.2/include/thrust/detail/copy.h:90,
                 from /usr/local/cuda-11.2/include/thrust/system/detail/sequential/merge.inl:19,
                 from /usr/local/cuda-11.2/include/thrust/system/detail/sequential/merge.h:79,
                 from /usr/local/cuda-11.2/include/thrust/system/cpp/detail/merge.h:22,
                 from /usr/local/cuda-11.2/include/thrust/system/cpp/execution_policy.h:51,
                 from /usr/local/cuda-11.2/include/thrust/execution_policy.h:32,
                 from /home/mona/mesh-fusion/libfusiongpu/gpu_common.h:5,
                 from /home/mona/mesh-fusion/libfusiongpu/fusion_zach_tvl1.cu:1:
/usr/local/cuda-11.2/include/cub/util_cpp_dialect.cuh:129:13: warning: CUB requires C++14. Please pass -std=c++14 to your compiler. Define CUB_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
  129 |   CUB_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                         
In file included from /usr/local/cuda-11.2/include/thrust/detail/config/config.h:27,
                 from /usr/local/cuda-11.2/include/thrust/detail/config.h:23,
                 from /usr/local/cuda-11.2/include/thrust/execution_policy.h:23,
                 from /home/mona/mesh-fusion/libfusiongpu/gpu_common.h:5,
                 from /home/mona/mesh-fusion/libfusiongpu/fusion_zach_tvl1.cu:1:
/usr/local/cuda-11.2/include/thrust/detail/config/cpp_dialect.h:118:13: warning: Thrust requires C++14. Please pass -std=c++14 to your compiler. Define THRUST_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
  118 |   THRUST_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                            
In file included from /usr/local/cuda-11.2/include/cub/util_arch.cuh:36,
                 from /usr/local/cuda-11.2/include/thrust/system/cuda/detail/util.h:32,
                 from /usr/local/cuda-11.2/include/thrust/system/cuda/detail/for_each.h:34,
                 from /usr/local/cuda-11.2/include/thrust/system/detail/adl/for_each.h:42,
                 from /usr/local/cuda-11.2/include/thrust/detail/for_each.inl:27,
                 from /usr/local/cuda-11.2/include/thrust/for_each.h:279,
                 from /usr/local/cuda-11.2/include/thrust/system/detail/generic/transform.inl:19,
                 from /usr/local/cuda-11.2/include/thrust/system/detail/generic/transform.h:105,
                 from /usr/local/cuda-11.2/include/thrust/detail/transform.inl:25,
                 from /usr/local/cuda-11.2/include/thrust/transform.h:724,
                 from /usr/local/cuda-11.2/include/thrust/system/detail/generic/copy.inl:23,
                 from /usr/local/cuda-11.2/include/thrust/system/detail/generic/copy.h:58,
                 from /usr/local/cuda-11.2/include/thrust/detail/copy.inl:21,
                 from /usr/local/cuda-11.2/include/thrust/detail/copy.h:90,
                 from /usr/local/cuda-11.2/include/thrust/system/detail/sequential/merge.inl:19,
                 from /usr/local/cuda-11.2/include/thrust/system/detail/sequential/merge.h:79,
                 from /usr/local/cuda-11.2/include/thrust/system/cpp/detail/merge.h:22,
                 from /usr/local/cuda-11.2/include/thrust/system/cpp/execution_policy.h:51,
                 from /usr/local/cuda-11.2/include/thrust/execution_policy.h:32,
                 from /home/mona/mesh-fusion/libfusiongpu/gpu_common.h:5,
                 from /home/mona/mesh-fusion/libfusiongpu/fusion_zach_tvl1.cu:1:
/usr/local/cuda-11.2/include/cub/util_cpp_dialect.cuh:129:13: warning: CUB requires C++14. Please pass -std=c++14 to your compiler. Define CUB_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
  129 |   CUB_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                         
In file included from /usr/local/cuda-11.2/include/thrust/detail/config/config.h:27,
                 from /usr/local/cuda-11.2/include/thrust/detail/config.h:23,
                 from /usr/local/cuda-11.2/include/thrust/execution_policy.h:23,
                 from /home/mona/mesh-fusion/libfusiongpu/gpu_common.h:5,
                 from /home/mona/mesh-fusion/libfusiongpu/fusion_zach_tvl1.cu:1:
/usr/local/cuda-11.2/include/thrust/detail/config/cpp_dialect.h:118:13: warning: Thrust requires C++14. Please pass -std=c++14 to your compiler. Define THRUST_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
  118 |   THRUST_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                            
In file included from /usr/local/cuda-11.2/include/cub/util_arch.cuh:36,
                 from /usr/local/cuda-11.2/include/thrust/system/cuda/detail/util.h:32,
                 from /usr/local/cuda-11.2/include/thrust/system/cuda/detail/for_each.h:34,
                 from /usr/local/cuda-11.2/include/thrust/system/detail/adl/for_each.h:42,
                 from /usr/local/cuda-11.2/include/thrust/detail/for_each.inl:27,
                 from /usr/local/cuda-11.2/include/thrust/for_each.h:279,
                 from /usr/local/cuda-11.2/include/thrust/system/detail/generic/transform.inl:19,
                 from /usr/local/cuda-11.2/include/thrust/system/detail/generic/transform.h:105,
                 from /usr/local/cuda-11.2/include/thrust/detail/transform.inl:25,
                 from /usr/local/cuda-11.2/include/thrust/transform.h:724,
                 from /usr/local/cuda-11.2/include/thrust/system/detail/generic/copy.inl:23,
                 from /usr/local/cuda-11.2/include/thrust/system/detail/generic/copy.h:58,
                 from /usr/local/cuda-11.2/include/thrust/detail/copy.inl:21,
                 from /usr/local/cuda-11.2/include/thrust/detail/copy.h:90,
                 from /usr/local/cuda-11.2/include/thrust/system/detail/sequential/merge.inl:19,
                 from /usr/local/cuda-11.2/include/thrust/system/detail/sequential/merge.h:79,
                 from /usr/local/cuda-11.2/include/thrust/system/cpp/detail/merge.h:22,
                 from /usr/local/cuda-11.2/include/thrust/system/cpp/execution_policy.h:51,
                 from /usr/local/cuda-11.2/include/thrust/execution_policy.h:32,
                 from /home/mona/mesh-fusion/libfusiongpu/gpu_common.h:5,
                 from /home/mona/mesh-fusion/libfusiongpu/fusion_zach_tvl1.cu:1:
/usr/local/cuda-11.2/include/cub/util_cpp_dialect.cuh:129:13: warning: CUB requires C++14. Please pass -std=c++14 to your compiler. Define CUB_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
  129 |   CUB_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                         
In file included from /usr/local/cuda-11.2/include/thrust/detail/config/config.h:27,
                 from /usr/local/cuda-11.2/include/thrust/detail/config.h:23,
                 from /usr/local/cuda-11.2/include/thrust/execution_policy.h:23,
                 from /home/mona/mesh-fusion/libfusiongpu/gpu_common.h:5,
                 from /home/mona/mesh-fusion/libfusiongpu/fusion_zach_tvl1.cu:1:
/usr/local/cuda-11.2/include/thrust/detail/config/cpp_dialect.h:118:13: warning: Thrust requires C++14. Please pass -std=c++14 to your compiler. Define THRUST_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
  118 |   THRUST_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                            
In file included from /usr/local/cuda-11.2/include/cub/util_arch.cuh:36,
                 from /usr/local/cuda-11.2/include/thrust/system/cuda/detail/util.h:32,
                 from /usr/local/cuda-11.2/include/thrust/system/cuda/detail/for_each.h:34,
                 from /usr/local/cuda-11.2/include/thrust/system/detail/adl/for_each.h:42,
                 from /usr/local/cuda-11.2/include/thrust/detail/for_each.inl:27,
                 from /usr/local/cuda-11.2/include/thrust/for_each.h:279,
                 from /usr/local/cuda-11.2/include/thrust/system/detail/generic/transform.inl:19,
                 from /usr/local/cuda-11.2/include/thrust/system/detail/generic/transform.h:105,
                 from /usr/local/cuda-11.2/include/thrust/detail/transform.inl:25,
                 from /usr/local/cuda-11.2/include/thrust/transform.h:724,
                 from /usr/local/cuda-11.2/include/thrust/system/detail/generic/copy.inl:23,
                 from /usr/local/cuda-11.2/include/thrust/system/detail/generic/copy.h:58,
                 from /usr/local/cuda-11.2/include/thrust/detail/copy.inl:21,
                 from /usr/local/cuda-11.2/include/thrust/detail/copy.h:90,
                 from /usr/local/cuda-11.2/include/thrust/system/detail/sequential/merge.inl:19,
                 from /usr/local/cuda-11.2/include/thrust/system/detail/sequential/merge.h:79,
                 from /usr/local/cuda-11.2/include/thrust/system/cpp/detail/merge.h:22,
                 from /usr/local/cuda-11.2/include/thrust/system/cpp/execution_policy.h:51,
                 from /usr/local/cuda-11.2/include/thrust/execution_policy.h:32,
                 from /home/mona/mesh-fusion/libfusiongpu/gpu_common.h:5,
                 from /home/mona/mesh-fusion/libfusiongpu/fusion_zach_tvl1.cu:1:
/usr/local/cuda-11.2/include/cub/util_cpp_dialect.cuh:129:13: warning: CUB requires C++14. Please pass -std=c++14 to your compiler. Define CUB_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
  129 |   CUB_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                         
In file included from /usr/local/cuda-11.2/include/thrust/detail/config/config.h:27,
                 from /usr/local/cuda-11.2/include/thrust/detail/config.h:23,
                 from /usr/local/cuda-11.2/include/thrust/execution_policy.h:23,
                 from /home/mona/mesh-fusion/libfusiongpu/gpu_common.h:5,
                 from /home/mona/mesh-fusion/libfusiongpu/fusion_zach_tvl1.cu:1:
/usr/local/cuda-11.2/include/thrust/detail/config/cpp_dialect.h:118:13: warning: Thrust requires C++14. Please pass -std=c++14 to your compiler. Define THRUST_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
  118 |   THRUST_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                            
In file included from /usr/local/cuda-11.2/include/cub/util_arch.cuh:36,
                 from /usr/local/cuda-11.2/include/thrust/system/cuda/detail/util.h:32,
                 from /usr/local/cuda-11.2/include/thrust/system/cuda/detail/for_each.h:34,
                 from /usr/local/cuda-11.2/include/thrust/system/detail/adl/for_each.h:42,
                 from /usr/local/cuda-11.2/include/thrust/detail/for_each.inl:27,
                 from /usr/local/cuda-11.2/include/thrust/for_each.h:279,
                 from /usr/local/cuda-11.2/include/thrust/system/detail/generic/transform.inl:19,
                 from /usr/local/cuda-11.2/include/thrust/system/detail/generic/transform.h:105,
                 from /usr/local/cuda-11.2/include/thrust/detail/transform.inl:25,
                 from /usr/local/cuda-11.2/include/thrust/transform.h:724,
                 from /usr/local/cuda-11.2/include/thrust/system/detail/generic/copy.inl:23,
                 from /usr/local/cuda-11.2/include/thrust/system/detail/generic/copy.h:58,
                 from /usr/local/cuda-11.2/include/thrust/detail/copy.inl:21,
                 from /usr/local/cuda-11.2/include/thrust/detail/copy.h:90,
                 from /usr/local/cuda-11.2/include/thrust/system/detail/sequential/merge.inl:19,
                 from /usr/local/cuda-11.2/include/thrust/system/detail/sequential/merge.h:79,
                 from /usr/local/cuda-11.2/include/thrust/system/cpp/detail/merge.h:22,
                 from /usr/local/cuda-11.2/include/thrust/system/cpp/execution_policy.h:51,
                 from /usr/local/cuda-11.2/include/thrust/execution_policy.h:32,
                 from /home/mona/mesh-fusion/libfusiongpu/gpu_common.h:5,
                 from /home/mona/mesh-fusion/libfusiongpu/fusion_zach_tvl1.cu:1:
/usr/local/cuda-11.2/include/cub/util_cpp_dialect.cuh:129:13: warning: CUB requires C++14. Please pass -std=c++14 to your compiler. Define CUB_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
  129 |   CUB_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                         
[ 66%] Building NVCC (Device) object CMakeFiles/fusion_gpu.dir/fusion_gpu_generated_fusion.cu.o
In file included from /usr/local/cuda-11.2/include/thrust/detail/config/config.h:27,
                 from /usr/local/cuda-11.2/include/thrust/detail/config.h:23,
                 from /usr/local/cuda-11.2/include/thrust/execution_policy.h:23,
                 from /home/mona/mesh-fusion/libfusiongpu/gpu_common.h:5,
                 from /home/mona/mesh-fusion/libfusiongpu/fusion.cu:1:
/usr/local/cuda-11.2/include/thrust/detail/config/cpp_dialect.h:118:13: warning: Thrust requires C++14. Please pass -std=c++14 to your compiler. Define THRUST_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
  118 |   THRUST_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                            
In file included from /usr/local/cuda-11.2/include/cub/util_arch.cuh:36,
                 from /usr/local/cuda-11.2/include/thrust/system/cuda/detail/util.h:32,
                 from /usr/local/cuda-11.2/include/thrust/system/cuda/detail/for_each.h:34,
                 from /usr/local/cuda-11.2/include/thrust/system/detail/adl/for_each.h:42,
                 from /usr/local/cuda-11.2/include/thrust/detail/for_each.inl:27,
                 from /usr/local/cuda-11.2/include/thrust/for_each.h:279,
                 from /usr/local/cuda-11.2/include/thrust/system/detail/generic/transform.inl:19,
                 from /usr/local/cuda-11.2/include/thrust/system/detail/generic/transform.h:105,
                 from /usr/local/cuda-11.2/include/thrust/detail/transform.inl:25,
                 from /usr/local/cuda-11.2/include/thrust/transform.h:724,
                 from /usr/local/cuda-11.2/include/thrust/system/detail/generic/copy.inl:23,
                 from /usr/local/cuda-11.2/include/thrust/system/detail/generic/copy.h:58,
                 from /usr/local/cuda-11.2/include/thrust/detail/copy.inl:21,
                 from /usr/local/cuda-11.2/include/thrust/detail/copy.h:90,
                 from /usr/local/cuda-11.2/include/thrust/system/detail/sequential/merge.inl:19,
                 from /usr/local/cuda-11.2/include/thrust/system/detail/sequential/merge.h:79,
                 from /usr/local/cuda-11.2/include/thrust/system/cpp/detail/merge.h:22,
                 from /usr/local/cuda-11.2/include/thrust/system/cpp/execution_policy.h:51,
                 from /usr/local/cuda-11.2/include/thrust/execution_policy.h:32,
                 from /home/mona/mesh-fusion/libfusiongpu/gpu_common.h:5,
                 from /home/mona/mesh-fusion/libfusiongpu/fusion.cu:1:
/usr/local/cuda-11.2/include/cub/util_cpp_dialect.cuh:129:13: warning: CUB requires C++14. Please pass -std=c++14 to your compiler. Define CUB_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
  129 |   CUB_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                         
In file included from /usr/local/cuda-11.2/include/thrust/detail/config/config.h:27,
                 from /usr/local/cuda-11.2/include/thrust/detail/config.h:23,
                 from /usr/local/cuda-11.2/include/thrust/execution_policy.h:23,
                 from /home/mona/mesh-fusion/libfusiongpu/gpu_common.h:5,
                 from /home/mona/mesh-fusion/libfusiongpu/fusion.cu:1:
/usr/local/cuda-11.2/include/thrust/detail/config/cpp_dialect.h:118:13: warning: Thrust requires C++14. Please pass -std=c++14 to your compiler. Define THRUST_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
  118 |   THRUST_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                            
In file included from /usr/local/cuda-11.2/include/cub/util_arch.cuh:36,
                 from /usr/local/cuda-11.2/include/thrust/system/cuda/detail/util.h:32,
                 from /usr/local/cuda-11.2/include/thrust/system/cuda/detail/for_each.h:34,
                 from /usr/local/cuda-11.2/include/thrust/system/detail/adl/for_each.h:42,
                 from /usr/local/cuda-11.2/include/thrust/detail/for_each.inl:27,
                 from /usr/local/cuda-11.2/include/thrust/for_each.h:279,
                 from /usr/local/cuda-11.2/include/thrust/system/detail/generic/transform.inl:19,
                 from /usr/local/cuda-11.2/include/thrust/system/detail/generic/transform.h:105,
                 from /usr/local/cuda-11.2/include/thrust/detail/transform.inl:25,
                 from /usr/local/cuda-11.2/include/thrust/transform.h:724,
                 from /usr/local/cuda-11.2/include/thrust/system/detail/generic/copy.inl:23,
                 from /usr/local/cuda-11.2/include/thrust/system/detail/generic/copy.h:58,
                 from /usr/local/cuda-11.2/include/thrust/detail/copy.inl:21,
                 from /usr/local/cuda-11.2/include/thrust/detail/copy.h:90,
                 from /usr/local/cuda-11.2/include/thrust/system/detail/sequential/merge.inl:19,
                 from /usr/local/cuda-11.2/include/thrust/system/detail/sequential/merge.h:79,
                 from /usr/local/cuda-11.2/include/thrust/system/cpp/detail/merge.h:22,
                 from /usr/local/cuda-11.2/include/thrust/system/cpp/execution_policy.h:51,
                 from /usr/local/cuda-11.2/include/thrust/execution_policy.h:32,
                 from /home/mona/mesh-fusion/libfusiongpu/gpu_common.h:5,
                 from /home/mona/mesh-fusion/libfusiongpu/fusion.cu:1:
/usr/local/cuda-11.2/include/cub/util_cpp_dialect.cuh:129:13: warning: CUB requires C++14. Please pass -std=c++14 to your compiler. Define CUB_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
  129 |   CUB_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                         
In file included from /usr/local/cuda-11.2/include/thrust/detail/config/config.h:27,
                 from /usr/local/cuda-11.2/include/thrust/detail/config.h:23,
                 from /usr/local/cuda-11.2/include/thrust/execution_policy.h:23,
                 from /home/mona/mesh-fusion/libfusiongpu/gpu_common.h:5,
                 from /home/mona/mesh-fusion/libfusiongpu/fusion.cu:1:
/usr/local/cuda-11.2/include/thrust/detail/config/cpp_dialect.h:118:13: warning: Thrust requires C++14. Please pass -std=c++14 to your compiler. Define THRUST_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
  118 |   THRUST_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                            
In file included from /usr/local/cuda-11.2/include/cub/util_arch.cuh:36,
                 from /usr/local/cuda-11.2/include/thrust/system/cuda/detail/util.h:32,
                 from /usr/local/cuda-11.2/include/thrust/system/cuda/detail/for_each.h:34,
                 from /usr/local/cuda-11.2/include/thrust/system/detail/adl/for_each.h:42,
                 from /usr/local/cuda-11.2/include/thrust/detail/for_each.inl:27,
                 from /usr/local/cuda-11.2/include/thrust/for_each.h:279,
                 from /usr/local/cuda-11.2/include/thrust/system/detail/generic/transform.inl:19,
                 from /usr/local/cuda-11.2/include/thrust/system/detail/generic/transform.h:105,
                 from /usr/local/cuda-11.2/include/thrust/detail/transform.inl:25,
                 from /usr/local/cuda-11.2/include/thrust/transform.h:724,
                 from /usr/local/cuda-11.2/include/thrust/system/detail/generic/copy.inl:23,
                 from /usr/local/cuda-11.2/include/thrust/system/detail/generic/copy.h:58,
                 from /usr/local/cuda-11.2/include/thrust/detail/copy.inl:21,
                 from /usr/local/cuda-11.2/include/thrust/detail/copy.h:90,
                 from /usr/local/cuda-11.2/include/thrust/system/detail/sequential/merge.inl:19,
                 from /usr/local/cuda-11.2/include/thrust/system/detail/sequential/merge.h:79,
                 from /usr/local/cuda-11.2/include/thrust/system/cpp/detail/merge.h:22,
                 from /usr/local/cuda-11.2/include/thrust/system/cpp/execution_policy.h:51,
                 from /usr/local/cuda-11.2/include/thrust/execution_policy.h:32,
                 from /home/mona/mesh-fusion/libfusiongpu/gpu_common.h:5,
                 from /home/mona/mesh-fusion/libfusiongpu/fusion.cu:1:
/usr/local/cuda-11.2/include/cub/util_cpp_dialect.cuh:129:13: warning: CUB requires C++14. Please pass -std=c++14 to your compiler. Define CUB_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
  129 |   CUB_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                         
In file included from /usr/local/cuda-11.2/include/thrust/detail/config/config.h:27,
                 from /usr/local/cuda-11.2/include/thrust/detail/config.h:23,
                 from /usr/local/cuda-11.2/include/thrust/execution_policy.h:23,
                 from /home/mona/mesh-fusion/libfusiongpu/gpu_common.h:5,
                 from /home/mona/mesh-fusion/libfusiongpu/fusion.cu:1:
/usr/local/cuda-11.2/include/thrust/detail/config/cpp_dialect.h:118:13: warning: Thrust requires C++14. Please pass -std=c++14 to your compiler. Define THRUST_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
  118 |   THRUST_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                            
In file included from /usr/local/cuda-11.2/include/cub/util_arch.cuh:36,
                 from /usr/local/cuda-11.2/include/thrust/system/cuda/detail/util.h:32,
                 from /usr/local/cuda-11.2/include/thrust/system/cuda/detail/for_each.h:34,
                 from /usr/local/cuda-11.2/include/thrust/system/detail/adl/for_each.h:42,
                 from /usr/local/cuda-11.2/include/thrust/detail/for_each.inl:27,
                 from /usr/local/cuda-11.2/include/thrust/for_each.h:279,
                 from /usr/local/cuda-11.2/include/thrust/system/detail/generic/transform.inl:19,
                 from /usr/local/cuda-11.2/include/thrust/system/detail/generic/transform.h:105,
                 from /usr/local/cuda-11.2/include/thrust/detail/transform.inl:25,
                 from /usr/local/cuda-11.2/include/thrust/transform.h:724,
                 from /usr/local/cuda-11.2/include/thrust/system/detail/generic/copy.inl:23,
                 from /usr/local/cuda-11.2/include/thrust/system/detail/generic/copy.h:58,
                 from /usr/local/cuda-11.2/include/thrust/detail/copy.inl:21,
                 from /usr/local/cuda-11.2/include/thrust/detail/copy.h:90,
                 from /usr/local/cuda-11.2/include/thrust/system/detail/sequential/merge.inl:19,
                 from /usr/local/cuda-11.2/include/thrust/system/detail/sequential/merge.h:79,
                 from /usr/local/cuda-11.2/include/thrust/system/cpp/detail/merge.h:22,
                 from /usr/local/cuda-11.2/include/thrust/system/cpp/execution_policy.h:51,
                 from /usr/local/cuda-11.2/include/thrust/execution_policy.h:32,
                 from /home/mona/mesh-fusion/libfusiongpu/gpu_common.h:5,
                 from /home/mona/mesh-fusion/libfusiongpu/fusion.cu:1:
/usr/local/cuda-11.2/include/cub/util_cpp_dialect.cuh:129:13: warning: CUB requires C++14. Please pass -std=c++14 to your compiler. Define CUB_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
  129 |   CUB_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                         
In file included from /usr/local/cuda-11.2/include/thrust/detail/config/config.h:27,
                 from /usr/local/cuda-11.2/include/thrust/detail/config.h:23,
                 from /usr/local/cuda-11.2/include/thrust/execution_policy.h:23,
                 from /home/mona/mesh-fusion/libfusiongpu/gpu_common.h:5,
                 from /home/mona/mesh-fusion/libfusiongpu/fusion.cu:1:
/usr/local/cuda-11.2/include/thrust/detail/config/cpp_dialect.h:118:13: warning: Thrust requires C++14. Please pass -std=c++14 to your compiler. Define THRUST_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
  118 |   THRUST_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                            
In file included from /usr/local/cuda-11.2/include/cub/util_arch.cuh:36,
                 from /usr/local/cuda-11.2/include/thrust/system/cuda/detail/util.h:32,
                 from /usr/local/cuda-11.2/include/thrust/system/cuda/detail/for_each.h:34,
                 from /usr/local/cuda-11.2/include/thrust/system/detail/adl/for_each.h:42,
                 from /usr/local/cuda-11.2/include/thrust/detail/for_each.inl:27,
                 from /usr/local/cuda-11.2/include/thrust/for_each.h:279,
                 from /usr/local/cuda-11.2/include/thrust/system/detail/generic/transform.inl:19,
                 from /usr/local/cuda-11.2/include/thrust/system/detail/generic/transform.h:105,
                 from /usr/local/cuda-11.2/include/thrust/detail/transform.inl:25,
                 from /usr/local/cuda-11.2/include/thrust/transform.h:724,
                 from /usr/local/cuda-11.2/include/thrust/system/detail/generic/copy.inl:23,
                 from /usr/local/cuda-11.2/include/thrust/system/detail/generic/copy.h:58,
                 from /usr/local/cuda-11.2/include/thrust/detail/copy.inl:21,
                 from /usr/local/cuda-11.2/include/thrust/detail/copy.h:90,
                 from /usr/local/cuda-11.2/include/thrust/system/detail/sequential/merge.inl:19,
                 from /usr/local/cuda-11.2/include/thrust/system/detail/sequential/merge.h:79,
                 from /usr/local/cuda-11.2/include/thrust/system/cpp/detail/merge.h:22,
                 from /usr/local/cuda-11.2/include/thrust/system/cpp/execution_policy.h:51,
                 from /usr/local/cuda-11.2/include/thrust/execution_policy.h:32,
                 from /home/mona/mesh-fusion/libfusiongpu/gpu_common.h:5,
                 from /home/mona/mesh-fusion/libfusiongpu/fusion.cu:1:
/usr/local/cuda-11.2/include/cub/util_cpp_dialect.cuh:129:13: warning: CUB requires C++14. Please pass -std=c++14 to your compiler. Define CUB_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
  129 |   CUB_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                         
In file included from /usr/local/cuda-11.2/include/thrust/detail/config/config.h:27,
                 from /usr/local/cuda-11.2/include/thrust/detail/config.h:23,
                 from /usr/local/cuda-11.2/include/thrust/execution_policy.h:23,
                 from /home/mona/mesh-fusion/libfusiongpu/gpu_common.h:5,
                 from /home/mona/mesh-fusion/libfusiongpu/fusion.cu:1:
/usr/local/cuda-11.2/include/thrust/detail/config/cpp_dialect.h:118:13: warning: Thrust requires C++14. Please pass -std=c++14 to your compiler. Define THRUST_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
  118 |   THRUST_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                            
In file included from /usr/local/cuda-11.2/include/cub/util_arch.cuh:36,
                 from /usr/local/cuda-11.2/include/thrust/system/cuda/detail/util.h:32,
                 from /usr/local/cuda-11.2/include/thrust/system/cuda/detail/for_each.h:34,
                 from /usr/local/cuda-11.2/include/thrust/system/detail/adl/for_each.h:42,
                 from /usr/local/cuda-11.2/include/thrust/detail/for_each.inl:27,
                 from /usr/local/cuda-11.2/include/thrust/for_each.h:279,
                 from /usr/local/cuda-11.2/include/thrust/system/detail/generic/transform.inl:19,
                 from /usr/local/cuda-11.2/include/thrust/system/detail/generic/transform.h:105,
                 from /usr/local/cuda-11.2/include/thrust/detail/transform.inl:25,
                 from /usr/local/cuda-11.2/include/thrust/transform.h:724,
                 from /usr/local/cuda-11.2/include/thrust/system/detail/generic/copy.inl:23,
                 from /usr/local/cuda-11.2/include/thrust/system/detail/generic/copy.h:58,
                 from /usr/local/cuda-11.2/include/thrust/detail/copy.inl:21,
                 from /usr/local/cuda-11.2/include/thrust/detail/copy.h:90,
                 from /usr/local/cuda-11.2/include/thrust/system/detail/sequential/merge.inl:19,
                 from /usr/local/cuda-11.2/include/thrust/system/detail/sequential/merge.h:79,
                 from /usr/local/cuda-11.2/include/thrust/system/cpp/detail/merge.h:22,
                 from /usr/local/cuda-11.2/include/thrust/system/cpp/execution_policy.h:51,
                 from /usr/local/cuda-11.2/include/thrust/execution_policy.h:32,
                 from /home/mona/mesh-fusion/libfusiongpu/gpu_common.h:5,
                 from /home/mona/mesh-fusion/libfusiongpu/fusion.cu:1:
/usr/local/cuda-11.2/include/cub/util_cpp_dialect.cuh:129:13: warning: CUB requires C++14. Please pass -std=c++14 to your compiler. Define CUB_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
  129 |   CUB_COMPILER_DEPRECATION(C++14, pass -std=c++14 to your compiler);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                         
Scanning dependencies of target fusion_gpu
[100%] Linking CXX shared library libfusion_gpu.so
[100%] Built target fusion_gpu
15048/31772MB(tsdf) 
[58322:17765 0:2029] 08:08:19 Wed Jan 13 [mona@goku:pts/1 +1] ~/mesh-fusion/libfusiongpu/build
$ cd ..
15048/31772MB(tsdf) 
[58322:17765 0:2030] 08:08:23 Wed Jan 13 [mona@goku:pts/1 +1] ~/mesh-fusion/libfusiongpu
$ python setup.py build_ext --inplace
Added OpenMP
running build_ext
skipping 'cyfusion.cpp' Cython extension (up-to-date)
building 'cyfusion' extension
creating build/temp.linux-x86_64-3.8
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/home/mona/venv/tsdf/lib/python3.8/site-packages/numpy/core/include -I/home/mona/venv/tsdf/include -I/usr/include/python3.8 -c cyfusion.cpp -o build/temp.linux-x86_64-3.8/cyfusion.o -ffast-math -msse -msse2 -msse3 -msse4.2 -fopenmp
In file included from /home/mona/venv/tsdf/lib/python3.8/site-packages/numpy/core/include/numpy/ndarraytypes.h:1822,
                 from /home/mona/venv/tsdf/lib/python3.8/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,
                 from /home/mona/venv/tsdf/lib/python3.8/site-packages/numpy/core/include/numpy/arrayobject.h:4,
                 from cyfusion.cpp:531:
/home/mona/venv/tsdf/lib/python3.8/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
   17 | #warning "Using deprecated NumPy API, disable it with " \
      |  ^~~~~~~
cyfusion.cpp: In function ‘PyObject* PyInit_cyfusion()’:
cyfusion.cpp:22866:32: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
22866 |   __pyx_type_8cyfusion_PyViews.tp_print = 0;
      |                                ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
                 from /usr/include/python3.8/pytime.h:6,
                 from /usr/include/python3.8/Python.h:85,
                 from cyfusion.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
  260 |     Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
      |                              ^~~~~~~~
cyfusion.cpp:22866:32: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
22866 |   __pyx_type_8cyfusion_PyViews.tp_print = 0;
      |                                ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
                 from /usr/include/python3.8/pytime.h:6,
                 from /usr/include/python3.8/Python.h:85,
                 from cyfusion.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
  260 |     Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
      |                              ^~~~~~~~
cyfusion.cpp:22866:32: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
22866 |   __pyx_type_8cyfusion_PyViews.tp_print = 0;
      |                                ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
                 from /usr/include/python3.8/pytime.h:6,
                 from /usr/include/python3.8/Python.h:85,
                 from cyfusion.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
  260 |     Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
      |                              ^~~~~~~~
cyfusion.cpp:22871:33: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
22871 |   __pyx_type_8cyfusion_PyVolume.tp_print = 0;
      |                                 ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
                 from /usr/include/python3.8/pytime.h:6,
                 from /usr/include/python3.8/Python.h:85,
                 from cyfusion.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
  260 |     Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
      |                              ^~~~~~~~
cyfusion.cpp:22871:33: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
22871 |   __pyx_type_8cyfusion_PyVolume.tp_print = 0;
      |                                 ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
                 from /usr/include/python3.8/pytime.h:6,
                 from /usr/include/python3.8/Python.h:85,
                 from cyfusion.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
  260 |     Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
      |                              ^~~~~~~~
cyfusion.cpp:22871:33: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
22871 |   __pyx_type_8cyfusion_PyVolume.tp_print = 0;
      |                                 ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
                 from /usr/include/python3.8/pytime.h:6,
                 from /usr/include/python3.8/Python.h:85,
                 from cyfusion.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
  260 |     Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
      |                              ^~~~~~~~
cyfusion.cpp:22878:26: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
22878 |   __pyx_type___pyx_array.tp_print = 0;
      |                          ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
                 from /usr/include/python3.8/pytime.h:6,
                 from /usr/include/python3.8/Python.h:85,
                 from cyfusion.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
  260 |     Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
      |                              ^~~~~~~~
cyfusion.cpp:22878:26: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
22878 |   __pyx_type___pyx_array.tp_print = 0;
      |                          ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
                 from /usr/include/python3.8/pytime.h:6,
                 from /usr/include/python3.8/Python.h:85,
                 from cyfusion.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
  260 |     Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
      |                              ^~~~~~~~
cyfusion.cpp:22878:26: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
22878 |   __pyx_type___pyx_array.tp_print = 0;
      |                          ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
                 from /usr/include/python3.8/pytime.h:6,
                 from /usr/include/python3.8/Python.h:85,
                 from cyfusion.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
  260 |     Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
      |                              ^~~~~~~~
cyfusion.cpp:22883:32: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
22883 |   __pyx_type___pyx_MemviewEnum.tp_print = 0;
      |                                ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
                 from /usr/include/python3.8/pytime.h:6,
                 from /usr/include/python3.8/Python.h:85,
                 from cyfusion.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
  260 |     Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
      |                              ^~~~~~~~
cyfusion.cpp:22883:32: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
22883 |   __pyx_type___pyx_MemviewEnum.tp_print = 0;
      |                                ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
                 from /usr/include/python3.8/pytime.h:6,
                 from /usr/include/python3.8/Python.h:85,
                 from cyfusion.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
  260 |     Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
      |                              ^~~~~~~~
cyfusion.cpp:22883:32: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
22883 |   __pyx_type___pyx_MemviewEnum.tp_print = 0;
      |                                ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
                 from /usr/include/python3.8/pytime.h:6,
                 from /usr/include/python3.8/Python.h:85,
                 from cyfusion.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
  260 |     Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
      |                              ^~~~~~~~
cyfusion.cpp:22895:31: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
22895 |   __pyx_type___pyx_memoryview.tp_print = 0;
      |                               ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
                 from /usr/include/python3.8/pytime.h:6,
                 from /usr/include/python3.8/Python.h:85,
                 from cyfusion.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
  260 |     Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
      |                              ^~~~~~~~
cyfusion.cpp:22895:31: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
22895 |   __pyx_type___pyx_memoryview.tp_print = 0;
      |                               ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
                 from /usr/include/python3.8/pytime.h:6,
                 from /usr/include/python3.8/Python.h:85,
                 from cyfusion.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
  260 |     Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
      |                              ^~~~~~~~
cyfusion.cpp:22895:31: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
22895 |   __pyx_type___pyx_memoryview.tp_print = 0;
      |                               ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
                 from /usr/include/python3.8/pytime.h:6,
                 from /usr/include/python3.8/Python.h:85,
                 from cyfusion.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
  260 |     Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
      |                              ^~~~~~~~
cyfusion.cpp:22905:36: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
22905 |   __pyx_type___pyx_memoryviewslice.tp_print = 0;
      |                                    ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
                 from /usr/include/python3.8/pytime.h:6,
                 from /usr/include/python3.8/Python.h:85,
                 from cyfusion.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
  260 |     Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
      |                              ^~~~~~~~
cyfusion.cpp:22905:36: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
22905 |   __pyx_type___pyx_memoryviewslice.tp_print = 0;
      |                                    ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
                 from /usr/include/python3.8/pytime.h:6,
                 from /usr/include/python3.8/Python.h:85,
                 from cyfusion.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
  260 |     Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
      |                              ^~~~~~~~
cyfusion.cpp:22905:36: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
22905 |   __pyx_type___pyx_memoryviewslice.tp_print = 0;
      |                                    ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
                 from /usr/include/python3.8/pytime.h:6,
                 from /usr/include/python3.8/Python.h:85,
                 from cyfusion.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
  260 |     Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
      |                              ^~~~~~~~
cyfusion.cpp: In function ‘void __Pyx__ExceptionSave(PyThreadState*, PyObject**, PyObject**, PyObject**)’:
cyfusion.cpp:24028:21: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
24028 |     *type = tstate->exc_type;
      |                     ^~~~~~~~
      |                     curexc_type
cyfusion.cpp:24029:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
24029 |     *value = tstate->exc_value;
      |                      ^~~~~~~~~
      |                      curexc_value
cyfusion.cpp:24030:19: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
24030 |     *tb = tstate->exc_traceback;
      |                   ^~~~~~~~~~~~~
      |                   curexc_traceback
cyfusion.cpp: In function ‘void __Pyx__ExceptionReset(PyThreadState*, PyObject*, PyObject*, PyObject*)’:
cyfusion.cpp:24037:24: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
24037 |     tmp_type = tstate->exc_type;
      |                        ^~~~~~~~
      |                        curexc_type
cyfusion.cpp:24038:25: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
24038 |     tmp_value = tstate->exc_value;
      |                         ^~~~~~~~~
      |                         curexc_value
cyfusion.cpp:24039:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
24039 |     tmp_tb = tstate->exc_traceback;
      |                      ^~~~~~~~~~~~~
      |                      curexc_traceback
cyfusion.cpp:24040:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
24040 |     tstate->exc_type = type;
      |             ^~~~~~~~
      |             curexc_type
cyfusion.cpp:24041:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
24041 |     tstate->exc_value = value;
      |             ^~~~~~~~~
      |             curexc_value
cyfusion.cpp:24042:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
24042 |     tstate->exc_traceback = tb;
      |             ^~~~~~~~~~~~~
      |             curexc_traceback
cyfusion.cpp: In function ‘int __Pyx__GetException(PyThreadState*, PyObject**, PyObject**, PyObject**)’:
cyfusion.cpp:24112:24: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
24112 |     tmp_type = tstate->exc_type;
      |                        ^~~~~~~~
      |                        curexc_type
cyfusion.cpp:24113:25: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
24113 |     tmp_value = tstate->exc_value;
      |                         ^~~~~~~~~
      |                         curexc_value
cyfusion.cpp:24114:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
24114 |     tmp_tb = tstate->exc_traceback;
      |                      ^~~~~~~~~~~~~
      |                      curexc_traceback
cyfusion.cpp:24115:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
24115 |     tstate->exc_type = local_type;
      |             ^~~~~~~~
      |             curexc_type
cyfusion.cpp:24116:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
24116 |     tstate->exc_value = local_value;
      |             ^~~~~~~~~
      |             curexc_value
cyfusion.cpp:24117:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
24117 |     tstate->exc_traceback = local_tb;
      |             ^~~~~~~~~~~~~
      |             curexc_traceback
cyfusion.cpp: In function ‘void __Pyx__ExceptionSwap(PyThreadState*, PyObject**, PyObject**, PyObject**)’:
cyfusion.cpp:24354:24: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
24354 |     tmp_type = tstate->exc_type;
      |                        ^~~~~~~~
      |                        curexc_type
cyfusion.cpp:24355:25: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
24355 |     tmp_value = tstate->exc_value;
      |                         ^~~~~~~~~
      |                         curexc_value
cyfusion.cpp:24356:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
24356 |     tmp_tb = tstate->exc_traceback;
      |                      ^~~~~~~~~~~~~
      |                      curexc_traceback
cyfusion.cpp:24357:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
24357 |     tstate->exc_type = *type;
      |             ^~~~~~~~
      |             curexc_type
cyfusion.cpp:24358:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
24358 |     tstate->exc_value = *value;
      |             ^~~~~~~~~
      |             curexc_value
cyfusion.cpp:24359:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
24359 |     tstate->exc_traceback = *tb;
      |             ^~~~~~~~~~~~~
      |             curexc_traceback
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
15048/31772MB(tsdf) 
[58322:17765 0:2031] 08:08:27 Wed Jan 13 [mona@goku:pts/1 +1] ~/mesh-fusion/libfusiongpu

Not sure if deleting the build folder helps (these seem to be the same errors as before). I was talking about the files in /libfusiongpu, specifically cyfusion.cpp (included in the repo). This file should be regenerated using Cython. Usually this should be done using setup.py after deleting the file, but I couldn't find the corresponding line in setup.py (because I also included the generated files, so you might need to check how to properly run Cython in this case).

Thanks to the hint, i was able to compile by changing the setup.py with the following

setup(
  name="cyfusion",
  cmdclass= {'build_ext': build_ext},
  ext_modules=cythonize([
    Extension('cyfusion',
      ['cyfusion.pyx'],
      language='c++',
      library_dirs=['./build/'],
      libraries=['m', "fusion_gpu"],
      include_dirs=[np.get_include()],
      extra_compile_args=extra_compile_args,
      extra_link_args=extra_link_args
    )
  ])
)

Thanks @yifita for sharing the fix.