Closed karlsander closed 6 years ago
I removed the specific lines about the Pi since it makes no sense anymore to have them. There are 4 different versions of the Pi, and those flags apply only to the first model. Someone compiling from source should know which compiler flags to use to get things optimized for their system.
Getting rid of the sse2 related stuff which is there by default is just a matter of make NOOPT=true
I am trying to compile Carla 2.0 on raspbian (linux 4.19.42), and linking chokes while building libcarla_standalone2.so due to the hylia.a in build/modules/Release/ having no index. Executing the Makefile stops because of that with "hylia.a: error adding symbols: archive has no index: run ranlib to add one".
Running ranlib on hylia.a by hand does not help. I noticed in the Makefile that at the begining HAVEHYLIA seems to be checked for generating the library. Since Hylia relates to Ableton Link, do I need it? In case I do not, is there a command option to pass in the CLI (say, for example HAVEHYLIA=false) to avoid hylia being built against?
Many thanks in advance
you can use "make HAVE_HYLIA=false" yes and you are correct, it is related to ableton link support.
Thank you so much! Works like a charm!
Is compiling on Raspbian / Raspberry Pi "supported" in the current v2 beta line? I can't find any special Raspi or ARM exceptions in the Makefile(.mk) anymore.
Here's what I got when trying to build it
``` Compiling CarlaEngine.cpp 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-a5 cortex-a53 cortex-a57 cortex-a57.cortex-a53 cortex-a7 cortex-a8 cortex-a9 cortex-m0 cortex-m0plus cortex-m1 cortex-m3 cortex-m4 cortex-r4 cortex-r4f cortex-r5 cortex-r7 ep9312 fa526 fa606te fa626 fa626te fa726te fmp626 generic-armv7-a iwmmxt iwmmxt2 marvell-pj4 mpcore mpcorenovfp native strongarm strongarm110 strongarm1100 strongarm1110 xscale g++: error: unrecognized command line option ‘-msse’ g++: error: unrecognized command line option ‘-msse2’ g++: error: unrecognized command line option ‘-mfpmath=sse’ ```