Giter Club home page Giter Club logo

Comments (4)

YLB-YLB avatar YLB-YLB commented on July 30, 2024

Well, I've tried all of the plugins and each time I get the same error when compiling:
cannot convert β€˜std::atomic<float>*’ to β€˜float*’ in assignment [...]
Each time it is related to this kind of line:
[parameter name] = vts.getRawParameterValue ("[parameter name]")

Could it be a problem with my Juce version?

from complexnonlinearities.

jatinchowdhury18 avatar jatinchowdhury18 commented on July 30, 2024

Hi @YLB-YLB,

Yes, the plugins in this repo were developed with JUCE v5.4.4. I believe the breaking change that causes this compilaton error was introduced in v5.4.6.

Probably the easiest fix is to download an earlier version of JUCE from their GitHub page: https://github.com/juce-framework/JUCE/tree/5.4.4

Alternatively, if you prefer to patch it yourself, you could change any instance of
float* paramHandle to std::atomic<float>* paramHandle. Any corresponding instances of *paramHandle should be changed to paramHandle->load().

Let me know if this works for you, I'm happy to help you get this working, with whatever method you choose.

In the future, I'll be sure to specify the version of JUCE in the README.

Thanks,
Jatin

from complexnonlinearities.

YLB-YLB avatar YLB-YLB commented on July 30, 2024

Thanks for pointing exactly what was wrong on my side!
I'll get JUCE 5.4.4 and give it a try to make these plugins compile without errors for JUCE v6.0.1. I already got 4 of them working by simply swapping float* to std::atomic<float>*. If you give me some time I could push you a v6.0.1 branch (or whatever name suits you) with the corresponding commits :)

from complexnonlinearities.

jatinchowdhury18 avatar jatinchowdhury18 commented on July 30, 2024

Closing as the repository has now been upgraded for JUCE 6

from complexnonlinearities.

Related Issues (3)

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.