Hi Jules and JUCErs everywhere!
I have recently switched from Arch Linux to TrueOS (which is based upon FreeBSD 12). I think its a great OS but I have been unable to get two of my fave FLOSS softsynths - Helm and TAL Noisemaker - to build because they both depend upon JUCE and it seems JUCE doesn’t support FreeBSD yet.
Here is a github ticket detailing my struggles so far in getting JUCE/helm to build under TrueOS:
opened 09:28PM - 29 Jun 17 UTC
I have been running TrueOS as my main OS for the last few weeks and I'm liking i… t a lot. I wanted to switch from Linux so I get fully supported ZFS with all its great benefits (mainly boot environments and snapshots) plus, and more relevant for helm, I greatly prefer OSS (the default soundsystem in FreeBSD and TrueOS) to ALSA. It's so much easier to manage and you can easily run JACK alongside PA or other OSS apps. I hear the FreeBSD kernel is more RT safe than Linux is, by default (without special RT patches) at least. It 'just works' more than Linux for me, most notably for audio.
I've already got a recent version of Ardour running nicely under TrueOS with my Focusrite 2i4 USB soundcard, so now it came time to test MIDI and the first app I reached for was helm, of course! I suspect I could be the first to trying to build it under a FreeBSD derivative because the makefile indicates it currently only supports Linux and OSX.
Would you consider adding FreeBSD / TrueOS support Matt? I'm presuming juce will be easy enough to patch for FreeBSD in asking, of course.
Thanks
gmake -C standalone/builds/linux CONFIG=Release DEBCXXFLAGS="" DEBLDFLAGS=""
gmake[1]: Entering directory '/usr/home/dan/src/helm/standalone/builds/linux'
Compiling juce_audio_devices.cpp
In file included from ../../../JUCE/modules/juce_audio_devices/juce_audio_devices.cpp:40:
In file included from ../../../JUCE/modules/juce_audio_devices/juce_audio_devices.h:28:
In file included from ../../../JUCE/modules/juce_audio_devices/../juce_events/juce_events.h:29:
In file included from ../../../JUCE/modules/juce_audio_devices/../juce_events/../juce_core/juce_core.h:137:
In file included from ../../../JUCE/modules/juce_audio_devices/../juce_events/../juce_core/native/juce_BasicNativeHeaders.h:171:
/usr/include/sys/dir.h:39:2: warning: "The information in this file should be obtained from <dirent.h>" [-W#warnings]
#warning "The information in this file should be obtained from <dirent.h>"
^
/usr/include/sys/dir.h:40:2: warning: "and is provided solely (and temporarily) for backward compatibility." [-W#warnings]
#warning "and is provided solely (and temporarily) for backward compatibility."
^
In file included from ../../../JUCE/modules/juce_audio_devices/juce_audio_devices.cpp:40:
In file included from ../../../JUCE/modules/juce_audio_devices/juce_audio_devices.h:28:
In file included from ../../../JUCE/modules/juce_audio_devices/../juce_events/juce_events.h:29:
In file included from ../../../JUCE/modules/juce_audio_devices/../juce_events/../juce_core/juce_core.h:137:
../../../JUCE/modules/juce_audio_devices/../juce_events/../juce_core/native/juce_BasicNativeHeaders.h:173:11: fatal error: 'sys/vfs.h' file not found
#include <sys/vfs.h>
^~~~~~~~~~~
2 warnings and 1 error generated.
gmake[1]: *** [Makefile:733: build/intermediate/Release/juce_audio_devices_2d9302c9.o] Error 1
gmake[1]: Leaving directory '/usr/home/dan/src/helm/standalone/builds/linux'
gmake: *** [Makefile:35: standalone] Error 2
Has anyone here already been successful in getting JUCE to build and run under FreeBSD or TrueOS?
Would the JUCE devs accept patches for FreeBSD support if they were offered?
Thanks
jules
July 17, 2017, 11:32am
2
Of course! (…assuming they weren’t too major!)