I want to experiment with LuaJIT & QuickJS in my own plugin (I understand the performance implications of using the latter and have no plans to push to the library a polyphonic oscillator that takes 5000% CPU).
I’m building on windows with msys64, using a build of Rack rather than the SDK, and have
premake installed (as it’s required to build Prototype).
I tried building VCV-prototype, and built it successfully (
make dep then
I then tried to copy the relevant bits of its Makefile to mine, and
make dep works fine, but I always get the following error when I
make: *** No rule to make target 'build/src/LuaJITEngine.cpp.o', needed by 'plugin.dll'. Stop.
And I get a similar error if I try building QuickJS.
I’m not very familiar with the building process, so I feel I must be missing a step somewhere - but no matter how much I look and try out possible solutions, I don’t understand what Prototype is doing that I’m forgetting to do. Hopefully it’s obvious to someone what I’m doing wrong.
Here’s my makefile on my development/test branch: https://github.com/AriaSalvatrice/AriaVCVModules/blob/86266948046b7a70ee85cd65627f9bd9b00c223c/Makefile
And for comparison, here’s prototype’s: https://github.com/VCVRack/VCV-Prototype/blob/master/Makefile