-
Notifications
You must be signed in to change notification settings - Fork 3
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
64-bit compilation broken on Windows & Linux #2
Comments
I just tried to compile on my 64-bit Linux Mint partition with 64-bit DMD and got the same error. |
Can you also try compiling with LDC? |
I got it to compile as 32 bit on Windows 8.1, but I can't get it to link, DMD's OPTLINK gives me an "Error 16: index range" |
I haven't installed LDC in ages. I'll look into it later. For now, I'm running Dustmite to see if I can reduce the OPTLINK error. |
After 14 hours, 41 minutes, 35 secs and 563 ms, dustmite has reduced it all down to an empty module named gl.d. Of course, that does not cause the error since there' s nothing left to link. I have no other ideas right now on how to proceed. |
Building in release mode using DMD on OS X also has broken linking, here's the error:
This seems to point to rawRead, which AFAIK is only called in memory.d near the bottom of the file. Maybe the two are related? Edit: commenting out the 3 rawRead calls in memory.d loadFromFile fixes this linking issue. This looks like a problem with DMD. Edit 2: This did not fix linking on Windows. |
I have successfully built it on 64bit Ubuntu in release mode, but the environment I'm using is headless, so I can't do a full test (no video or audio output). It did run 5 seconds of emulation at full speed without any errors, so I'm pretty sure it's working now. |
With the package.json patch in #1, compilation fails on Windows with the following:
I don't know anything about x86_64 assembly, so I haven't even tried to fix it.
The text was updated successfully, but these errors were encountered: