Closed porres closed 1 year ago
Hi, just a quick report about my test-build. I managed to build VCV-Prototype enabling QuickJS, LuaJit and libPD under Windows 10. A summary of my main steps and edits:
v2
branchPrototype.cpp
:
https://github.com/VCVRack/VCV-Prototype/blob/739c0f5e90f3df8d7910b32fc0f58935f212d17d/src/Prototype.cpp#L507
with this line:
std::wstring commandW = string::UTF8toUTF16(command);
this fix was also suggested in this issue:
https://github.com/VCVRack/VCV-Prototype/issues/63
but no pull-request followed the issuepacman -S mingw-w64-x86_64-toolchain mingw-w64-x86_64-clang
Makefile
LIBPD ?= 1
Makefile
, added the line: FLAGS += -DPDINSTANCE -DPDTHREADS
$(libpd):
target of the Makefile
, changed the referenced commit to point at libpd 0.13.2:
cd dep/libpd && git checkout e3980d2fe45ef9eaaec1d45e4d68637eaf76a8b1
I hope I didn't forget anything. I dropped the installable plugin on my Google drive: https://drive.google.com/drive/folders/1aW9TDz8VCEzb1VRvPtBPfqVH2Y76w09m?usp=sharing
I have been looking briefly into the libpd build yesterday. For Linux all that is needed is a different submodule checkout for libpd as suggested by @dizzisound. Thanks for finding that. The mentioned build flags are there already. I would need to look into windows and Mac builds soon.
* fixed the line 507 in `Prototype.cpp`:
with this line: `std::wstring commandW = string::UTF8toUTF16(command); ` this fix was also suggested in this issue: [QuickJS exclusive build #63](https://github.com/VCVRack/VCV-Prototype/issues/63) but no pull-request followed the issue
Fixed here 96d6305e89af82a39fb96578d2d25ac5d10f9ed1
This issue is fixed in v2-tmp branch and can be closed now. Superfluous build flags can be removed again via the pull request https://github.com/VCVRack/VCV-Prototype/pull/75
Seems there are simple fixes/adjustments to be made so Prototype can be compiled with libpd support for VCV 2.0.
@clwe please let us know here when you get to this. I also hope you could help trying to compile this with some Pd externals (like ELSE/Cyclone).