<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hi,</div><div><br></div><div>I am not really sure if the Krita mailing list is the correct place to ask this question, but <a href="http://ask.krita.org">ask.krita.org</a> doesn't seem to be the right place for asking how to solve compile errors...</div><div><br></div><div>I am not able to compile Krita (development version) for several weeks (at least). I always get a CMake error:</div><div><br></div><div>Performing C++ SOURCE FILE Test check_cxx_compiler_flag__xSSE2 failed with the following output:<br>Change Dir: /home/michi/data/krita/build/CMakeFiles/CMakeTmp<br><br>Run Build Command:"/usr/bin/make" "cmTC_6eb3f/fast"<br>/usr/bin/make -f CMakeFiles/cmTC_6eb3f.dir/build.make CMakeFiles/cmTC_6eb3f.dir/build<br>make[1]: Entering directory '/home/michi/data/krita/build/CMakeFiles/CMakeTmp'<br>Building CXX object CMakeFiles/cmTC_6eb3f.dir/src.cxx.o<br>/usr/bin/c++    -std=c++0x -fno-operator-names -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time  -fext-numeric-literals -fexceptions -std=c++11 -Dcheck_cxx_compiler_flag__xSSE2   -xSSE2 -o CMakeFiles/cmTC_6eb3f.dir/src.cxx.o -c /home/michi/data/krita/build/CMakeFiles/CMakeTmp/src.cxx<br>c++: error: language SSE2 not recognized<br>c++: error: language SSE2 not recognized<br>make[1]: *** [CMakeFiles/cmTC_6eb3f.dir/build.make:66: CMakeFiles/cmTC_6eb3f.dir/src.cxx.o] Error 1<br>make[1]: Leaving directory '/home/michi/data/krita/build/CMakeFiles/CMakeTmp'<br>make: *** [Makefile:121: cmTC_6eb3f/fast] Error 2<br><br>Source file was:<br>#include <cstdio><br>      int main() { return 0; }<br>Performing C++ SOURCE FILE Test check_cxx_compiler_flag__xSSSE3 failed with the following output:<br>Change Dir: /home/michi/data/krita/build/CMakeFiles/CMakeTmp<br><br>Run Build Command:"/usr/bin/make" "cmTC_b30e7/fast"<br>/usr/bin/make -f CMakeFiles/cmTC_b30e7.dir/build.make CMakeFiles/cmTC_b30e7.dir/build<br>make[1]: Entering directory '/home/michi/data/krita/build/CMakeFiles/CMakeTmp'<br>Building CXX object CMakeFiles/cmTC_b30e7.dir/src.cxx.o<br>/usr/bin/c++    -std=c++0x -fno-operator-names -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time  -fext-numeric-literals -fexceptions -std=c++11 -Dcheck_cxx_compiler_flag__xSSSE3   -xSSSE3 -o CMakeFiles/cmTC_b30e7.dir/src.cxx.o -c /home/michi/data/krita/build/CMakeFiles/CMakeTmp/src.cxx<br>c++: error: language SSSE3 not recognized<br>c++: error: language SSSE3 not recognized<br>make[1]: *** [CMakeFiles/cmTC_b30e7.dir/build.make:66: CMakeFiles/cmTC_b30e7.dir/src.cxx.o] Error 1<br>make[1]: Leaving directory '/home/michi/data/krita/build/CMakeFiles/CMakeTmp'<br>make: *** [Makefile:121: cmTC_b30e7/fast] Error 2<br><br>Source file was:<br>#include <cstdio><br>      int main() { return 0; }<br>Performing C++ SOURCE FILE Test check_cxx_compiler_flag__xSSE4_1 failed with the following output:<br>Change Dir: /home/michi/data/krita/build/CMakeFiles/CMakeTmp<br><br>Run Build Command:"/usr/bin/make" "cmTC_b4110/fast"<br>/usr/bin/make -f CMakeFiles/cmTC_b4110.dir/build.make CMakeFiles/cmTC_b4110.dir/build<br>make[1]: Entering directory '/home/michi/data/krita/build/CMakeFiles/CMakeTmp'<br>Building CXX object CMakeFiles/cmTC_b4110.dir/src.cxx.o<br>/usr/bin/c++    -std=c++0x -fno-operator-names -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time  -fext-numeric-literals -fexceptions -std=c++11 -Dcheck_cxx_compiler_flag__xSSE4_1   -xSSE4.1 -o CMakeFiles/cmTC_b4110.dir/src.cxx.o -c /home/michi/data/krita/build/CMakeFiles/CMakeTmp/src.cxx<br>c++: error: language SSE4.1 not recognized<br>c++: error: language SSE4.1 not recognized<br>make[1]: *** [CMakeFiles/cmTC_b4110.dir/build.make:66: CMakeFiles/cmTC_b4110.dir/src.cxx.o] Error 1<br>make[1]: Leaving directory '/home/michi/data/krita/build/CMakeFiles/CMakeTmp'<br>make: *** [Makefile:121: cmTC_b4110/fast] Error 2<br><br>Source file was:<br>#include <cstdio><br>      int main() { return 0; }<br>Performing C++ SOURCE FILE Test check_cxx_compiler_flag__xAVX failed with the following output:<br>Change Dir: /home/michi/data/krita/build/CMakeFiles/CMakeTmp<br><br>Run Build Command:"/usr/bin/make" "cmTC_a8816/fast"<br>/usr/bin/make -f CMakeFiles/cmTC_a8816.dir/build.make CMakeFiles/cmTC_a8816.dir/build<br>make[1]: Entering directory '/home/michi/data/krita/build/CMakeFiles/CMakeTmp'<br>Building CXX object CMakeFiles/cmTC_a8816.dir/src.cxx.o<br>/usr/bin/c++    -std=c++0x -fno-operator-names -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time  -fext-numeric-literals -fexceptions -std=c++11 -Dcheck_cxx_compiler_flag__xAVX   -xAVX -o CMakeFiles/cmTC_a8816.dir/src.cxx.o -c /home/michi/data/krita/build/CMakeFiles/CMakeTmp/src.cxx<br>c++: error: language AVX not recognized<br>c++: error: language AVX not recognized<br>make[1]: *** [CMakeFiles/cmTC_a8816.dir/build.make:66: CMakeFiles/cmTC_a8816.dir/src.cxx.o] Error 1<br>make[1]: Leaving directory '/home/michi/data/krita/build/CMakeFiles/CMakeTmp'<br>make: *** [Makefile:121: cmTC_a8816/fast] Error 2<br><br>Source file was:<br>#include <cstdio><br>      int main() { return 0; }<br>Performing C++ SOURCE FILE Test check_cxx_compiler_flag__xCORE_AVX2 failed with the following output:<br>Change Dir: /home/michi/data/krita/build/CMakeFiles/CMakeTmp<br><br>Run Build Command:"/usr/bin/make" "cmTC_f5985/fast"<br>/usr/bin/make -f CMakeFiles/cmTC_f5985.dir/build.make CMakeFiles/cmTC_f5985.dir/build<br>make[1]: Entering directory '/home/michi/data/krita/build/CMakeFiles/CMakeTmp'<br>Building CXX object CMakeFiles/cmTC_f5985.dir/src.cxx.o<br>/usr/bin/c++    -std=c++0x -fno-operator-names -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time  -fext-numeric-literals -fexceptions -std=c++11 -Dcheck_cxx_compiler_flag__xCORE_AVX2   -xCORE-AVX2 -o CMakeFiles/cmTC_f5985.dir/src.cxx.o -c /home/michi/data/krita/build/CMakeFiles/CMakeTmp/src.cxx<br>c++: error: language CORE-AVX2 not recognized<br>c++: error: language CORE-AVX2 not recognized<br>make[1]: *** [CMakeFiles/cmTC_f5985.dir/build.make:66: CMakeFiles/cmTC_f5985.dir/src.cxx.o] Error 1<br>make[1]: Leaving directory '/home/michi/data/krita/build/CMakeFiles/CMakeTmp'<br>make: *** [Makefile:121: cmTC_f5985/fast] Error 2<br><br>Source file was:<br>#include <cstdio><br>      int main() { return 0; }<br><br></div><div>CMake version is 3.13.4, gcc version is 8.3.0. My system is Debian testing with some packages from unstable.<br><br></div><div>How can I fix this?</div><div><br></div><div>Thanks,</div><div>Michael<br></div></div></div></div></div></div>