Hello. I can't install texture2ddecoder.
Log: Defaulting to user installation because normal site-packages is not writeable
Collecting texture2ddecoder
Using cached texture2ddecoder-1.0.4.tar.gz (101 kB)
Preparing metadata (setup.py) ... done
Building wheels for collected packages: texture2ddecoder
Building wheel for texture2ddecoder (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [18 lines of output]
running bdist_wheel
running build
running build_ext
building 'texture2ddecoder' extension
creating build
creating build/temp.freebsd-13.2-RELEASE-amd64-cpython-310
creating build/temp.freebsd-13.2-RELEASE-amd64-cpython-310/src
creating build/temp.freebsd-13.2-RELEASE-amd64-cpython-310/src/Texture2DDecoder
cc -pthread -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -fstack-protector-strong -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -Isrc/Texture2DDecoder -I/usr/local/include/python3.10 -c src/Texture2DDecoder/astc.cpp -o build/temp.freebsd-13.2-RELEASE-amd64-cpython-310/src/Texture2DDecoder/astc.o -std=c++11
src/Texture2DDecoder/astc.cpp:320:27: error: non-constant-expression cannot be narrowed from type 'uint_fast8_t' (aka 'unsigned int') to 'int' in initializer list [-Wc++11-narrowing]
out[n] = {bit_reverse_u8(getbits(buf, p, b), b), 0};
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/Texture2DDecoder/astc.cpp:320:27: note: insert an explicit cast to silence this issue
out[n] = {bit_reverse_u8(getbits(buf, p, b), b), 0};
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
static_cast<int>( )
1 error generated.
error: command '/usr/bin/cc' 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 texture2ddecoder
Running setup.py clean for texture2ddecoder
Failed to build texture2ddecoder
ERROR: Could not build wheels for texture2ddecoder, which is required to install pyproject.toml-based projects
Thank your very much for help.