Open Bastrabun opened 1 year ago
Might relate to #431
This is a JUCE bug. This occurs regularly when new version of gcc pop.
I have a patch here: https://github.com/flathub/flathub/pull/4690/files#diff-2bb306d563eb3ad56d8c1e54fc45d9e85b4638901c18ec631b466e9a216ceb37
Describe the bug Failed to build juceaide
To Reproduce Steps to reproduce the behavior: prereq: debian testing
Expected behavior
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
user@vm-511:~/projects/voicechanger/odin2$ cmake -B build -D CMAKE_BUILD_TYPE=Release -- The C compiler identification is GNU 12.2.0 -- The CXX compiler identification is GNU 12.2.0 -- The ASM compiler identification is GNU -- Found assembler: /usr/bin/cc -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2") -- Checking for module 'alsa' -- Found alsa, version 1.2.7.2 -- Checking for module 'freetype2' -- Found freetype2, version 24.3.18 -- Checking for module 'libcurl' -- Found libcurl, version 7.85.0 -- Checking for modules 'webkit2gtk-4.0;gtk+-x11-3.0' -- Found webkit2gtk-4.0, version 2.38.0 -- Found gtk+-x11-3.0, version 3.24.34 -- Configuring juceaide -- Building juceaide CMake Error at libs/JUCELV2/extras/Build/juceaide/CMakeLists.txt:92 (message): Failed to build juceaide
[ 12%] Building CXX object extras/Build/juceaide/CMakeFiles/juceaide.dir/Main.cpp.o
In file included from /home/user/projects/voicechanger/odin2/libs/JUCELV2/modules/juce_gui_basics/juce_gui_basics.h:270,
/home/user/projects/voicechanger/odin2/libs/JUCELV2/modules/juce_gui_basics/windows/juce_ComponentPeer.h: In member function ‘void juce::ComponentPeer::setAppStyle(Style)’:
/home/user/projects/voicechanger/odin2/libs/JUCELV2/modules/juce_gui_basics/windows/juce_ComponentPeer.h:442:18: error: ‘exchange’ is not a member of ‘std’
gmake[2]: *** [extras/Build/juceaide/CMakeFiles/juceaide.dir/build.make:76: extras/Build/juceaide/CMakeFiles/juceaide.dir/Main.cpp.o] Fehler 1
gmake[1]: *** [CMakeFiles/Makefile2:131: extras/Build/juceaide/CMakeFiles/juceaide.dir/all] Fehler 2
gmake: *** [Makefile:136: all] Fehler 2
-- Configuring incomplete, errors occurred!