Ehmm, it may be the same problem I was writing for…
Here is it.
Building the following juce version:
$ git log
commit 405d934e6839ed41aa6caf7ccedc68f3c4557e11
Author: Julian Storer <jules@BigMac.local>
Date: Mon Nov 9 12:00:18 2009 +0000
in this environment:
$ cat /proc/version
Linux version 2.6.31-ARCH (root@architect) (gcc version 4.4.2 (GCC) ) #1 SMP PREEMPT Tue Nov 10 19:48:17 CET 2009
I have the following error:
$ make CONFIG=Release
...
juce_linux_NativeCode.cpp
In file included from ../../src/native/juce_linux_NativeCode.cpp:106:
../../src/native/linux/juce_linux_Audio.cpp: In member function ‘virtual juce::AudioIODevice* juce::ALSAAudioIODeviceType::createDevice(const juce::String&, const juce::String&)’:
../../src/native/linux/juce_linux_Audio.cpp:954: error: invalid operands of types ‘<unresolved overloaded function type>’ and ‘int’ to binary ‘operator>=’
make[1]: *** [../../bin/intermediate_linux/Release/juce_linux_NativeCode.o] Error 1
make: *** [JUCE] Error 2
That I fixed changing a line in function
’AudioIODevice* createDevice’
(juce_linux_Audio.cpp:954 , juce_amalgamated.cpp:258011)
if (index >= 0)
to
if (inputIndex>=0 && outputIndex>=0)
Is it a correct fix?