Yes I did that.
Building Cabbage again/Juce version
The build/intermediate/Release folder has files from today
Under LinuxMakeFile I started Cabbage.desktop and that run, but with the error in my file I described. BTW, other csd’s run OK, so maybe it is a corruption in my specific csd…
BTW, I am using a recent dev branch all the time…
I’ve no idea what you get these warnings. If you are running the Cabbage you built yourself then there shouldn’t be any such warning. Comments out these lines from the buildCabbage script:
Comment out this line too:
Then rerun buildCabbage. That should build everything it can and place it into the install folder. You should be able to run Cabbage from there. Simply cd in the command line to that folder and run ./Cabbage
Let me know what happens. (it might be ./cabbage
, I’m not sure)
There is no Cabbage file in the install folder, only Cabbage.Desktop, but that is from yesterday.
In install/Desktop there is a Cabbage.Desktop from today. I can run that by double clicking but the problem with my file remain. BTW this Cabbage.desktop points to /usr/bin/Cabbage
BTW, it looks like a corruption in my specific csd file. When I create a new one it’s ok
It seems to me like the cabbage you are running is the older version. If there is no cabbage binary in the install/bin folder then it wasn’t built.
I ran the build again, redirecting std out and std error to the attached file. You can see that there are some error regarding directories.
Only object files in the ‘intermediate’ dir are created…
outfile.txt (92.5 KB)
My first reply to this thread states you need to use JUCE 5.4.3. One of the first things your error messages tell me is that you are using JUCE 6.0.4.
…we are going around in circles…
Oops, I thought I did that. Now, compiling this version I get some nasty errors:
richard@richard-ESPRIMO-C910:~/JUCE-5.4.3/extras/Projucer/Builds/LinuxMakefile$ sudo make
[sudo] password for richard:
Compiling jucer_AutoUpdater.cpp
In file included from …/…/…/…/modules/juce_graphics/juce_graphics.h:121,
from …/…/…/…/modules/juce_gui_basics/juce_gui_basics.h:57,
from …/…/…/…/modules/juce_analytics/juce_analytics.h:55,
from …/…/JuceLibraryCode/…/JuceLibraryCode/JuceHeader.h:17,
from …/…/Source/Application/…/Application/jucer_Headers.h:29,
from …/…/Source/Application/jucer_AutoUpdater.cpp:27:
…/…/…/…/modules/juce_graphics/colour/juce_PixelFormats.h: In member function ‘juce::uint8& juce::PixelARGB::getAlpha()’:
…/…/…/…/modules/juce_graphics/colour/juce_PixelFormats.h:116:77: error: cannot bind packed field ‘((juce::PixelARGB*)this)->juce::PixelARGB::.juce::PixelARGB::::comps[3]’ to ‘juce::uint8&’ {aka ‘unsigned char&’}
116 | e uint8& getAlpha() noexcept { return comps [indexA]; }
Something is wrong here. The projucer builds out of the box every time.
Try a make clean
and make
once more…
Tried that, the same result…
I got an answer from the JUCE forum that it has to do with the version of GCC I am using (9.3.0)
What are you using?
Here is the answer BTW:
AFAIK, these errors come from building with GCC 9.
You can either cherry-pick https://github.com/juce-framework/JUCE/commit/4e0adb2af8b424c43d22bd431011c9a6c57d36b6 or use an older version of GCC.
I hope this helps!
Ouch. I’m not sure what version I’m using, whatever the distro installed when I ran apt-get build essentials. Is it the same with Juce 5.4.7? Can you try that one?
Could you check the output of gcc --version?
I do not think Juce 5.4.7 would work, since the commit for these fixes for gcc 9.x are for Juce 6.0.4
I manually did the changes in Juce, it now compiles and runs the Projucer.
But Cabbage build gives another error now:
Compiling Soundfiler.cpp
…/…/Source/Utilities/CabbageColourProperty.cpp: In member function ‘virtual void ColourPropertyComponent::mouseDown(const juce::MouseEvent&)’:
…/…/Source/Utilities/CabbageColourProperty.cpp:58:43: error: cannot convert ‘ColourPallete*’ to ‘std::unique_ptrjuce::Component’
58 | CallOutBox::launchAsynchronously (colourSelector, getScreenBounds(), nullptr);
| ^~~~~~~~~~~~~~
| |
| ColourPallete*
Are you using 5.4.7? This is the version that the source in GIT compiles with.
No I was using 5.4.3, will try 5.4.7 now…
Ok, this worked perfectly! I was put on the wrong leg (as we say in Holland) when you said earlier to use 5.4.3…
I now have Cabbage version 2.5.9 running…
Nice. Sorry mentioned 5.4.3 I cost you a little time there. I’m glad you’re up and running now