ermig1979 / Simd

C++ image processing and machine learning library with using of SIMD: SSE, AVX, AVX-512, AMX for x86/x64, NEON for ARM.
http://ermig1979.github.io/Simd
MIT License
2.06k stars 413 forks source link

Build error with -DCMAKE_BUILD_TYPE="Debug" #65

Closed ElimsSmile closed 6 years ago

ElimsSmile commented 6 years ago

Hello. Build with GCC 5.4.0 fails with the next errors: image

ermig1979 commented 6 years ago

I use GCC 5.5.0 and the build is performed without any errors:

cd simd/prj/cmake
mkdir build
cd build
cmake .. -DTOOLCHAIN="g++-5" -DTARGET="" -DCMAKE_BUILD_TYPE="Debug"
make -j8

It is possible that GCC 5.4.0 does not support AVX-512. I would recommend to use option -DAVX512=0 in order to build Simd.

ElimsSmile commented 6 years ago

But with release build type there are no such errors