Error building from source / Raspbian

33 views
Skip to first unread message

Christiaan Roselaar

unread,
Apr 2, 2021, 11:36:33 AM4/2/21
to SonoBus Users
Help..
I tried to build Sonobus from Github-sources, using Raspbian, following instructions as per /Linuxmakefile/BUILDING.md.

The compiler sort of gets stuck when displaying "Compiling ChannelGroupsView.cpp".
After several minutes the RPI gets back to live again showing the information as per attachment.

Just to be sure: before invoking ./build.sh I issued the commands
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install libjack-jackd2-dev libopus0 libopus-dev opus-tools libasound2-dev libx11-dev libxext-dev libxinerama-dev libxrandr-dev libxcursor-dev libgl-dev libfreetype6-dev libcurl4-openssl-dev

Any help appreciated!

73's Christiaan PA3FUN
Schermafbeelding 2021-04-02 om 17.29.22.png

Jesse Chappell

unread,
Apr 2, 2021, 11:54:35 AM4/2/21
to Christiaan Roselaar, SonoBus Users
Oh yeah, I just realized that I didn't address this in the latest
docs. On rasp-pi now in order to compile you need to run a slightly
different build command. I will modify the script for this purpose...

For now, instead of ./build.sh do:
CFLAGS="-march=native" CONFIG=Release make Standalone VST3

Jesse
> --
> You received this message because you are subscribed to the Google Groups "SonoBus Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to sonobus-user...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/sonobus-users/a286cc5b-1cea-46a7-85be-084c3c70a9efn%40googlegroups.com.

Christiaan J. Roselaar

unread,
Apr 2, 2021, 5:01:04 PM4/2/21
to Jesse Chappell, SonoBus Users
Yes! That did the trick, thanks!

Op 2 apr. 2021 17:54 schreef Jesse Chappell <je...@sonosaurus.com>:

You received this message because you are subscribed to a topic in the Google Groups "SonoBus Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sonobus-users/8Nthz2TETSk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sonobus-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonobus-users/CAKtSYAUJ%3DxgrEcdM2TmR7-083W%3DNvFbhhCDVAT8sRjSuRM9MFA%40mail.gmail.com.


Lucio Mauro

unread,
Apr 2, 2021, 5:20:50 PM4/2/21
to Jesse Chappell, SonoBus Users

Hi Jesse, how are you? which possibility to create a clock for scheduling session? type: Start Friday 03/04/2021. time 10:00 End Friday 03/04/2021. time 11:05. it would be connected and disconnected automatically. Att Banan

Christiaan Roselaar

unread,
Apr 3, 2021, 4:53:00 AM4/3/21
to SonoBus Users
Hi Jesse.

Building Sonobus from source following your suggestion previously posted here did the trick on two of my RPI's.
On number three - which I believe to be identical - it throws the following error:

pi@Jacktrip-Nelleke:~/sonobus-1.4.3/Builds/LinuxMakefile $ CFLAGS=“-march=native” CONFIG=Release   make Standalone VST3
Compiling include_juce_audio_plugin_client_Standalone.cpp
g++: error: “-march=native”: No such file or directory
make: *** [Makefile:248: build/intermediate/Release/include_juce_audio_plugin_client_Standalone_1a871192.o] Error 1

Sorry to bother you again, but I'm afraid I need some guidance again.
Thanks!

Christiaan PA3FUN

Op vrijdag 2 april 2021 om 17:54:35 UTC+2 schreef jesse:

Christiaan Roselaar

unread,
Apr 3, 2021, 5:21:45 AM4/3/21
to SonoBus Users
Jesse,

In addition to my previous post:
If I break-up the one-line composed command

pi@Jacktrip-Nelleke:~/sonobus-1.4.3/Builds/LinuxMakefile $ CFLAGS=“-march=native” CONFIG=Release   make Standalone VST3

into three separate command-lines, i.e.

pi@Jacktrip-Nelleke:~/sonobus-1.4.3/Builds/LinuxMakefile $ CFLAGS=“-march=native”
pi@Jacktrip-Nelleke:~/sonobus-1.4.3/Builds/LinuxMakefile $ CONFIG=Release
pi@Jacktrip-Nelleke:~/sonobus-1.4.3/Builds/LinuxMakefile $ make Standalone VST3

then the compiler gets going but throws an error, see below. (I tried this out on two supposedly identical RPI 3b+ with same results):

Compiling ChannelGroupsView.cpp
In file included from ../../deps/juce/modules/juce_core/juce_core.h:224,
                 from ../../deps/juce/modules/juce_audio_basics/juce_audio_basics.h:53,
                 from ../../deps/ff_meters/ff_meters.h:69,
                 from ../../JuceLibraryCode/JuceHeader.h:17,
                 from ../../Source/ChannelGroupsView.h:7,
                 from ../../Source/ChannelGroupsView.cpp:4:
../../deps/juce/modules/juce_core/memory/juce_Atomic.h: In instantiation of ‘juce::Atomic<Type>::~Atomic() [with Type = double]’:
../../Source/SonobusPluginProcessor.h:855:46:   required from here
../../deps/juce/modules/juce_core/memory/juce_Atomic.h:58:24: error: static assertion failed: This class can only be used for lock-free types
         static_assert (std::atomic<Type>::is_always_lock_free,
                        ^~~
../../deps/juce/modules/juce_core/memory/juce_Atomic.h: In instantiation of ‘juce::Atomic<Type>::~Atomic() [with Type = bool]’:
../../Source/SonobusPluginProcessor.h:857:47:   required from here
../../deps/juce/modules/juce_core/memory/juce_Atomic.h:58:24: error: static assertion failed: This class can only be used for lock-free types
make: *** [Makefile:343: build/intermediate/Debug/ChannelGroupsView_7dcc7b5d.o] Error 1

Hope this gives some more insight in what may be (/am I doing) wrong?
Op zaterdag 3 april 2021 om 10:53:00 UTC+2 schreef Christiaan Roselaar:
Reply all
Reply to author
Forward
0 new messages