Compile Issues on Ubuntu Edgy


#1

Trying to get this to run on Ubuntu EdgyEft. I get a compile issue when it gets to the audio stuff.

Is this something with my setup or juce? Any ideas on how to get it running?

./runpremake Generating GNU makefiles: ...JUCE make clean
Cleaning JUCE
make ==== Building JUCE ==== juce_FileLogger.cpp juce_Logger.cpp juce_Random.cpp juce_RelativeTime.cpp juce_SystemStats.cpp juce_Time.cpp juce_BlowFish.cpp juce_MD5.cpp juce_Primes.cpp juce_RSAKey.cpp juce_BitArray.cpp juce_MemoryBlock.cpp juce_PropertySet.cpp juce_InputStream.cpp juce_OutputStream.cpp juce_DirectoryIterator.cpp juce_File.cpp juce_FileInputStream.cpp juce_FileOutputStream.cpp juce_FileSearchPath.cpp juce_NamedPipe.cpp juce_Socket.cpp juce_URL.cpp juce_BufferedInputStream.cpp juce_GZIPCompressorOutputStream.cpp juce_GZIPDecompressorInputStream.cpp juce_MemoryInputStream.cpp juce_MemoryOutputStream.cpp juce_SubregionStream.cpp adler32.c compress.c crc32.c deflate.c infback.c inffast.c inflate.c inftrees.c trees.c uncompr.c zutil.c juce_PerformanceCounter.cpp juce_Uuid.cpp juce_ZipFile.cpp juce_CharacterFunctions.cpp juce_LocalisedStrings.cpp juce_String.cpp juce_StringArray.cpp juce_StringPairArray.cpp juce_XmlDocument.cpp juce_XmlElement.cpp juce_InterProcessLock.cpp juce_ReadWriteLock.cpp juce_Thread.cpp juce_ThreadPool.cpp juce_TimeSliceThread.cpp juce_Application.cpp juce_ApplicationCommandInfo.cpp juce_ApplicationCommandManager.cpp juce_ApplicationCommandTarget.cpp juce_DeletedAtShutdown.cpp juce_PropertiesFile.cpp juce_AudioDataConverters.cpp juce_AudioSampleBuffer.cpp juce_IIRFilter.cpp juce_MidiBuffer.cpp juce_MidiFile.cpp juce_MidiKeyboardState.cpp juce_MidiMessage.cpp juce_MidiMessageCollector.cpp juce_MidiMessageSequence.cpp juce_AiffAudioFormat.cpp juce_AudioCDReader.cpp juce_AudioFormat.cpp juce_AudioFormatManager.cpp juce_AudioSubsectionReader.cpp juce_FlacAudioFormat.cpp juce_OggVorbisAudioFormat.cpp juce_WavAudioFormat.cpp juce_AudioFormatReaderSource.cpp juce_AudioSourcePlayer.cpp juce_AudioTransportSource.cpp juce_BufferingAudioSource.cpp juce_IIRFilterAudioSource.cpp In file included from ../../src/juce_appframework/audio/audio_sources/juce_IIRFilterAudioSource.cpp:36: ../../src/juce_appframework/audio/audio_sources/juce_IIRFilterAudioSource.h:37:59: error: ../../../juce_core/containers/juce_OWnedArray.h: No such file or directory ../../src/juce_appframework/audio/audio_sources/juce_IIRFilterAudioSource.h:78: error: ISO C++ forbids declaration of ‘OwnedArray’ with no type ../../src/juce_appframework/audio/audio_sources/juce_IIRFilterAudioSource.h:78: error: expected ‘;’ before ‘<’ token ../../src/juce_appframework/audio/audio_sources/juce_IIRFilterAudioSource.cpp: In constructor ‘juce::IIRFilterAudioSource::IIRFilterAudioSource(juce::AudioSource*, bool)’: ../../src/juce_appframework/audio/audio_sources/juce_IIRFilterAudioSource.cpp:47: error: ‘iirFilters’ was not declared in this scope ../../src/juce_appframework/audio/audio_sources/juce_IIRFilterAudioSource.cpp: In member function ‘void juce::IIRFilterAudioSource::setFilterParameters(const juce::IIRFilter&)’: ../../src/juce_appframework/audio/audio_sources/juce_IIRFilterAudioSource.cpp:59: error: ‘iirFilters’ was not declared in this scope ../../src/juce_appframework/audio/audio_sources/juce_IIRFilterAudioSource.cpp: In member function ‘virtual void juce::IIRFilterAudioSource::prepareToPlay(int, double)’: ../../src/juce_appframework/audio/audio_sources/juce_IIRFilterAudioSource.cpp:68: error: ‘iirFilters’ was not declared in this scope ../../src/juce_appframework/audio/audio_sources/juce_IIRFilterAudioSource.cpp: In member function ‘virtual void juce::IIRFilterAudioSource::getNextAudioBlock(const juce::AudioSourceChannelInfo&)’: ../../src/juce_appframework/audio/audio_sources/juce_IIRFilterAudioSource.cpp:83: error: ‘iirFilters’ was not declared in this scope ../../src/juce_appframework/audio/audio_sources/juce_IIRFilterAudioSource.cpp:87: error: ‘iirFilters’ was not declared in this scope make[1]: *** [../../bin/intermediate_linux/Debug/juce_IIRFilterAudioSource.o] Error 1 make: *** [JUCE] Error 2


#2

Here lie dragons…

Edit juce/src/juce_appframework/audio/audio_sources/juce_IIRFilterAudioSource.h

so that the #include of juce_OWnedArray.h does not have the capitalised W ie it should read…


#3