sorlok_reaves
|
|
Posted on: August 11, 2014, 09:02:12 pm |
|
|
Joined: Dec 2013
Posts: 260
|
I know, I know, everyone has trouble compiling ENIGMA on Windows. I actually had it working before, but I foolishly upgraded to Windows 8 and couldn't get it working on the new install. So now I'm trying to re-install from scratch in a Win7 virtual machine. My question is, after following these steps: http://enigma-dev.org/docs/Wiki/Install:Windows...I use Git bash, cd to the source directory, and do: mingw32-make java -jar lateralgm.jar ...and it opens. But then, when I compile an empty project, I get the following verbose error. Does anyone have any idea what I'm running into here? Creating room creation code scope and parsing "Linking" scripts into the objects... "Linking" timelines into the objects... "Link" complete. Tabulating maximum argument passes to each script Finished Writing executable information and resources. # # A fatal error has been detected by the Java Runtime Environment: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x625836c6, pid=1852, tid=1884 # # JRE version: Java(TM) SE Runtime Environment (7.0_67-b01) (build 1.7.0_67-b01)
# Java VM: Java HotSpot(TM) Client VM (24.65-b04 mixed mode, sharing windows-x86 ) # Problematic frame: # C [compileEGMf.dll+0x36c6] # # Failed to write core dump. Minidumps are not enabled by default on client vers ions of Windows # # An error report file with more information is saved as: # c:\Users\Administrator\source\enigma-dev\hs_err_pid1852.log # # If you would like to submit a bug report, please visit: # http://bugreport.sun.com/bugreport/crash.jsp # The crash happened outside the Java Virtual Machine in native code. # See problematic frame for where to report the bug. #
|
|
|
Logged
|
|
|
|
|
Goombert
|
|
Reply #2 Posted on: August 11, 2014, 11:29:51 pm |
|
|
Location: Cappuccino, CA Joined: Jan 2013
Posts: 2993
|
What you are looking for is the OpenAL libs, that additional folder under ENIGMAsystem, there should be a download link for it somewhere? From what I gather you want the Windows dependencies zip. http://enigma-dev.org/docs/Wiki/Install:Windows
|
|
|
Logged
|
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.
|
|
|
sorlok_reaves
|
|
Reply #3 Posted on: August 12, 2014, 12:18:51 am |
|
|
Joined: Dec 2013
Posts: 260
|
What you are looking for is the OpenAL libs, that additional folder under ENIGMAsystem, there should be a download link for it somewhere?
From what I gather you want the Windows dependencies zip. http://enigma-dev.org/docs/Wiki/Install:Windows I've already got that in the right place; ENIGMA can find libffi, libvorbis, libdumb, etc. just fine. I did a file search, and the "Additional" folder does not contain anything named ALURE32-STATIC or FLACor sndfile (or the other two). Is it possible that the Windows dependencies zip is missing these libs?
|
|
|
Logged
|
|
|
|
|
sorlok_reaves
|
|
Reply #5 Posted on: August 12, 2014, 02:11:43 pm |
|
|
Joined: Dec 2013
Posts: 260
|
Ah, thanks I think I understand the problem now. The Portable EXE contains these libs. The zip of additional dependencies does not. I will try this out after work, but I think your solution (copy from the portable) will work. Thanks!
|
|
|
Logged
|
|
|
|
sorlok_reaves
|
|
Reply #6 Posted on: August 13, 2014, 10:40:44 am |
|
|
Joined: Dec 2013
Posts: 260
|
All right, I finally got it working. Turns out that the easiest solution is to just install the portable EXE, then change the git repository and force-update. After that, everything works. Some gotchyas: - The "Additional Dependencies" link in the wiki is missing 5 libraries. Only the portable EXE works.
- The statically-compiled libraries in the portable EXE don't work well with other versions of MinGW (obviously). So it's best to use the mingw install that comes with the EXE.
- The latest version of MinGW has issue with the "Windows widgets" API in ENIGMA (I have no idea why). Again, best to use the portable EXE to "jump start" source builds.
So building from source does not work as described on the wiki; additional steps are needed. Shall I update that page on the wiki, or would you prefer if I made a new page describing my method?
|
|
|
Logged
|
|
|
|
sorlok_reaves
|
|
Reply #7 Posted on: August 13, 2014, 11:00:45 pm |
|
|
Joined: Dec 2013
Posts: 260
|
Ugh, spoke too soon. It turns out that if I add a single, empty room (or a room with objects), I get the following: Do the ENIGMA devs on Windows have any good strategies for, e.g., getting a backtrace for this? FYI, the main reason I'm doing this now is so that I can test out my ini branch before filing a pull request.
|
|
|
Logged
|
|
|
|
Goombert
|
|
Reply #8 Posted on: August 13, 2014, 11:10:35 pm |
|
|
Location: Cappuccino, CA Joined: Jan 2013
Posts: 2993
|
Fudgeknuckle I am sorry about all of that I will get that dependencies ZIP updated if I can, so little time anymore. I generally use gdb sorlok, but I would like to ask whether you have successfully built for Windows before? It could help to clear eobjs as well, and it would also be cool to know whether the Portable ZIP does in fact work or not. Also if you want to just do your best with the Windows version of the ini extension and commit I can pull it this weekend or Friday when classes are done and test it out for you.
|
|
|
Logged
|
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.
|
|
|
|
|
sorlok_reaves
|
|
Reply #11 Posted on: August 14, 2014, 06:26:00 pm |
|
|
Joined: Dec 2013
Posts: 260
|
You're most likely right about it being the fault of the VM. My guess would be you don't have hardware acceleration in there, and Enigma compiled games don't know how to deal with that. Just a guess, of course. You could upload the .exe produced and I can tell you if it runs on my machine, so you'd not have to wait until you can boot up a Windows partition. Yeah, it's definitely the VM. I tried it on my Windows partition and it works fine. The cryptic error is probably because ENIGMA is requesting a GL resource of some kind, and instead of checking the return value (NULL in this case) it just uses it as-is. At some point I'll try to narrow down what the component is, but for now I'll just test in my windows partition. Thanks for the offer of testing the binary! Shouldn't be needed now though.
|
|
|
Logged
|
|
|
|
|