CMake Error

Rebecca Breu rebecca at rbreu.de
Thu Mar 21 15:24:13 GMT 2019


In the future whenever you want a newer Version of Krita than your
distro provides, you can just download the appimage from krita.org.
There are appimages for nightly builds, too. No need to compile
yourself, usually. ;)

Cheers,
Rebecca


On Thu, 21 Mar 2019 16:09:58 +0100
Michael Thaler <michael.thaler2 at googlemail.com> wrote:

> Hi Dmitry,
> 
> GCC version is: gcc (Debian 8.3.0-2) 8.3.0. I didn't build Vc at all
> and I think it is not part of Debian. I installed vc-dev using apt.
> 
> $ apt-cache policy vc-dev
> vc-dev:
>   Installed: 1.3.3-4
> 
> Anyway, I realized that Debian testing now includes Krita 4.1.7 and I
> only compiled it because Krita used to be totally outdated (probably
> because I used Debian Stable at some point).
> 
> Thanks for the help,
> best regards,
> Michael
> 
> Am So., 17. März 2019 um 18:57 Uhr schrieb Dmitry Kazakov <
> dimula73 at gmail.com>:  
> 
> > Hi, Michael!
> >
> > What version of GCC and Vc library you use? Did you build Vc from
> > our ext_vc script?
> >
> > On Sun, Mar 17, 2019 at 4:46 PM Michael Thaler <  
> > michael.thaler2 at googlemail.com> wrote:  
> >  
> >> 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
> >>  
> >
> >
> > --
> > Dmitry Kazakov
> >  



More information about the kimageshop mailing list