rorywalsh / CabbageRack

GNU General Public License v3.0
18 stars 1 forks source link

Makefile:20: ../plugin.mk: No such file or directory make: *** No rule to make target '../plugin.mk'. Stop. #2

Closed brylie closed 2 years ago

brylie commented 2 years ago

When following the build instructions in the README, I get the following error:

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

image

rorywalsh commented 2 years ago

You should run the makefile for your platform, make -f Makefile.lin

brylie commented 2 years ago

I did that originally:

image

Also, the README says

just call make on its own to build for Linux.

brylie commented 2 years ago

Is there some context I'm missing? Should this project be cloned into a subfolder of another project?

brylie commented 2 years ago

Oh, I think I missed this step:

Then cd to Rack/plugins/ and run ...

It's a bit awkward to have to develop this project from within the Rack/plugins directory, since I try to keep my development stuff under /home/<user>/code/. I can set up a symlink, but it's still unconventional.

brylie commented 2 years ago

The environment variable approach might be a good compromise to allow developers to organize their filesystem in any way while providing enough context for CabbageRack to build:

In your terminal, run

export RACK_SDK_DIR=/path/to/Rack/SDK

brylie commented 2 years ago

OK, I was able to get make to run successfully. Now I'm left wondering what to do to get the Cabbage Export as VCV Rack Module to pick up the location of CabbageRack https://github.com/rorywalsh/cabbage/issues/125