CMake Error

Michael Thaler michael.thaler2 at googlemail.com
Sun Mar 17 07:03:20 GMT 2019


Hi,

I am not really sure if the Krita mailing list is the correct place to ask
this question, but ask.krita.org doesn't seem to be the right place for
asking how to solve compile errors...

I am not able to compile Krita (development version) for several weeks (at
least). I always get a CMake error:

Performing C++ SOURCE FILE Test check_cxx_compiler_flag__xSSE2 failed with
the following output:
Change Dir: /home/michi/data/krita/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_6eb3f/fast"
/usr/bin/make -f CMakeFiles/cmTC_6eb3f.dir/build.make
CMakeFiles/cmTC_6eb3f.dir/build
make[1]: Entering directory
'/home/michi/data/krita/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_6eb3f.dir/src.cxx.o
/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
c++: error: language SSE2 not recognized
c++: error: language SSE2 not recognized
make[1]: *** [CMakeFiles/cmTC_6eb3f.dir/build.make:66:
CMakeFiles/cmTC_6eb3f.dir/src.cxx.o] Error 1
make[1]: Leaving directory
'/home/michi/data/krita/build/CMakeFiles/CMakeTmp'
make: *** [Makefile:121: cmTC_6eb3f/fast] Error 2

Source file was:
#include <cstdio>
      int main() { return 0; }
Performing C++ SOURCE FILE Test check_cxx_compiler_flag__xSSSE3 failed with
the following output:
Change Dir: /home/michi/data/krita/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_b30e7/fast"
/usr/bin/make -f CMakeFiles/cmTC_b30e7.dir/build.make
CMakeFiles/cmTC_b30e7.dir/build
make[1]: Entering directory
'/home/michi/data/krita/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_b30e7.dir/src.cxx.o
/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
c++: error: language SSSE3 not recognized
c++: error: language SSSE3 not recognized
make[1]: *** [CMakeFiles/cmTC_b30e7.dir/build.make:66:
CMakeFiles/cmTC_b30e7.dir/src.cxx.o] Error 1
make[1]: Leaving directory
'/home/michi/data/krita/build/CMakeFiles/CMakeTmp'
make: *** [Makefile:121: cmTC_b30e7/fast] Error 2

Source file was:
#include <cstdio>
      int main() { return 0; }
Performing C++ SOURCE FILE Test check_cxx_compiler_flag__xSSE4_1 failed
with the following output:
Change Dir: /home/michi/data/krita/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_b4110/fast"
/usr/bin/make -f CMakeFiles/cmTC_b4110.dir/build.make
CMakeFiles/cmTC_b4110.dir/build
make[1]: Entering directory
'/home/michi/data/krita/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_b4110.dir/src.cxx.o
/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
c++: error: language SSE4.1 not recognized
c++: error: language SSE4.1 not recognized
make[1]: *** [CMakeFiles/cmTC_b4110.dir/build.make:66:
CMakeFiles/cmTC_b4110.dir/src.cxx.o] Error 1
make[1]: Leaving directory
'/home/michi/data/krita/build/CMakeFiles/CMakeTmp'
make: *** [Makefile:121: cmTC_b4110/fast] Error 2

Source file was:
#include <cstdio>
      int main() { return 0; }
Performing C++ SOURCE FILE Test check_cxx_compiler_flag__xAVX failed with
the following output:
Change Dir: /home/michi/data/krita/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_a8816/fast"
/usr/bin/make -f CMakeFiles/cmTC_a8816.dir/build.make
CMakeFiles/cmTC_a8816.dir/build
make[1]: Entering directory
'/home/michi/data/krita/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_a8816.dir/src.cxx.o
/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
c++: error: language AVX not recognized
c++: error: language AVX not recognized
make[1]: *** [CMakeFiles/cmTC_a8816.dir/build.make:66:
CMakeFiles/cmTC_a8816.dir/src.cxx.o] Error 1
make[1]: Leaving directory
'/home/michi/data/krita/build/CMakeFiles/CMakeTmp'
make: *** [Makefile:121: cmTC_a8816/fast] Error 2

Source file was:
#include <cstdio>
      int main() { return 0; }
Performing C++ SOURCE FILE Test check_cxx_compiler_flag__xCORE_AVX2 failed
with the following output:
Change Dir: /home/michi/data/krita/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_f5985/fast"
/usr/bin/make -f CMakeFiles/cmTC_f5985.dir/build.make
CMakeFiles/cmTC_f5985.dir/build
make[1]: Entering directory
'/home/michi/data/krita/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_f5985.dir/src.cxx.o
/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
c++: error: language CORE-AVX2 not recognized
c++: error: language CORE-AVX2 not recognized
make[1]: *** [CMakeFiles/cmTC_f5985.dir/build.make:66:
CMakeFiles/cmTC_f5985.dir/src.cxx.o] Error 1
make[1]: Leaving directory
'/home/michi/data/krita/build/CMakeFiles/CMakeTmp'
make: *** [Makefile:121: cmTC_f5985/fast] Error 2

Source file was:
#include <cstdio>
      int main() { return 0; }

CMake version is 3.13.4, gcc version is 8.3.0. My system is Debian testing
with some packages from unstable.

How can I fix this?

Thanks,
Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kimageshop/attachments/20190317/e36464b4/attachment.html>


More information about the kimageshop mailing list