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

Rasberry pi 3 support? #28

Open
TashaSkyUp opened this issue Dec 27, 2023 · 0 comments
Open

Rasberry pi 3 support? #28

TashaSkyUp opened this issue Dec 27, 2023 · 0 comments

Comments

@TashaSkyUp
Copy link

when building via pip:

root@d7ef903f8a7f:~/GDE# pip install pyfastnoisesimd
DEPRECATION: Loading egg at /usr/local/lib/python3.11/site-packages/absl_py-2.0.0-py3.11.egg is deprecated. pip 24.3 will enforce this behaviour change. A possible replacement is to use pip for package installation.. Discussion can be found at pypa/pip#12330
Collecting pyfastnoisesimd
Downloading pyfastnoisesimd-0.4.2.tar.gz (52 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 52.4/52.4 kB 629.0 kB/s eta 0:00:00
Preparing metadata (setup.py) ... done
Requirement already satisfied: numpy>1.7 in /usr/local/lib/python3.11/site-packages (from pyfastnoisesimd) (1.24.2)
Requirement already satisfied: setuptools>=34.1.0 in /usr/local/lib/python3.11/site-packages (from pyfastnoisesimd) (65.5.1)
Building wheels for collected packages: pyfastnoisesimd
Building wheel for pyfastnoisesimd (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [366 lines of output]
running bdist_wheel
gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -std=c++11 -mavx512f -c test-avx512.cpp -o test-avx512.o
gcc: error: unrecognized command-line option ‘-mavx512f’
warning: build: Compiler does not support avx512 flags: -std=c++11 -mavx512f

  gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -std=c++11 -mavx2 -c test-avx2.cpp -o test-avx2.o
  gcc: error: unrecognized command-line option ‘-mavx2’
  warning: build: Compiler does not support avx2 flags: -std=c++11 -mavx2
  
  gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -std=c++11 -msse4.1 -c test-sse41.cpp -o test-sse41.o
  gcc: error: unrecognized command-line option ‘-msse4.1’
  warning: build: Compiler does not support sse41 flags: -std=c++11 -msse4.1
  
  gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -std=c++11 -msse2 -c test-sse2.cpp -o test-sse2.o
  gcc: error: unrecognized command-line option ‘-msse2’
  warning: build: Compiler does not support sse2 flags: -std=c++11 -msse2
  
  running build
  running build_py
  creating build
  creating build/lib.linux-aarch64-cpython-311
  creating build/lib.linux-aarch64-cpython-311/pyfastnoisesimd
  copying pyfastnoisesimd/helpers.py -> build/lib.linux-aarch64-cpython-311/pyfastnoisesimd
  copying pyfastnoisesimd/test_fns.py -> build/lib.linux-aarch64-cpython-311/pyfastnoisesimd
  copying pyfastnoisesimd/__init__.py -> build/lib.linux-aarch64-cpython-311/pyfastnoisesimd
  copying pyfastnoisesimd/version.py -> build/lib.linux-aarch64-cpython-311/pyfastnoisesimd
  running build_ext
  building 'pyfastnoisesimd.extension' extension
  creating build/temp.linux-aarch64-cpython-311
  creating build/temp.linux-aarch64-cpython-311/pyfastnoisesimd
  creating build/temp.linux-aarch64-cpython-311/pyfastnoisesimd/fastnoisesimd
  gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/usr/local/lib/python3.11/site-packages/numpy/core/include -Ipyfastnoisesimd -Ipyfastnoisesimd/fastnoisesimd/ -I/usr/local/include/python3.11 -c pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD.cpp -o build/temp.linux-aarch64-cpython-311/pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD.o -std=c++11
  gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/usr/local/lib/python3.11/site-packages/numpy/core/include -Ipyfastnoisesimd -Ipyfastnoisesimd/fastnoisesimd/ -I/usr/local/include/python3.11 -c pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_internal.cpp -o build/temp.linux-aarch64-cpython-311/pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_internal.o -std=c++11
  gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/usr/local/lib/python3.11/site-packages/numpy/core/include -Ipyfastnoisesimd -Ipyfastnoisesimd/fastnoisesimd/ -I/usr/local/include/python3.11 -c pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_neon.cpp -o build/temp.linux-aarch64-cpython-311/pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_neon.o -std=c++11
  In file included from pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_neon.cpp:37:
  pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_internal.cpp: In function ‘SIMDf L5_FUNC_GradCoord(SIMDi, SIMDi, SIMDi, SIMDi, SIMDf, SIMDf, SIMDf)’:
  pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_internal.cpp:204:41: note: use ‘-flax-vector-conversions’ to permit conversions between vectors with differing element types or numbers of subparts
    204 | #define SIMDf_BLENDV(a,b,mask) vbslq_f32(mask,b,a)
        |                                ~~~~~~~~~^~~~~~~~~~
  pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_internal.cpp:781:19: note: in expansion of macro ‘SIMDf_BLENDV’
    781 |         SIMDf u = SIMDf_BLENDV(y, x, l8);
        |                   ^~~~~~~~~~~~
  pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_internal.cpp:781:38: error: cannot convert ‘MASK’ {aka ‘int32x4_t’} to ‘uint32x4_t’
    781 |         SIMDf u = SIMDf_BLENDV(y, x, l8);
        |                                      ^~
        |                                      |
        |                                      MASK {aka int32x4_t}
  pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_internal.cpp:204:42: note: in definition of macro ‘SIMDf_BLENDV’
    204 | #define SIMDf_BLENDV(a,b,mask) vbslq_f32(mask,b,a)
        |                                          ^~~~
  In file included from pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_neon.cpp:34:
  /usr/lib/gcc/aarch64-linux-gnu/12/include/arm_neon.h:9899:23: note:   initializing argument 1 of ‘float32x4_t vbslq_f32(uint32x4_t, float32x4_t, float32x4_t)’
   9899 | vbslq_f32 (uint32x4_t __a, float32x4_t __b, float32x4_t __c)
        |            ~~~~~~~~~~~^~~
  pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_internal.cpp:786:51: error: cannot convert ‘MASK’ {aka ‘int32x4_t’} to ‘uint32x4_t’
    786 |         SIMDf v = SIMDf_BLENDV(SIMDf_BLENDV(z, x, h12o14), y, l4);
        |                                                   ^~~~~~
        |                                                   |
        |                                                   MASK {aka int32x4_t}
  pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_internal.cpp:204:49: note: in definition of macro ‘SIMDf_BLENDV’
    204 | #define SIMDf_BLENDV(a,b,mask) vbslq_f32(mask,b,a)
        |                                                 ^
  pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_internal.cpp:786:32: note: in expansion of macro ‘SIMDf_BLENDV’
    786 |         SIMDf v = SIMDf_BLENDV(SIMDf_BLENDV(z, x, h12o14), y, l4);
        |                                ^~~~~~~~~~~~
  /usr/lib/gcc/aarch64-linux-gnu/12/include/arm_neon.h:9899:23: note:   initializing argument 1 of ‘float32x4_t vbslq_f32(uint32x4_t, float32x4_t, float32x4_t)’
   9899 | vbslq_f32 (uint32x4_t __a, float32x4_t __b, float32x4_t __c)
        |            ~~~~~~~~~~~^~~
  pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_internal.cpp: In function ‘SIMDf L5_FUNC_SimplexSingle(SIMDi, SIMDf, SIMDf, SIMDf)’:
  pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_internal.cpp:184:55: error: cannot convert ‘float32x4_t’ to ‘MASK’ {aka ‘int32x4_t’} in initialization
    184 | #define SIMDf_GREATER_EQUAL(a,b) vreinterpretq_f32_u32(vcgeq_f32(a,b))
        |                                  ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
        |                                                       |
        |                                                       float32x4_t
  pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_internal.cpp:880:25: note: in expansion of macro ‘SIMDf_GREATER_EQUAL’
    880 |         MASK x0_ge_y0 = SIMDf_GREATER_EQUAL(x0, y0);
        |                         ^~~~~~~~~~~~~~~~~~~
  pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_internal.cpp:184:55: error: cannot convert ‘float32x4_t’ to ‘MASK’ {aka ‘int32x4_t’} in initialization
    184 | #define SIMDf_GREATER_EQUAL(a,b) vreinterpretq_f32_u32(vcgeq_f32(a,b))
        |                                  ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
        |                                                       |
        |                                                       float32x4_t
  pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_internal.cpp:881:25: note: in expansion of macro ‘SIMDf_GREATER_EQUAL’
    881 |         MASK y0_ge_z0 = SIMDf_GREATER_EQUAL(y0, z0);
        |                         ^~~~~~~~~~~~~~~~~~~
  pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_internal.cpp:184:55: error: cannot convert ‘float32x4_t’ to ‘MASK’ {aka ‘int32x4_t’} in initialization
    184 | #define SIMDf_GREATER_EQUAL(a,b) vreinterpretq_f32_u32(vcgeq_f32(a,b))
        |                                  ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
        |                                                       |
        |                                                       float32x4_t
  pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_internal.cpp:882:25: note: in expansion of macro ‘SIMDf_GREATER_EQUAL’
    882 |         MASK x0_ge_z0 = SIMDf_GREATER_EQUAL(x0, z0);
        |                         ^~~~~~~~~~~~~~~~~~~
  pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_internal.cpp:184:55: error: cannot convert ‘float32x4_t’ to ‘MASK’ {aka ‘int32x4_t’} in initialization
    184 | #define SIMDf_GREATER_EQUAL(a,b) vreinterpretq_f32_u32(vcgeq_f32(a,b))
        |                                  ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
        |                                                       |
        |                                                       float32x4_t
  pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_internal.cpp:907:19: note: in expansion of macro ‘SIMDf_GREATER_EQUAL’
    907 |         MASK n0 = SIMDf_GREATER_EQUAL(t0, SIMDf_NUM(0));
        |                   ^~~~~~~~~~~~~~~~~~~
  pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_internal.cpp:184:55: error: cannot convert ‘float32x4_t’ to ‘MASK’ {aka ‘int32x4_t’} in initialization
    184 | #define SIMDf_GREATER_EQUAL(a,b) vreinterpretq_f32_u32(vcgeq_f32(a,b))
        |                                  ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
        |                                                       |
        |                                                       float32x4_t
  pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_internal.cpp:908:19: note: in expansion of macro ‘SIMDf_GREATER_EQUAL’
    908 |         MASK n1 = SIMDf_GREATER_EQUAL(t1, SIMDf_NUM(0));
        |                   ^~~~~~~~~~~~~~~~~~~
  pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_internal.cpp:184:55: error: cannot convert ‘float32x4_t’ to ‘MASK’ {aka ‘int32x4_t’} in initialization
    184 | #define SIMDf_GREATER_EQUAL(a,b) vreinterpretq_f32_u32(vcgeq_f32(a,b))
        |                                  ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
        |                                                       |
        |                                                       float32x4_t
  pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_internal.cpp:909:19: note: in expansion of macro ‘SIMDf_GREATER_EQUAL’
    909 |         MASK n2 = SIMDf_GREATER_EQUAL(t2, SIMDf_NUM(0));
        |                   ^~~~~~~~~~~~~~~~~~~
  pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_internal.cpp:184:55: error: cannot convert ‘float32x4_t’ to ‘MASK’ {aka ‘int32x4_t’} in initialization
    184 | #define SIMDf_GREATER_EQUAL(a,b) vreinterpretq_f32_u32(vcgeq_f32(a,b))
        |                                  ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
        |                                                       |
        |                                                       float32x4_t
  pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_internal.cpp:910:19: note: in expansion of macro ‘SIMDf_GREATER_EQUAL’
    910 |         MASK n3 = SIMDf_GREATER_EQUAL(t3, SIMDf_NUM(0));
        |                   ^~~~~~~~~~~~~~~~~~~
  pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_internal.cpp: In function ‘SIMDf L5_FUNC_CellularValueEuclideanSingle(SIMDi, SIMDf, SIMDf, SIMDf, SIMDf)’:
  pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_internal.cpp:181:51: error: cannot convert ‘float32x4_t’ to ‘MASK’ {aka ‘int32x4_t’} in initialization
    181 | #define SIMDf_LESS_THAN(a,b) vreinterpretq_f32_u32(vcltq_f32(a,b))
        |                              ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
        |                                                   |
        |                                                   float32x4_t
  pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_internal.cpp:1622:47: note: in expansion of macro ‘SIMDf_LESS_THAN’
   1622 |                                 MASK closer = SIMDf_LESS_THAN(newDistance, distance);\
        |                                               ^~~~~~~~~~~~~~~
  pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_internal.cpp:1906:1: note: in expansion of macro ‘CELLULAR_VALUE_SINGLE’
   1906 | CELLULAR_VALUE_SINGLE(Euclidean)
        | ^~~~~~~~~~~~~~~~~~~~~
  pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_internal.cpp:1625:83: error: cannot convert ‘MASK’ {aka ‘int32x4_t’} to ‘uint32x4_t’
   1625 |                                 cellValue = SIMDf_BLENDV(cellValue, newCellValue, closer);\
        |                                                                                   ^~~~~~
        |                                                                                   |
        |                                                                                   MASK {aka int32x4_t}
  pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_internal.cpp:204:42: note: in definition of macro ‘SIMDf_BLENDV’
    204 | #define SIMDf_BLENDV(a,b,mask) vbslq_f32(mask,b,a)
        |                                          ^~~~
  pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_internal.cpp:1906:1: note: in expansion of macro ‘CELLULAR_VALUE_SINGLE’
   1906 | CELLULAR_VALUE_SINGLE(Euclidean)
        | ^~~~~~~~~~~~~~~~~~~~~
  /usr/lib/gcc/aarch64-linux-gnu/12/include/arm_neon.h:9899:23: note:   initializing argument 1 of ‘float32x4_t vbslq_f32(uint32x4_t, float32x4_t, float32x4_t)’
   9899 | vbslq_f32 (uint32x4_t __a, float32x4_t __b, float32x4_t __c)
        |            ~~~~~~~~~~~^~~
  pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_internal.cpp: In function ‘SIMDf L5_FUNC_CellularValueManhattanSingle(SIMDi, SIMDf, SIMDf, SIMDf, SIMDf)’:
  pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_internal.cpp:181:51: error: cannot convert ‘float32x4_t’ to ‘MASK’ {aka ‘int32x4_t’} in initialization
    181 | #define SIMDf_LESS_THAN(a,b) vreinterpretq_f32_u32(vcltq_f32(a,b))
        |                              ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
        |                                                   |
        |                                                   float32x4_t
  pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_internal.cpp:1622:47: note: in expansion of macro ‘SIMDf_LESS_THAN’
   1622 |                                 MASK closer = SIMDf_LESS_THAN(newDistance, distance);\
        |                                               ^~~~~~~~~~~~~~~
  pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_internal.cpp:1907:1: note: in expansion of macro ‘CELLULAR_VALUE_SINGLE’
   1907 | CELLULAR_VALUE_SINGLE(Manhattan)
        | ^~~~~~~~~~~~~~~~~~~~~
  pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_internal.cpp:1625:83: error: cannot convert ‘MASK’ {aka ‘int32x4_t’} to ‘uint32x4_t’
   1625 |                                 cellValue = SIMDf_BLENDV(cellValue, newCellValue, closer);\
        |                                                                                   ^~~~~~
        |                                                                                   |
        |                                                                                   MASK {aka int32x4_t}
  pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_internal.cpp:204:42: note: in definition of macro ‘SIMDf_BLENDV’
    204 | #define SIMDf_BLENDV(a,b,mask) vbslq_f32(mask,b,a)
        |                                          ^~~~
  pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_internal.cpp:1907:1: note: in expansion of macro ‘CELLULAR_VALUE_SINGLE’
   1907 | CELLULAR_VALUE_SINGLE(Manhattan)
        | ^~~~~~~~~~~~~~~~~~~~~
  /usr/lib/gcc/aarch64-linux-gnu/12/include/arm_neon.h:9899:23: note:   initializing argument 1 of ‘float32x4_t vbslq_f32(uint32x4_t, float32x4_t, float32x4_t)’
   9899 | vbslq_f32 (uint32x4_t __a, float32x4_t __b, float32x4_t __c)
        |            ~~~~~~~~~~~^~~
  pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_internal.cpp: In function ‘SIMDf L5_FUNC_CellularValueNaturalSingle(SIMDi, SIMDf, SIMDf, SIMDf, SIMDf)’:
  pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_internal.cpp:181:51: error: cannot convert ‘float32x4_t’ to ‘MASK’ {aka ‘int32x4_t’} in initialization
    181 | #define SIMDf_LESS_THAN(a,b) vreinterpretq_f32_u32(vcltq_f32(a,b))
        |                              ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
        |                                                   |
        |                                                   float32x4_t
  pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_internal.cpp:1622:47: note: in expansion of macro ‘SIMDf_LESS_THAN’
   1622 |                                 MASK closer = SIMDf_LESS_THAN(newDistance, distance);\
        |                                               ^~~~~~~~~~~~~~~
  pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_internal.cpp:1908:1: note: in expansion of macro ‘CELLULAR_VALUE_SINGLE’
   1908 | CELLULAR_VALUE_SINGLE(Natural)
        | ^~~~~~~~~~~~~~~~~~~~~
  pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_internal.cpp:1625:83: error: cannot convert ��MASK’ {aka ‘int32x4_t’} to ‘uint32x4_t’
   1625 |                                 cellValue = SIMDf_BLENDV(cellValue, newCellValue, closer);\
        |                                                                                   ^~~~~~
        |                                                                                   |
        |                                                                                   MASK {aka int32x4_t}
  pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_internal.cpp:204:42: note: in definition of macro ‘SIMDf_BLENDV’
    204 | #define SIMDf_BLENDV(a,b,mask) vbslq_f32(mask,b,a)
        |                                          ^~~~
  pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_internal.cpp:1908:1: note: in expansion of macro ‘CELLULAR_VALUE_SINGLE’
   1908 | CELLULAR_VALUE_SINGLE(Natural)
        | ^~~~~~~~~~~~~~~~~~~~~
  /usr/lib/gcc/aarch64-linux-gnu/12/include/arm_neon.h:9899:23: note:   initializing argument 1 of ‘float32x4_t vbslq_f32(uint32x4_t, float32x4_t, float32x4_t)’
   9899 | vbslq_f32 (uint32x4_t __a, float32x4_t __b, float32x4_t __c)
        |            ~~~~~~~~~~~^~~
  pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_internal.cpp: In function ‘SIMDf L5_FUNC_CellularLookupEuclideanSingle(SIMDi, SIMDf, SIMDf, SIMDf, SIMDf, const NoiseLookupSettings&)’:
  pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_internal.cpp:181:51: error: cannot convert ‘float32x4_t’ to ‘MASK’ {aka ‘int32x4_t’} in initialization
    181 | #define SIMDf_LESS_THAN(a,b) vreinterpretq_f32_u32(vcltq_f32(a,b))
        |                              ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
        |                                                   |
        |                                                   float32x4_t
  pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_internal.cpp:1724:47: note: in expansion of macro ‘SIMDf_LESS_THAN’
   1724 |                                 MASK closer = SIMDf_LESS_THAN(newDistance, distance);\
        |                                               ^~~~~~~~~~~~~~~
  pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_internal.cpp:1910:1: note: in expansion of macro ‘CELLULAR_LOOKUP_SINGLE’
   1910 | CELLULAR_LOOKUP_SINGLE(Euclidean)
        | ^~~~~~~~~~~~~~~~~~~~~~
  pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_internal.cpp:1727:71: error: cannot convert ‘MASK’ {aka ‘int32x4_t’} to ‘uint32x4_t’
   1727 |                                 xCell = SIMDf_BLENDV(xCell, xCellNew, closer);\
        |                                                                       ^~~~~~
        |                                                                       |
        |                                                                       MASK {aka int32x4_t}
  pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_internal.cpp:204:42: note: in definition of macro ‘SIMDf_BLENDV’
    204 | #define SIMDf_BLENDV(a,b,mask) vbslq_f32(mask,b,a)
        |                                          ^~~~
  pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_internal.cpp:1910:1: note: in expansion of macro ‘CELLULAR_LOOKUP_SINGLE’
   1910 | CELLULAR_LOOKUP_SINGLE(Euclidean)
        | ^~~~~~~~~~~~~~~~~~~~~~
  /usr/lib/gcc/aarch64-linux-gnu/12/include/arm_neon.h:9899:23: note:   initializing argument 1 of ‘float32x4_t vbslq_f32(uint32x4_t, float32x4_t, float32x4_t)’
   9899 | vbslq_f32 (uint32x4_t __a, float32x4_t __b, float32x4_t __c)
        |            ~~~~~~~~~~~^~~
  pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_internal.cpp:1728:71: error: cannot convert ‘MASK’ {aka ‘int32x4_t’} to ‘uint32x4_t’
   1728 |                                 yCell = SIMDf_BLENDV(yCell, yCellNew, closer);\
        |                                                                       ^~~~~~
        |                                                                       |
        |                                                                       MASK {aka int32x4_t}
  pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_internal.cpp:204:42: note: in definition of macro ‘SIMDf_BLENDV’
    204 | #define SIMDf_BLENDV(a,b,mask) vbslq_f32(mask,b,a)
        |                                          ^~~~
  pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_internal.cpp:1910:1: note: in expansion of macro ‘CELLULAR_LOOKUP_SINGLE’
   1910 | CELLULAR_LOOKUP_SINGLE(Euclidean)
        | ^~~~~~~~~~~~~~~~~~~~~~
  /usr/lib/gcc/aarch64-linux-gnu/12/include/arm_neon.h:9899:23: note:   initializing argument 1 of ‘float32x4_t vbslq_f32(uint32x4_t, float32x4_t, float32x4_t)’
   9899 | vbslq_f32 (uint32x4_t __a, float32x4_t __b, float32x4_t __c)
        |            ~~~~~~~~~~~^~~
  pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_internal.cpp:1729:71: error: cannot convert ‘MASK’ {aka ‘int32x4_t’} to ‘uint32x4_t’
   1729 |                                 zCell = SIMDf_BLENDV(zCell, zCellNew, closer);\
        |                                                                       ^~~~~~
        |                                                                       |
        |                                                                       MASK {aka int32x4_t}
  pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_internal.cpp:204:42: note: in definition of macro ‘SIMDf_BLENDV’
    204 | #define SIMDf_BLENDV(a,b,mask) vbslq_f32(mask,b,a)
        |                                          ^~~~
  pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_internal.cpp:1910:1: note: in expansion of macro ‘CELLULAR_LOOKUP_SINGLE’
   1910 | CELLULAR_LOOKUP_SINGLE(Euclidean)
        | ^~~~~~~~~~~~~~~~~~~~~~
  /usr/lib/gcc/aarch64-linux-gnu/12/include/arm_neon.h:9899:23: note:   initializing argument 1 of ‘float32x4_t vbslq_f32(uint32x4_t, float32x4_t, float32x4_t)’
   9899 | vbslq_f32 (uint32x4_t __a, float32x4_t __b, float32x4_t __c)
        |            ~~~~~~~~~~~^~~
  pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_internal.cpp: In function ‘SIMDf L5_FUNC_CellularLookupManhattanSingle(SIMDi, SIMDf, SIMDf, SIMDf, SIMDf, const NoiseLookupSettings&)’:
  pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_internal.cpp:181:51: error: cannot convert ‘float32x4_t’ to ‘MASK’ {aka ‘int32x4_t’} in initialization
    181 | #define SIMDf_LESS_THAN(a,b) vreinterpretq_f32_u32(vcltq_f32(a,b))
        |                              ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
        |                                                   |
        |                                                   float32x4_t
  pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_internal.cpp:1724:47: note: in expansion of macro ‘SIMDf_LESS_THAN’
   1724 |                                 MASK closer = SIMDf_LESS_THAN(newDistance, distance);\
        |                                               ^~~~~~~~~~~~~~~
  pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_internal.cpp:1911:1: note: in expansion of macro ‘CELLULAR_LOOKUP_SINGLE’
   1911 | CELLULAR_LOOKUP_SINGLE(Manhattan)
        | ^~~~~~~~~~~~~~~~~~~~~~
  pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_internal.cpp:1727:71: error: cannot convert ‘MASK’ {aka ‘int32x4_t’} to ‘uint32x4_t’
   1727 |                                 xCell = SIMDf_BLENDV(xCell, xCellNew, closer);\
        |                                                                       ^~~~~~
        |                                                                       |
        |                                                                       MASK {aka int32x4_t}
  pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_internal.cpp:204:42: note: in definition of macro ‘SIMDf_BLENDV’
    204 | #define SIMDf_BLENDV(a,b,mask) vbslq_f32(mask,b,a)
        |                                          ^~~~
  pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_internal.cpp:1911:1: note: in expansion of macro ‘CELLULAR_LOOKUP_SINGLE’
   1911 | CELLULAR_LOOKUP_SINGLE(Manhattan)
        | ^~~~~~~~~~~~~~~~~~~~~~
  /usr/lib/gcc/aarch64-linux-gnu/12/include/arm_neon.h:9899:23: note:   initializing argument 1 of ‘float32x4_t vbslq_f32(uint32x4_t, float32x4_t, float32x4_t)’
   9899 | vbslq_f32 (uint32x4_t __a, float32x4_t __b, float32x4_t __c)
        |            ~~~~~~~~~~~^~~
  pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_internal.cpp:1728:71: error: cannot convert ‘MASK’ {aka ‘int32x4_t’} to ‘uint32x4_t’
   1728 |                                 yCell = SIMDf_BLENDV(yCell, yCellNew, closer);\
        |                                                                       ^~~~~~
        |                                                                       |
        |                                                                       MASK {aka int32x4_t}
  pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_internal.cpp:204:42: note: in definition of macro ‘SIMDf_BLENDV’
    204 | #define SIMDf_BLENDV(a,b,mask) vbslq_f32(mask,b,a)
        |                                          ^~~~
  pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_internal.cpp:1911:1: note: in expansion of macro ‘CELLULAR_LOOKUP_SINGLE’
   1911 | CELLULAR_LOOKUP_SINGLE(Manhattan)
        | ^~~~~~~~~~~~~~~~~~~~~~
  /usr/lib/gcc/aarch64-linux-gnu/12/include/arm_neon.h:9899:23: note:   initializing argument 1 of ‘float32x4_t vbslq_f32(uint32x4_t, float32x4_t, float32x4_t)’
   9899 | vbslq_f32 (uint32x4_t __a, float32x4_t __b, float32x4_t __c)
        |            ~~~~~~~~~~~^~~
  pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_internal.cpp:1729:71: error: cannot convert ‘MASK’ {aka ‘int32x4_t’} to ‘uint32x4_t’
   1729 |                                 zCell = SIMDf_BLENDV(zCell, zCellNew, closer);\
        |                                                                       ^~~~~~
        |                                                                       |
        |                                                                       MASK {aka int32x4_t}
  pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_internal.cpp:204:42: note: in definition of macro ‘SIMDf_BLENDV’
    204 | #define SIMDf_BLENDV(a,b,mask) vbslq_f32(mask,b,a)
        |                                          ^~~~
  pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_internal.cpp:1911:1: note: in expansion of macro ‘CELLULAR_LOOKUP_SINGLE’
   1911 | CELLULAR_LOOKUP_SINGLE(Manhattan)
        | ^~~~~~~~~~~~~~~~~~~~~~
  /usr/lib/gcc/aarch64-linux-gnu/12/include/arm_neon.h:9899:23: note:   initializing argument 1 of ‘float32x4_t vbslq_f32(uint32x4_t, float32x4_t, float32x4_t)’
   9899 | vbslq_f32 (uint32x4_t __a, float32x4_t __b, float32x4_t __c)
        |            ~~~~~~~~~~~^~~
  pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_internal.cpp: In function ‘SIMDf L5_FUNC_CellularLookupNaturalSingle(SIMDi, SIMDf, SIMDf, SIMDf, SIMDf, const NoiseLookupSettings&)’:
  pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_internal.cpp:181:51: error: cannot convert ‘float32x4_t’ to ‘MASK’ {aka ‘int32x4_t’} in initialization
    181 | #define SIMDf_LESS_THAN(a,b) vreinterpretq_f32_u32(vcltq_f32(a,b))
        |                              ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
        |                                                   |
        |                                                   float32x4_t
  pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_internal.cpp:1724:47: note: in expansion of macro ‘SIMDf_LESS_THAN’
   1724 |                                 MASK closer = SIMDf_LESS_THAN(newDistance, distance);\
        |                                               ^~~~~~~~~~~~~~~
  pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_internal.cpp:1912:1: note: in expansion of macro ‘CELLULAR_LOOKUP_SINGLE’
   1912 | CELLULAR_LOOKUP_SINGLE(Natural)
        | ^~~~~~~~~~~~~~~~~~~~~~
  pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_internal.cpp:1727:71: error: cannot convert ‘MASK’ {aka ‘int32x4_t’} to ‘uint32x4_t’
   1727 |                                 xCell = SIMDf_BLENDV(xCell, xCellNew, closer);\
        |                                                                       ^~~~~~
        |                                                                       |
        |                                                                       MASK {aka int32x4_t}
  pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_internal.cpp:204:42: note: in definition of macro ‘SIMDf_BLENDV’
    204 | #define SIMDf_BLENDV(a,b,mask) vbslq_f32(mask,b,a)
        |                                          ^~~~
  pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_internal.cpp:1912:1: note: in expansion of macro ‘CELLULAR_LOOKUP_SINGLE’
   1912 | CELLULAR_LOOKUP_SINGLE(Natural)
        | ^~~~~~~~~~~~~~~~~~~~~~
  /usr/lib/gcc/aarch64-linux-gnu/12/include/arm_neon.h:9899:23: note:   initializing argument 1 of ‘float32x4_t vbslq_f32(uint32x4_t, float32x4_t, float32x4_t)’
   9899 | vbslq_f32 (uint32x4_t __a, float32x4_t __b, float32x4_t __c)
        |            ~~~~~~~~~~~^~~
  pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_internal.cpp:1728:71: error: cannot convert ‘MASK’ {aka ‘int32x4_t’} to ‘uint32x4_t’
   1728 |                                 yCell = SIMDf_BLENDV(yCell, yCellNew, closer);\
        |                                                                       ^~~~~~
        |                                                                       |
        |                                                                       MASK {aka int32x4_t}
  pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_internal.cpp:204:42: note: in definition of macro ‘SIMDf_BLENDV’
    204 | #define SIMDf_BLENDV(a,b,mask) vbslq_f32(mask,b,a)
        |                                          ^~~~
  pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_internal.cpp:1912:1: note: in expansion of macro ‘CELLULAR_LOOKUP_SINGLE’
   1912 | CELLULAR_LOOKUP_SINGLE(Natural)
        | ^~~~~~~~~~~~~~~~~~~~~~
  /usr/lib/gcc/aarch64-linux-gnu/12/include/arm_neon.h:9899:23: note:   initializing argument 1 of ‘float32x4_t vbslq_f32(uint32x4_t, float32x4_t, float32x4_t)’
   9899 | vbslq_f32 (uint32x4_t __a, float32x4_t __b, float32x4_t __c)
        |            ~~~~~~~~~~~^~~
  pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_internal.cpp:1729:71: error: cannot convert ‘MASK’ {aka ‘int32x4_t’} to ‘uint32x4_t’
   1729 |                                 zCell = SIMDf_BLENDV(zCell, zCellNew, closer);\
        |                                                                       ^~~~~~
        |                                                                       |
        |                                                                       MASK {aka int32x4_t}
  pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_internal.cpp:204:42: note: in definition of macro ‘SIMDf_BLENDV’
    204 | #define SIMDf_BLENDV(a,b,mask) vbslq_f32(mask,b,a)
        |                                          ^~~~
  pyfastnoisesimd/fastnoisesimd/FastNoiseSIMD_internal.cpp:1912:1: note: in expansion of macro ‘CELLULAR_LOOKUP_SINGLE’
   1912 | CELLULAR_LOOKUP_SINGLE(Natural)
        | ^~~~~~~~~~~~~~~~~~~~~~
  /usr/lib/gcc/aarch64-linux-gnu/12/include/arm_neon.h:9899:23: note:   initializing argument 1 of ‘float32x4_t vbslq_f32(uint32x4_t, float32x4_t, float32x4_t)’
   9899 | vbslq_f32 (uint32x4_t __a, float32x4_t __b, float32x4_t __c)
        |            ~~~~~~~~~~~^~~
  error: command '/usr/bin/gcc' failed with exit code 1
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pyfastnoisesimd
Running setup.py clean for pyfastnoisesimd
Failed to build pyfastnoisesimd
ERROR: Could not build wheels for pyfastnoisesimd, which is required to install pyproject.toml-based projects

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