I am getting an error while compiling juce_amalgamated on ubuntu-9.10. It compiles fine on ubuntu-9.04. Below is the error, can you guys help me fix it.
juce_amalgamated.cpp: In member function ‘virtual juce::AudioIODevice* juce::ALSAAudioIODeviceType::createDevice(const juce::String&, const juce::String&)’:
juce_amalgamated.cpp:258676: error: invalid operands of types ‘<unresolved overloaded function type>’ and ‘int’ to binary ‘operator>=’
In file included from juce_LibrarySource.cpp:12:
$ 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)