Coder Social home page Coder Social logo

attempt to call a nil value about squeezer HOT 6 CLOSED

mzuther avatar mzuther commented on June 2, 2024
attempt to call a nil value

from squeezer.

Comments (6)

mzuther avatar mzuther commented on June 2, 2024

I need much more information (version numbers, premake5.lua after rendering etc.) to help you with this (if I can at all).

Most importantly, are you using premake 5.0.0 (alpha14)?

from squeezer.

magnetophon avatar magnetophon commented on June 2, 2024

I was using alpha12.
Trying to build alpha14 atm.

from squeezer.

magnetophon avatar magnetophon commented on June 2, 2024

I get further, but now I get: error: no match for 'operator='
Some more context:

compressor.cpp
include_frut_audio.cpp
include_frut_dsp.cpp
In file included from ../../../Source/frut/amalgamated/include_frut_dsp.cpp:35:
../../../Source/frut/amalgamated/../dsp/filter_chebyshev.cpp: In
   member function 'void
   frut::dsp::FilterChebyshev::testAlgorithm(bool)':
../../../Source/frut/amalgamated/../dsp/filter_chebyshev.cpp:106:12: warning: variable
   'RelativeCutoffFrequency' set but not used [
   -Wunused-but-set-variable]
  106 |     double RelativeCutoffFrequency;
      |            ^~~~~~~~~~~~~~~~~~~~~~~
include_frut_math.cpp
include_frut_parameters.cpp
include_frut_skin.cpp
In file included from ../../../Source/frut/amalgamated/include_frut_skin.cpp:33:
../../../Source/frut/amalgamated/../skin/skin.cpp: In member
   function 'bool frut::skin::Skin::loadFromXml(const juce::File&,
   const juce::String&, const juce::String&)':
../../../Source/frut/amalgamated/../skin/skin.cpp:57:44: error: no
   match for 'operator=' (operand types are
   'juce::ScopedPointer<juce::XmlElement>' and
   'std::unique_ptr<juce::XmlElement>')
   57 |     document_ = XmlDocument::parse(skinFile);
      |                                            ^
In file included from ../../../libraries/juce/modules/juce_core/juce_core.h:242,
                 from ../../../libraries/juce/modules/juce_audio_basics/juce_audio_basics.h:53,
                 from ../../../JuceLibraryCode/JuceHeader.h:17,
                 from ../../../Source/frut/amalgamated/../FrutHeader.h:30,
                 from ../../../Source/frut/amalgamated/include_frut_skin.cpp:30:
../../../libraries/juce/modules/juce_core/memory/juce_ScopedPointer.h:58:20: note: candidate:
   'juce::ScopedPointer<ObjectType>&
   juce::ScopedPointer<ObjectType>::operator=(juce::ScopedPointer<ObjectType>&)
   [with ObjectType = juce::XmlElement]'
   58 |     ScopedPointer& operator= (ScopedPointer& objectToTra
nsferFrom)
      |                    ^~~~~~~~
../../../libraries/juce/modules/juce_core/memory/juce_ScopedPointer.h:58:46: note:
    no known conversion for argument 1 from
   'std::unique_ptr<juce::XmlElement>' to
   'juce::ScopedPointer<juce::XmlElement>&'
   58 |     ScopedPointer& operator= (ScopedPointer& objectToTransferF
rom)
      |                               ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
~~~~~~
../../../libraries/juce/modules/juce_core/memory/juce_ScopedPointer.h:71:20: note: candidate:
   'juce::ScopedPointer<ObjectType>&
   juce::ScopedPointer<ObjectType>::operator=(ObjectType*) [with ObjectType =
   juce::XmlElement]'
   71 |     ScopedPointer& operator= (ObjectType* newObjectToTak
ePossessionOf)
      |                    ^~~~~~~~
../../../libraries/juce/modules/juce_core/memory/juce_ScopedPointer.h:71:43: note:
    no known conversion for argument 1 from
   'std::unique_ptr<juce::XmlElement>' to
   'juce::XmlElement*'
   71 |     ScopedPointer& operator= (ObjectType* newObjectToTakePosse
ssionOf)
      |                               ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
~~~~~~~~~~
../../../libraries/juce/modules/juce_core/memory/juce_ScopedPointer.h:82:20: note: candidate:
   'juce::ScopedPointer<ObjectType>&
   juce::ScopedPointer<ObjectType>::operator=(juce::ScopedPointer<ObjectType>&&)
   [with ObjectType = juce::XmlElement]'
   82 |     ScopedPointer& operator= (ScopedPointer&& other) noe
xcept
      |                    ^~~~~~~~ 

from squeezer.

mzuther avatar mzuther commented on June 2, 2024

Hi Bart,

I am currently occupied with bug reports and improvements to my plug-ins, so I cannot help you unless you

  • first check with the manual that you have at least the required versions for each tool
  • report the version of each tool
  • report your system version and "bit-ness"
  • describe exactly what you were doing

Everything compiles fine (64 bit on current Linux Mint) with either clang version 6.0.0 and g++ 7.5.0.

Martin

from squeezer.

mzuther avatar mzuther commented on June 2, 2024

I have just updated the issue tracker. If you create a new issue, it will ask you for most information that I need. So maybe it's easiest if you create a new issue and we'll close this one...

from squeezer.

magnetophon avatar magnetophon commented on June 2, 2024

Hi Martin.
Thanks, I created a new issue with more details: #6

from squeezer.

Related Issues (18)

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.