[Csnd] Cabbage on Ubuntu?
Date | 2012-10-23 08:56 |
From | René Jopi |
Subject | [Csnd] Cabbage on Ubuntu? |
Hi List, Does somebody success in using Cabbage on Ubuntu 12.04 64bits? Thanks René |
Date | 2012-10-23 08:59 |
From | Rory Walsh |
Subject | Re: [Csnd] Cabbage on Ubuntu? |
I have it running with Ubuntu 11.04, I can try to upgrade to 12.04 and see if I can build there. What problems are you having? On 23 October 2012 08:56, René Jopi |
Date | 2012-10-23 10:35 |
From | René Jopi |
Subject | Re: [Csnd] Cabbage on Ubuntu 64bits? |
Hi Rory, Csound doubles is installed: csound 1.5.17.6 and libcsound64-dev from ubuntu 64bit repository Have replaced all the paths "/usr/local/include/csound" I found by "/usr/include/csound" in the four makefile All dependencies are installed. I run ./buildCabbage and have some errors like this: Compiling CabbageMainPanel.cpp In file included from ../../Source/CabbageMainPanel.cpp:21:0: ../../Source/CabbageMainPanel.h:63:21: error: ‘>>’ should be ‘> >’ within a nested template argument list After making changes in sources as requested (>> to > >), the things compile. Run ./Cabbage: moi@Linux:~/cabbage/Builds/Linux/build$ ./Cabbage JUCE v2.0.25 virtual_keyboard real time MIDI plugin for Csound PortMIDI real time MIDI plugin for Csound PortAudio real-time audio module for Csound Welcome to Cabbage ALSA device: hw:NVidia,3 outs=2-8 ins=0-0 rates=7 ALSA device: hw:NVidia,7 outs=2-8 ins=0-0 rates=7 ALSA device: hw:NVidia,8 outs=2-8 ins=0-0 rates=7 ALSA device: hw:NVidia,9 outs=2-8 ins=0-0 rates=7 ALSA device: hw:M2496,0 outs=10-10 ins=12-12 rates=6 Failed to create typeface: Helvetica; 16.0 Bold At this stage if I want to Open Cabbage Instrument (same for any instrument) Change the Audio Settings I get this error and Cabbage freeze JUCE Assertion failure in ../../Source/Plugin/../../JuceLibraryCode/modules/juce_audio_basics/buffers/juce_AudioSampleBuffer.h, line 143 Hope this help, Thanks, René Le 23/10/2012 09:59, Rory Walsh a écrit : > I have it running with Ubuntu 11.04, I can try to upgrade to 12.04 and > see if I can build there. What problems are you having? > > On 23 October 2012 08:56, René Jopi |
Date | 2012-10-23 12:04 |
From | Nil Geisweiller |
Subject | Re: [Csnd] Cabbage on Ubuntu 64bits? |
Hi René, > and have some errors like this: > Compiling CabbageMainPanel.cpp > In file included from ../../Source/CabbageMainPanel.cpp:21:0: > ../../Source/CabbageMainPanel.h:63:21: error: ‘>>’ should be ‘> >’ within a > nested template argument list What version of gcc are you running? It seems not to support C++11 syntactic fix >>. > JUCE Assertion failure in > ../../Source/Plugin/../../JuceLibraryCode/modules/juce_audio_basics/buffers/juce_AudioSampleBuffer.h, > line 143 Sorry can't help on that. Nil |
Date | 2012-10-23 13:48 |
From | René Jopi |
Subject | Re: [Csnd] Cabbage on Ubuntu 64bits? |
Hi Nil,
My gcc version is 4.6.3. The error was given by line like this one: Array<Rectangle<int>> childBounds; changed to Array<Rectangle<int> > childBounds; Regards, René Le 23/10/2012 13:04, Nil Geisweiller a écrit : Hi René,and have some errors like this: Compiling CabbageMainPanel.cpp In file included from ../../Source/CabbageMainPanel.cpp:21:0: ../../Source/CabbageMainPanel.h:63:21: error: ‘>>’ should be ‘> >’ within a nested template argument listWhat version of gcc are you running? It seems not to support C++11 syntactic fix >>.JUCE Assertion failure in ../../Source/Plugin/../../JuceLibraryCode/modules/juce_audio_basics/buffers/juce_AudioSampleBuffer.h, line 143Sorry can't help on that. Nil Send bugs reports to the Sourceforge bug tracker https://sourceforge.net/tracker/?group_id=81968&atid=564599 Discussions of bugs and features can be posted here To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" |
Date | 2012-10-23 14:02 |
From | Rory Walsh |
Subject | Re: [Csnd] Cabbage on Ubuntu 64bits? |
I'm just upgrading my Ubuntu. It's going to take some time however! I'll report back when I'm upgraded. On 23 October 2012 13:48, René Jopi |
Date | 2012-10-23 14:38 |
From | René Jopi |
Subject | Re: [Csnd] Cabbage on Ubuntu 64bits? |
Hi Victor,
Thanks for the link Have downloaded the complete juce sources, compiled and run jucedemo. The audio demo and other test run fine. René Le 23/10/2012 13:18, Victor Lazzarini a écrit : This seems to have been reported before: |
Date | 2012-10-23 16:26 |
From | Rory Walsh |
Subject | Re: [Csnd] Cabbage on Ubuntu 64bits? |
Grand. I'm still updating! On 23 October 2012 14:38, René Jopi |
Date | 2012-10-23 21:52 |
From | Rory Walsh |
Subject | Re: [Csnd] Cabbage on Ubuntu 64bits? |
Hi Rene. Can you try replacing line 723CabbagePluginProcessor.cpp, i.e, audioBuffer = buffer.getSampleData(channel,0); with audioBuffer = 0; The call to getSampleData() seems to be causing a problem. Note that this will not resolve the problem, but if it still crashes after this then I know the problem is elsewhere. Rory. p.s. I have a 64bit machine at my disposal, I just haven't got around to putting Linux on it yet but if we can't sort something out I will bite the bullet and do an install.. |
Date | 2012-10-24 14:16 |
From | René Jopi |
Subject | Re: [Csnd] Cabbage on Ubuntu 64bits? |
Hi Rory, "audioBuffer = buffer.getSampleData(channel,0);" is in line 740 and 764, file CabbagePluginProcessor.cpp still have same error when changing one or both lines René Le 23/10/2012 22:52, Rory Walsh a écrit : > Hi Rene. Can you try replacing line 723CabbagePluginProcessor.cpp, i.e, > > audioBuffer = buffer.getSampleData(channel,0); > > with > > audioBuffer = 0; > > The call to getSampleData() seems to be causing a problem. Note that > this will not resolve the problem, but if it still crashes after this > then I know the problem is elsewhere. > > Rory. > > p.s. I have a 64bit machine at my disposal, I just haven't got around > to putting Linux on it yet but if we can't sort something out I will > bite the bullet and do an install.. > > > Send bugs reports to the Sourceforge bug tracker > https://sourceforge.net/tracker/?group_id=81968&atid=564599 > Discussions of bugs and features can be posted here > To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" > |
Date | 2012-10-24 14:49 |
From | Rory Walsh |
Subject | Re: [Csnd] Cabbage on Ubuntu 64bits? |
Ok, can you try simply commenting out the entire processBlock (AudioSampleBuffer& buffer, MidiBuffer& midiMessages) function? Rebuild and see if the error persists. Thanks. I'm just downloading 64bit Ubuntnu now. It'll take a while. On 24 October 2012 14:16, René Jopi |
Date | 2012-10-24 16:09 |
From | René Jopi |
Subject | Re: [Csnd] Cabbage on Ubuntu 64bits? |
I "empty" the function CabbagePluginAudioProcessor::processBlock and recompile, now i can open instruments, set audio and audio test is making a sound. René Le 24/10/2012 15:49, Rory Walsh a écrit : > Ok, can you try simply commenting out the entire processBlock > (AudioSampleBuffer& buffer, MidiBuffer& midiMessages) function? > Rebuild and see if the error persists. Thanks. I'm just downloading > 64bit Ubuntnu now. It'll take a while. > > > > On 24 October 2012 14:16, René Jopi |
Date | 2012-10-24 16:26 |
From | Rory Walsh |
Subject | Re: [Csnd] Cabbage on Ubuntu 64bits? |
Ok. So we know the problem is there. Ubuntu 64 is almost downloaded here! By the way, do you build Csound yourself, or do you use a pre built Linux package? On 24 October 2012 16:09, René Jopi |
Date | 2012-10-24 18:58 |
From | René Jopi |
Subject | Re: [Csnd] Cabbage on Ubuntu 64bits? |
Normally I always compile Csound and CsoundQt. But I never install csound because it is easer for me to keep several version of it. But to build Cabbage I have installed csound with apt (or synaptic) because I don't success to build with a local csound. My csound deb are: csound version 1.5.17.6 libcsnd5.2 libcsnd-dev libcsound64-5.2 libcsound64-dev Hope this help René Le 24/10/2012 17:26, Rory Walsh a écrit : > Ok. So we know the problem is there. Ubuntu 64 is almost downloaded > here! By the way, do you build Csound yourself, or do you use a pre > built Linux package? > > On 24 October 2012 16:09, René Jopi |
Date | 2012-10-24 19:11 |
From | Rory Walsh |
Subject | Re: [Csnd] Cabbage on Ubuntu 64bits? |
I'm just about to try building now. I hope I can recreate the error.. On 24 October 2012 18:58, René Jopi |
Date | 2012-10-24 19:29 |
From | Rory Walsh |
Subject | Re: [Csnd] Cabbage on Ubuntu 64bits? |
Where are the csound header files installed when one grabs Csound using apt-get? I can't seem to locate them? Are they included in the distro? On 24 October 2012 18:58, René Jopi |
Date | 2012-10-24 19:41 |
From | René Jopi |
Subject | Re: [Csnd] Cabbage on Ubuntu 64bits? |
They are in /usr/include/csound, after installing libcsound64-dev and libcsnd-dev Le 24/10/2012 20:29, Rory Walsh a écrit : > Where are the csound header files installed when one grabs Csound > using apt-get? I can't seem to locate them? Are they included in the > distro? > > On 24 October 2012 18:58, René Jopi |
Date | 2012-10-24 19:51 |
From | Rory Walsh |
Subject | Re: [Csnd] Cabbage on Ubuntu 64bits? |
thanks! On 24 October 2012 19:41, René Jopi |
Date | 2012-10-24 21:35 |
From | Rory Walsh |
Subject | Re: [Csnd] Cabbage on Ubuntu 64bits? |
I managed to build it here, and I can open the audio settings without any problem. But then the fun starts. Hmm...this could take a while.. |
Date | 2012-10-24 22:09 |
From | Rory Walsh |
Subject | Re: [Csnd] Cabbage on Ubuntu 64bits? |
So the good news is that in 12.10 one can build and then open and edit the audio settings without any issues. The bad news is there I found a bug regarding open file dialogues. I'll keep at it. I posted a message to the Juce users forum, it seems it's a known issue. On 24 October 2012 21:35, Rory Walsh |
Date | 2012-10-26 09:47 |
From | René Jopi |
Subject | Re: [Csnd] Cabbage on Ubuntu 64bits? |
Thanks and sorry I can't help in deep René Le 24/10/2012 23:09, Rory Walsh a écrit : > So the good news is that in 12.10 one can build and then open and edit > the audio settings without any issues. The bad news is there I found a > bug regarding open file dialogues. I'll keep at it. I posted a message > to the Juce users forum, it seems it's a known issue. > > On 24 October 2012 21:35, Rory Walsh |