Xerbo / LeanHRPT-Demod

An easy to use HRPT demodulator
GNU General Public License v3.0
58 stars 7 forks source link

make fails with "unrecognized command-line option ?-msse4.1?" on arm Raspberry Pi running Ubuntu 23 #19

Open peterjdann opened 1 year ago

peterjdann commented 1 year ago

I followed your instructions (I believe) for building under Linux on a Raspberry Pi running Ubuntu 23.

I checked out v0.1.3 of LeanHRPT.

On running "make", got the following sequence of messages:

[ 25%] Building CXX object CMakeFiles/LeanHRPT-Demod.dir/src/digital/diff.cpp.o c++: error: unrecognized command-line option ?-msse4.1? c++: error: unrecognized command-line option ?-msse4.1? make[2]: [CMakeFiles/LeanHRPT-Demod.dir/build.make:76: CMakeFiles/LeanHRPT-Demod.dir/LeanHRPT-Demod_autogen/mocs_compilation.cpp.o] Error 1 make[2]: Waiting for unfinished jobs.... make[2]: [CMakeFiles/LeanHRPT-Demod.dir/build.make:90: CMakeFiles/LeanHRPT-Demod.dir/src/digital/deframer.cpp.o] Error 1 c++: error: unrecognized command-line option ?-msse4.1? make[2]: [CMakeFiles/LeanHRPT-Demod.dir/build.make:104: CMakeFiles/LeanHRPT-Demod.dir/src/digital/derand.cpp.o] Error 1 c++: error: unrecognized command-line option ?-msse4.1? make[2]: [CMakeFiles/LeanHRPT-Demod.dir/build.make:118: CMakeFiles/LeanHRPT-Demod.dir/src/digital/diff.cpp.o] Error 1 make[1]: [CMakeFiles/Makefile2:84: CMakeFiles/LeanHRPT-Demod.dir/all] Error 2 make: *** [Makefile:91: all] Error 2

Xerbo commented 1 year ago

LeanHRPT-Demod has hard coded x86 SIMD for speed and thus doesn't work on ARM for now