-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Troubles with "make windows" #20
Comments
If memory serves correctly https://github.com/zynaddsubfx/zyn-fusion-build/blob/master/mruby-dir-glob-no-process.patch is the patch which fixes the dependency from mruby-dir-glob which removes the runtime dependency on mruby-process which allows the windows build to complete (with respect to this particular error). That change should be ported upstream at some point, however it will likely require the mruby-zest project to take over the mruby-dir-glob package as it seems to be abandoned gromnitsky/mruby-dir-glob#1 |
Thanks for the quick response! With a bit of fiddling I managed to install the I attached the output, but im not sure if its any use to you. I apologize that its in german, I was not able to change it to english. It seems like git tries to find the code in the source files and fails. |
So, the patch was originally written for an older version of the mruby interpreter. I haven't had a chance to update it, though it should be a fairly straightforward process of tweaking the patch based upon the newer mruby code version. Ideally that patch would be two pieces, one for storing the backtraces and one for fixing the mingw environment floating point constants, though that's a much more minor issue. |
I managed to get the original patch to apply to an old copy of mruby, but it didn't fix the sys/wait.h error on compile. All the same, I did go through and update the backtrace file according to the old patch. Result attached. I was able to get zyn-fusion to build by removing the mruby-process submodule from mruby-zest-build. But it gives me a blank black window when I start it. Edit: |
The black window should be fixed with PR #30 |
If it's not fixed, feel free to reopen. |
Maybe replacing mruby-process with appPlant's edition would help. It can cross-compile under my Arch Linux environment. |
Off the top of my head I can't recall if the process gem is even needed
anymore. Early on in the development of the GUI it was certainly used to
spawn off other subtasks, but I had thought that code was removed at this
stage...
|
So having a re-check of the source files may be necessary. Or instead, merely replacing mruby-process repo in |
See issue mruby-zest#20. This module may be unnecessary. Also need to apply patch for deps/mruby-dir-glob/mrbgem.rake (already in repo zyn-fusion-build/mruby-dir-glob-no-process.patch).
I was investigating the build-mingw64.sh in the zyn-fusion build repo and fixing all the errors that came up. I have been succesful so far. However when running "make windows" in mruby-zest-build I get the following error:
I attached the full output of the make command.
log.txt
The error probably comes from the usage of the wait() function, which does not exist in windows. If there is no way to solve the problem in mruby-zest, then the build system probably needs to be switched to cygwin.
I apologize if that is not the correct repo to ask about.
The text was updated successfully, but these errors were encountered: