Some information obtained from the log file are shown below. Please help me figure out how to solve this error.
Code: Select all
-- The CXX compiler identification is GNU 4.8.4
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Using CMAKE_INSTALL_PREFIX: /home/jack/opt/openEMS
-- Build AppCSXCAD: YES
-- Configuring done
-- Generating done
.
.
.
[ 33%] Built target tools
Scanning dependencies of target FDTD
[ 35%] Building CXX object FDTD/CMakeFiles/FDTD.dir/engine.cpp.o
[ 37%] Building CXX object FDTD/CMakeFiles/FDTD.dir/operator.cpp.o
[ 38%] Building CXX object FDTD/CMakeFiles/FDTD.dir/engine_multithread.cpp.o
In file included from /home/jack/Downloads/openEMS/openEMS/FDTD/engine_multithread.cpp:35:0:
/usr/lib/gcc/i686-linux-gnu/4.8/include/xmmintrin.h:31:3: error: #error "SSE instruction set not enabled"
# error "SSE instruction set not enabled"
^
/home/jack/Downloads/openEMS/openEMS/FDTD/engine_multithread.cpp: In member function ‘void NS_Engine_Multithread::thread::operator()()’:
/home/jack/Downloads/openEMS/openEMS/FDTD/engine_multithread.cpp:257:37: error: ‘_mm_getcsr’ was not declared in this scope
unsigned int oldMXCSR = _mm_getcsr(); //read the old MXCSR setting
^
/home/jack/Downloads/openEMS/openEMS/FDTD/engine_multithread.cpp:259:23: error: ‘_mm_setcsr’ was not declared in this scope
_mm_setcsr( newMXCSR ); //write the new MXCSR setting to the MXCSR
^
make[5]: *** [FDTD/CMakeFiles/FDTD.dir/engine_multithread.cpp.o] Error 1
make[4]: *** [FDTD/CMakeFiles/FDTD.dir/all] Error 2
make[3]: *** [all] Error 2
make[2]: *** [openEMS-prefix/src/openEMS-stamp/openEMS-build] Error 2
make[1]: *** [CMakeFiles/openEMS.dir/all] Error 2
make: *** [all] Error 2