Coder Social home page Coder Social logo

Comments (4)

GezzMC avatar GezzMC commented on May 22, 2024

Fortunately, glasswire.com had installed Microsoft Visual C++ 2015 Redistributable (x86) - 14.0.24212, because when I uninstalled it, 32-bit Protoplug quit working in REAPER. However, REAPER could still see the VST and would load it without the C++ Redistributable being installed; it just wouldn't work. I installed and uninstalled several times.

I play close attention to when something installs a C++ Redistributable, because I've had lots of programs work only because something else had installed the needed C++ Redistributable.

I installed Microsoft Visual C++ 2015 Redistributable (x64) - 14.0.24212, but that didn't make any difference with 64-bit Protoplug. REAPER wouldn't display it in the list of VSTs.

If you're taking requests, it would be nice if the VST are distributed with the necessary C++ Redistributable DLLs. Some applications includes files like msvcp140.dll, but I don't about all that, why some apps do, and some apps don't.

Nothing's obvious about Microsoft Visual C++ 2015 Redistributable. Old versions come up first in searches, and Microsoft download pages never display the version. Somewhere I got 14.0.24212in the past, but the Glasswire today installed 14.0.23026.

from protoplug.

GezzMC avatar GezzMC commented on May 22, 2024

So the 64-bit LMMS DAW will load the 64-bit Protoplug, and it allows the VST to report it's error, after I install 64-bit Microsoft Visuall C++ Redistributable. I finally found where to get the latest version:

https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads

This is the error:

28:33 - Error: Could not load lua51.dll. Tried
E:\(0)\A_1\!muz\bin\!vst\protoplug-1.4.0-win64\ProtoplugFiles\lib\lua51.dll and system path.

The path to the file is correct.

32-bit Protoplug works in LMMS, sort of. The LMMS window that contains the Protoplug window isn't resizable, so I guess it's blocking user inpurt. The Protoplug menu bar items, File, Edit, Build, View, and Help don't do anything.

The bigger problem is that on reload of the LMMS project, the Protoplug window shows the default script code, rather than the last script that was compiled, even though you can hear the effect that was pasted into the window.

Big plans are always derailed because music software is all a big kludge, with massive unknowns. No one's fault in particular.

Thanks.

from protoplug.

GezzMC avatar GezzMC commented on May 22, 2024

There are no problems, only workarounds. The 32-bit version works good enough, most likely.

from protoplug.

pac-dev avatar pac-dev commented on May 22, 2024

Thanks for the feedback and problem solving.

I am open to distributing the plugin with the required DLLs, however, it's not necessarily an easy fix. The DLLs normally need to be installed in a system folder, or placed along side the host executable (so users would have to copy msvcp140.dll to their REAPER program folder, for example), which would make the installation process even more complicated. There are options:

  • Provide an (optional) installer that ensures all the dependencies are there.
  • Have the runtime DLL in ProtoplugFiles and do something sneaky to load it on the fly when the plugin is loaded. That's what I'm already doing with the Lua DLL, but this would be harder, because all of my code apparently already relies on the runtime DLL... So I need a staged loading system. I kind of like the challenge so I'll look into it.

from protoplug.

Related Issues (20)

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.