Problem to build from source. #7587
Answered
by
kovidgoyal
oaSakamoto
asked this question in
Q&A
-
Hello, when i try to run dev.sh --build produce the error: $./dev.sh build
[122/122] Compiling kitty/gl-wrapper.c ... done
Compiling kitty/simd-string-128.c ...
gcc -MMD -DNDEBUG -I/home/sakamoto/personal/kitty/dependencies/linux-amd64/include -Wextra -Wfloat-conversion -Wno-missing-field-initializers -Wall -Wstrict-prototypes -std=c11 -pedantic-errors -Werror -O3 -fwrapv -fstack-protector-strong -pipe -fvisibility=hidden -fno-plt -fPIC -D_FORTIFY_SOURCE=2 -flto -fcf-protection=full -march=native -mtune=native -pthread -I/home/sakamoto/personal/kitty/dependencies/linux-amd64/include/libpng16 -I/home/sakamoto/personal/kitty/dependencies/linux-amd64/include -I/home/sakamoto/personal/kitty/dependencies/linux-amd64/include -I/home/sakamoto/personal/kitty/dependencies/linux-amd64/include -I/home/sakamoto/personal/kitty/dependencies/linux-amd64/include/freetype2 -I/home/sakamoto/personal/kitty/dependencies/linux-amd64/include/libpng16 -I/usr/include/uuid -I/home/sakamoto/personal/kitty/dependencies/linux-amd64/include/harfbuzz -I/home/sakamoto/personal/kitty/dependencies/linux-amd64/include/freetype2 -I/home/sakamoto/personal/kitty/dependencies/linux-amd64/include/libpng16 -I/home/sakamoto/personal/kitty/dependencies/linux-amd64/include -I/home/sakamoto/personal/kitty/dependencies/linux-amd64/include/python3.12 -fopenmp-simd -DSIMDE_ENABLE_OPENMP -msse4.2 -c kitty/simd-string-128.c -o build/fast_data_types-kitty-simd-string-128.c.o
In file included from kitty/simd-string-impl.h:37,
from kitty/simd-string-128.c:9:
/home/sakamoto/personal/kitty/dependencies/linux-amd64/include/simde/arm/neon.h: In function ‘simde_vpaddlq_u16’:
/home/sakamoto/personal/kitty/dependencies/linux-amd64/include/simde/arm/neon.h:35647:9: error: ‘simde_uint32x4_private’ has no member named ‘sse_m128i’
35647 | r_.sse_m128i = _mm_haddd_epu16(a_.sse_m128i);
| ^
/home/sakamoto/personal/kitty/dependencies/linux-amd64/include/simde/arm/neon.h:35647:40: error: ‘simde_uint16x8_private’ has no member named ‘sse_m128i’
35647 | r_.sse_m128i = _mm_haddd_epu16(a_.sse_m128i);
| ^
/home/sakamoto/personal/kitty/dependencies/linux-amd64/include/simde/arm/neon.h:35643:28: error: variable ‘a_’ set but not used [-Werror=unused-but-set-variable]
35643 | simde_uint16x8_private a_ = simde_uint16x8_to_private(a);
| ^~
cc1: all warnings being treated as errors
The following build command failed: /home/sakamoto/personal/kitty/dependencies/linux-amd64/bin/python setup.py develop
exit status My distro is Arch, and I have install the dependencies required on system, when I run I have two questions, how to fix the first command and if is wrong build with the second command. |
Beta Was this translation helpful? Give feedback.
Answered by
kovidgoyal
Jul 4, 2024
Replies: 1 comment 2 replies
-
You probably have outdated dependencies, run
./dev.sh deps
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
First of all the correct comman is ./dev.sh build not --build. And if you want to build with sanitize that's fine the only problem will be some performance loss.