Git Product home page Git Product logo

iced-baseplug-examples's People

Contributors

billydm avatar joshuapostel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

joshuapostel

iced-baseplug-examples's Issues

SIGABRT on OS X

On opening the plugin GUI a SIGABRT causes the plugin and plugin host to crash.

Debugging this issue a little the crash happens when polling the run_instance within on_frame. It happens on the 2nd time it calls poll. Within this context the actual crash happens with the event loop in run_instance and specificly on handlgin the RuntimeEvent::OnFrame and more percisely the call in the term:

let new_mouse_interaction = compositor.draw(
                        &mut renderer,
                        &mut swap_chain,
                        state.viewport(),
                        state.background_color(),
                        &primitive,
                        &debug.overlay(),
                    );

Doesn't compile

I tried cargo +nightly build --package gain --release and got error:

error[E0046]: not all trait items implemented, missing: `ui_param_notify`
  --> gain/src/lib.rs:74:1
   |
74 | impl baseplug::PluginUI for Gain {
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `ui_param_notify` in implementation
   |
   = help: implement the missing item: `fn ui_param_notify(_: &<Self as PluginUI>::Handle, _: &'static baseplug::Param<Self, <<Self as Plugin>::Model as Model<Self>>::Smooth>, _: f32) { todo!() }`

error[E0277]: the trait bound `RawWindowHandle: HasRawWindowHandle` is not satisfied
  --> gain/src/lib.rs:91:64
   |
91 |         iced_baseview::IcedWindow::<ui::GainUI>::open_parented(&parent, settings);
   |                                                                ^^^^^^^ the trait `HasRawWindowHandle` is not implemented for `RawWindowHandle`
   |
   = note: required by `IcedWindow::<A>::open_parented`

error: aborting due to 2 previous errors

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.