In Windows 11 Canary using Powershell I tried running following the PluginDevelopmentTutorial.
In the Rack folder when I run commands they do nothing. I can see [helper.py] is installed in the directory and have installed everything from ‘build VCV Rack on windows tutorial video’ below
export RACK_DIR=<C:\msys64\home\m\Rack> export
The term ‘export’ is not recognized as the name of a cmdlet
helper.py createplugin MyPlugin
The term ‘helper.py’ is not recognized as the name of a cmdlet
Suggestion [3,General]: The command [helper.py](javascript:void(0) was not found, but does exist in the current location. Windows PowerShell does not load commands from the current location by default. If you trust this command, instead type: “.[helper.py](javascript:void(0);)”. See “get-help about_Command_Precedence” for more details.
So I run
.\helper.py createplugin MyPlugin and doesn’t do anything
Since you have msys64 in this path I am going to assume you have that installed, in which case, you don’t use PowerShell, you need to run the MinGW64 terminal that was installed with MSys
Yes, this is the Development tutorial I have tried but the commands aren’t recognised using Win terminal or MSYS64, as post before. I managed to install all dependencies with MSYS64.
please use back ticks when you are posting code or terminal output, like this: ``` code ```
This error is telling you that it cannot find the filepath helper.py
I’d imagine this is either because you do not have the location of helper.py in your PATH (or it has not been updated for your current shell), or that you simply need to be more specific with calling the command, try:
inside mingw, the export you want is not the DOS path. the root folder is C:\msys64 - and DOS \ is / in msys (if you wanted the full path, use /c/msys64/home/m/Rack)
I previously posted about this bug, with a ‘fix’ for the makefile that works well for English Windows, but not right for users where the “Documents” folder is localized.
For serious plugin development I recommend cloning and building Rack and at least Fundamental alongside your plugin. This allows debugging into Rack source, and ready access to the full Rack source code, which is necessary once you get beyond the raw basics.
Helper.py is only useful the first time, but quickly becomes unmanageable for iterating on a module’s design. You will soon need to learn how to edit svgs and reposition controls to match manually or via other methods.
Oh that’s a good move! The number of OneDrive support requests are beyond repair. Windows is so seriously buggered at the low level it boggles the mind
The only issue I’ve ever experienced with OneDrive and Rack is with make install. I do see lots of blame put on OneDrive and Windows for a variety of issues, without supporting evidence.
There is a lot of open-source software that is broken in various ways on Windows because of assumptions that aren’t valid on Windows, or trying things assuming that every OS works like Linux, or other mistakes out of ignorance or lack of concern for users.
For example there are quite a few plugins that are broken on Windows for users with non-Latin1 user names, mostly from using “cross-platform” libraries that are simply broken on moany Windows installs. Luckily there’s now a decent workaround for that, but it has a (lowish) risk of breaking other programs.