export RACK_SDK or RACK_DIR on Migrating v1 Plugins to v2 manual page?

Hi. Just starting the work to upgrade my plugin to v2. I’ve downloaded the latest community Rack build and v2 SDK. Using macOS 10.15.7. I’ve built against the v1 SDK with no problems before.

The manual page for Migrating v1 Plugins to v2 says to use export RACK_SDK= … but using that gives me the following error message when I run any make commands:

Makefile:22: ../../plugin.mk: No such file or directory
make: *** No rule to make target `../../plugin.mk'.  Stop.

If use export RACK_DIR= … then make commands run OK, and the plugin builds fine with just the version 2.0.0 change to the plugin.json file. (I like the new LEDs!)

I don’t have any other export statements pointing to my v1 Rack SDK directory.

1 Like

Thanks, I’ve fixed the VCV Manual - Migrating v1 Plugins to v2 article. The correct environment variable is RACK_DIR.


Thank you!