Giter Site home page Giter Site logo

Comments (4)

baloe avatar baloe commented on July 20, 2024

ok, so one has to cd into /Builds/LinuxMakefile first,
but then I get

Compiling AudioSettings.cpp
In file included from ../../Source/OutputComponent.h:23,
                 from ../../Source/AudioSettings.cpp:22:
../../Source/../JuceLibraryCode/JuceHeader.h:17:10: fatal error: juce_core/juce_core.h: No such file or directory
   17 | #include <juce_core/juce_core.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:103: build/intermediate/Debug/AudioSettings_52f030fa.o] Error 1

from wtconfig.

baloe avatar baloe commented on July 20, 2024

next, you have to set the path to juce within the Makefile correctly, see #1

from wtconfig.

baloe avatar baloe commented on July 20, 2024

But then I still encounter

Compiling AudioSettings.cpp
In file included from /usr/share/juce/modules/juce_core/system/juce_StandardHeader.h:77,
                 from /usr/share/juce/modules/juce_core/juce_core.h:229,
                 from ../../Source/../JuceLibraryCode/JuceHeader.h:17,
                 from ../../Source/OutputComponent.h:23,
                 from ../../Source/AudioSettings.cpp:22:
/usr/share/juce/modules/juce_core/system/juce_CompilerSupport.h:91:3: error: #error "JUCE requires C++14 or later"
   91 |  #error "JUCE requires C++14 or later"
      |   ^~~~~

which is resolved by setting

  JUCE_CXXFLAGS += $(JUCE_CFLAGS) -std=c++14 $(CXXFLAGS)

in line 41 of the Makefile.

from wtconfig.

baloe avatar baloe commented on July 20, 2024

Now we get a great bunch of deprecation errors like

   33 | class [[deprecated]] ScopedPointer
      |                      ^~~~~~~~~~~~~
../../Source/TriggerSettings.h:99:5: warning: ‘template<class ObjectType> class juce::ScopedPointer’ is deprecated [-Wdeprecated-declarations]
   99 |     ScopedPointer<TextButton> addButton;
      |     ^~~~~~~~~~~~~

but also an error:

/usr/share/juce/modules/juce_core/memory/juce_ScopedPointer.h:33:22: note: declared here
   33 | class [[deprecated]] ScopedPointer
      |                      ^~~~~~~~~~~~~
../../Source/MainComponent.cpp:275:75: error: no matching function for call to ‘juce::ScopedPointer<juce::XmlElement>::ScopedPointer(std::unique_ptr<juce::XmlElement>)’
  275 |         ScopedPointer<XmlElement> mainElement(initDoc.getDocumentElement());

from wtconfig.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.