falkTX / Cadence

Collection of tools useful for audio production
GNU General Public License v2.0
370 stars 80 forks source link

Unable to build on Raspbian Stretch #242

Open W9JSW opened 5 years ago

W9JSW commented 5 years ago

Build errors on Raspbian Stretch. I installed all of the QT5 prereqs that I could figure out, however, this is not a qt error.

g++: error: unrecognized argument in option '-mtune=generic' g++: note: valid arguments to '-mtune=' are: arm1020e arm1020t arm1022e arm1026ej-s arm10e arm10tdmi arm1136j-s arm1136jf-s arm1156t2-s arm1156t2f-s arm1176jz-s arm1176jzf-s arm2 arm250 arm3 arm6 arm60 arm600 arm610 arm620 arm7 arm70 arm700 arm700i arm710 arm7100 arm710c arm710t arm720 arm720t arm740t arm7500 arm7500fe arm7d arm7di arm7dm arm7dmi arm7m arm7tdmi arm7tdmi-s arm8 arm810 arm9 arm920 arm920t arm922t arm926ej-s arm940t arm946e-s arm966e-s arm968e-s arm9e arm9tdmi cortex-a12 cortex-a15 cortex-a15.cortex-a7 cortex-a17 cortex-a17.cortex-a7 cortex-a32 cortex-a35 cortex-a5 cortex-a53 cortex-a57 cortex-a57.cortex-a53 cortex-a7 cortex-a72 cortex-a72.cortex-a53 cortex-a8 cortex-a9 cortex-m0 cortex-m0.small-multiply cortex-m0plus cortex-m0plus.small-multiply cortex-m1 cortex-m1.small-multiply cortex-m3 cortex-m4 cortex-m7 cortex-r4 cortex-r4f cortex-r5 cortex-r7 cortex-r8 ep9312 exynos-m1 fa526 fa606te fa626 fa626te fa726te fmp626 generic-armv7-a iwmmxt iwmmxt2 marvell-pj4 mpcore mpcorenovfp native qdf24xx strongarm strongarm110 strongarm1100 strongarm1110 xgene1 xscale g++: error: unrecognized command line option '-msse'; did you mean '-fdse'? g++: error: unrecognized command line option '-mfpmath=sse' Makefile:50: recipe for target 'jackmeter.o' failed

falkTX commented 5 years ago

try make NOOPT=true

TRoush61 commented 5 years ago

Running on Raspbian Buster and getting a similar, but not quite identical error. Tried running with NOOPT=true

make NOOPT=true make -C c++/jackmeter make[1]: Entering directory '/home/pi/Documents/cadence/Cadence-master/c++/jackmeter' g++ -c jackmeter.cpp -O3 -ffast-math -mtune=generic -msse -mfpmath=sse -Wall -Wextra -DNDEBUG -fPIC -std=c++0x -DQT_NO_DEBUG -DQT_NO_DEBUG_STREAM -DQT_NO_DEBUG_OUTPUT -I../widgets -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -I/usr/include/arm-linux-gnueabihf/qt5 -o jackmeter.o g++: error: unrecognized command line option ‘-msse’; did you mean ‘-fdse’? g++: error: unrecognized command line option ‘-mfpmath=sse’ make[1]: [Makefile:50: jackmeter.o] Error 1 make[1]: Leaving directory '/home/pi/Documents/cadence/Cadence-master/c++/jackmeter' make: [Makefile:31: jackmeter] Error 2