-
-
Notifications
You must be signed in to change notification settings - Fork 374
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
The Windows version of the application does not work if it is built on linux #1723
Comments
This app build: |
Last time someone looked at this, they found that Neko outputs a Linux executable with a .exe suffix. Basically, cross-compiling isn't supported and no one noticed. Can you test with #1610 and/or #1661? |
I will try to check #1610 |
Run |
And again something breaks. Now I'll try to fix it |
It didn't work out. Compilation began to be interrupted due to errors. |
Ah, right. Someone brought up this issue at one point and I said I'd have to implement a workaround, but then for some reason we decided it wasn't actually an issue? I don't know why we decided that. The problem is that we updated the remote URL, and Git doesn't keep track of that, To update the URL, open a terminal and navigate to the curl folder. From there, run the following in order: git remote add upstream https://github.com/curl/curl.git
git remote add legacy https://github.com/openfl/libcurl.git
git fetch
cd ..
git submodule update Edit: fixed the legacy URL. I had an even older one on record. |
The method of updating the URL did not help (it may have messed up the local repository with attempts to fix the problem). Now I will try to clone the repository again, but immediately with the right branch. |
Running both of these commands always works for me when I switch branches that have different remotes for submodules:
|
Thanks! It worked! |
I don't think rebuilding for Windows would help. Just rebuild for Linux, then try your build again. |
`lime rebuild linux' leads to nothing. When trying to rebuild windows, a lot of warns appear: If you are not rebuilding for Windows, then for obvious reason the project is also not compiled. |
If |
Attempt to execute
|
Interesting. Is it trying to use that to compile? Because it definitely shouldn't. But it says "source path," so maybe it just wants to include the ndll in the build, which ought to be fine. In that case, all you need to do is copy ndll/Windows64/lime.ndll from a Haxelib release. (Use |
|
I tried to build a game on linux for Windows. As a result, the NekoVM application was built, which does not start. I tried to build a game with the keys
-cs
,-cpp
,-hl
, but in the end a non-working NekoVM application was compiled anyway.No errors appeared during compilation.
The project works if it is compiled for Linux.
Startup errors (translated to English):
Windows 10 64x (not my pc):
Linux (via Wine Staging 8.18):
Technical information:
The text was updated successfully, but these errors were encountered: