mtytel / helm

Helm - a free polyphonic synth with lots of modulation
http://tytel.org/helm
GNU General Public License v3.0
2.36k stars 200 forks source link

Build fails when Xinerama headers are not present #169

Open simonvanderveldt opened 6 years ago

simonvanderveldt commented 6 years ago

Similar to #61 compilation currently fails when the Xinerama header files are not present.

In #61 you mentioned the following

Hmmm. Apparently Xrandr.h is needed for some multimonitor linux support. If you need to build without Xrandr.h you can pass this command line flag into the build -D JUCE_USE_XRANDR=0 and it should build without it.

This would be the same for Xinerama , just using JUCE_USE_XINERAMA instead of JUCE_USE_XRANDR.

But how to pass this command line flag? Passing to make doesn't work, since it's not exposed within the Makefiles. Would I need to patch the Makefiles and add it to JUCE_CPPFLAGS?

Since Xrandr has pretty much replaced Xinerama it might make sense to just straight up disable Xinerama by default though. What do you think?