-
Notifications
You must be signed in to change notification settings - Fork 67
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
Windows compile #309
Comments
Wait, so you were using the |
Thanks for the tip! While instructions did generate an executable no matter what I do it fails to run. The closest I can get is getting the error (after moving a bunch of dlls in the same directory as the .exe
gcc also outputs
during the end of the compile. Which I'm guessing is the reason the exe will not run. :( If you could upload a working binary I would appreciate! |
okay I fixed the first wacky part ".\E:\howl/lib/ljglibs/gtk/css_provider.moon:" because I realized I set up an environment variable wrong a while ago.
same error I know but at least path seems sane. This also fixes the gcc error and now the compiler outputs
instead of Error 123. However the final error appears to be the same when I try to run it :/
|
https://mega.nz/#!ZBsGjJJB!ixyrSxq5Vec_G_2R_f9QBR20IbuUZWjInjJmiGGm7ss |
Yeah, I really need to rebase that, but I always manage to screw it up somehow... I was trying to see if I could fix the process launching issues first, but I'm still kind of stuck, though at least I've been able to narrow down the cause (coroutines). I'll probably just end up making a new branch and cherry-picking all the old commits. |
@kirbyfan64 Thanks for providing the binary, but I'm still running into trouble :(
At one point I had my own build getting something resembling these errors as well (not sure if it was asking for the same dlls) not sure what load "loadall.dll" is, I have searched my entire msys2 folder and couldn't find it. @nilnor I'll give this a shot when I get back home from work. (running all this on my flash drive making me feel like a bad one). |
No luck @nilnor I tried both fixes still ending up with
When I use my .exe with @kirbyfan64 binary it looks like I am just missing a lua module or something. Also I noticed there was no luajit in the attachment, I tried getting it to work with the luajit I could build by adding it to path but that didn't do anything. |
I fixed it! Thank you @kirbyfan64 for the binary! Here is my result after going back and running |
Sorry for reviving this thread, but I ran into the same problem as @jstaursky while compiling howl for windows. When running howl I always got the following exception:
I dug around in the code and learned that css_provider.moon hands over CSS stylesheets to GTK and I read from the error message that something must be wrong with the CSS. After some more digging and debugging I figured out that theme.moon seems to format font styles in a wrong way. I looked up how to do it properly (CSS font property), rearranged the way the font attributes are ordered and voila: howl started! Of course I would like to share my (humble) patch with you, but I wanted to ask first if somebody knows why this seems to be only a problem in the windows build? I assume that GTK might have changed the way it parses CSS, but then it would be also a problem for the linux build. Cheers |
Never mind, I just checked the history of theme.moon and saw that there have been various GTK related fixes. That explains everything :) And I realized that the windows build instructions described here are not up to date anymore (the repository is rather old). I'll now try to build howl based on the EDIT: Works like a charm. Just checkout the original repo, switch to |
Yeah, do note though that the windows branch has fallen quite a bit out of date. I'd recommend you try using WSL + VcXsrv for now. |
Im trying to build this on windows using MSYS2 and getting close but it stops when make tries to build lpeg.o, various sources seem to say that lpeg can only be built as a dll on windows (maybe also as a .lib but I have not seen this). Otherwise I have all the build requirements setup (MSYS2 provides libluajit-5.1.dll.a as libluajit.a). What is the remedy or plan for this? If there is none, when is the last commit to the windows branch that worked? I'll just clone that and be happy :)
The text was updated successfully, but these errors were encountered: