zipotm
|
|
Posted on: April 25, 2012, 02:32:39 am |
|
|
Joined: Apr 2012
Posts: 1
|
I'm using Win7 64 bit and get this error: incomplete C:\Users\Phenome\Desktop\ENIGMA-R4-r915-win ENIGMA r984 Exception in thread "Thread-7" java.lang.ExceptionInInitializerError at org.enigma.EnigmaRunner.make(EnigmaRunner.java:223) at org.enigma.EnigmaRunner$2.run(EnigmaRunner.java:154) Caused by: java.lang.NullPointerException at org.enigma.TargetHandler.scoreCombo(TargetHandler.java:207) at org.enigma.TargetHandler.access$0(TargetHandler.java:201) at org.enigma.TargetHandler$Combo.finish(TargetHandler.java:250) at org.enigma.TargetHandler.dependencyResolution(TargetHandler.java:143)
at org.enigma.TargetHandler.load(TargetHandler.java:61) at org.enigma.TargetHandler.<clinit>(TargetHandler.java:51) ... 2 more This is the content of gcc.ey %e-yaml --- Name: GNU GCC G++ Native: Yes Maintainer: Josh / ENIGMA.exe #This is a generated file Target-platform: Windows Template: 0.94
# Some info about it path: \MinGW\bin\;\MinGW\msys\1.0\bin\; tcpath: /MinGW/bin:/bin: make: \MinGW\msys\1.0\bin\make.exe binpath: \MinGW\bin\ defines: \MinGW\bin\cpp -dM -x c++ -E $blank searchdirs: \MinGW\bin\gcc -E -x c++ -v $blank searchdirs-start: "#include <...> search starts here:" searchdirs-end: "End of search list." resources: $exe cppflags: -static-libstdc++ -static-libgcc cflags: -static-libgcc links: -static-libstdc++ -static-libgcc
resource-linker: windres.exe
Build-Extension: .exe Run-Output: $tempfile Run-Program: $game Run-Params: I've downloaded MinGW from here: http://sourceforge.net/projects/mingw/files/latest/download?source=filesAnd ENIGMA version from here: http://dl.dropbox.com/u/1052740/ENIGMA-Releases/ENIGMA-R4-r915-win.zipI have Java installed. I try to run it on Virtual box with Win XP 32 bit, but always was the same.
|
|
|
Logged
|
|
|
|
Josh @ Dreamland
|
|
Reply #1 Posted on: April 25, 2012, 09:02:20 am |
|
|
Prince of all Goldfish
Location: Pittsburgh, PA, USA Joined: Feb 2008
Posts: 2950
|
That's really strange; it's not GCC.ey that's wrong. For some reason, it has a problem with the descriptor files for individual systems, which do not change from platform to platform. I'm going to need to run that one by Ism. It really isn't something that should work for one person but not others; probably something simple on our part. Thanks for all that info; seems you've been reading around.
|
|
|
Logged
|
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble "I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
|
|
|
IsmAvatar
|
|
Reply #2 Posted on: April 25, 2012, 12:02:46 pm |
|
|
LateralGM Developer
Location: Pennsylvania/USA Joined: Apr 2008
Posts: 877
|
Caused by: java.lang.NullPointerException at org.enigma.TargetHandler.scoreCombo(TargetHandler.java:207) Generally, this means it couldn't find a valid compiler file. This error message was improved a little bit in the Git versions (which don't currently work on Windows). incomplete C:\Users\Phenome\Desktop\ENIGMA-R4-r915-win This is a little concerning. Not sure what exactly it's saying, but it seems to suggest that the SVN checkout (one of the steps during the automated install process) did not complete properly. However, this should not be causing the Exception you are seeing.
|
|
|
Logged
|
|
|
|
Josh @ Dreamland
|
|
Reply #3 Posted on: April 25, 2012, 12:42:33 pm |
|
|
Prince of all Goldfish
Location: Pittsburgh, PA, USA Joined: Feb 2008
Posts: 2950
|
Hey now. If the SVN checkout failed, that would explain the missing descriptor files. Issue is, he used that zip I pre-built with everything included. So it shouldn't have failed unless he gave the OK to update at some point.
|
|
|
Logged
|
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble "I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
|
|
|
|
Josh @ Dreamland
|
|
Reply #5 Posted on: April 25, 2012, 10:33:39 pm |
|
|
Prince of all Goldfish
Location: Pittsburgh, PA, USA Joined: Feb 2008
Posts: 2950
|
Point acknowledged. I built it before the switch to git. I think we should build a new one from TGMG's all-installed version, excluding the .git folder and his python updater, for people who just want a done-out-of-the-box build. I'm unopposed to including all binaries exactly as TGMG has them.
Maybe first we'll want to make a new ENIGMA.exe build that has the Java arguments and LGM restart features, so people can add file association to LGM/ENIGMA.
|
|
|
Logged
|
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble "I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
|
|
|
|
Josh @ Dreamland
|
|
Reply #7 Posted on: April 27, 2012, 11:55:13 am |
|
|
Prince of all Goldfish
Location: Pittsburgh, PA, USA Joined: Feb 2008
Posts: 2950
|
TGMG reports no problems after running his apt-get.py, or whatever it's called. I talked with him about adding a GUI frontend to the system package manager, where his python script would stand in for said manager on Windows. We agreed it'd be best to give a zip release that had no dependencies. You know, for novices and people with non-compliant systems (ie, 50% of Windows users).
Point is, everything works if you include all the dependencies.
|
|
|
Logged
|
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble "I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
|
|
|
|
Josh @ Dreamland
|
|
Reply #9 Posted on: April 29, 2012, 09:49:45 am |
|
|
Prince of all Goldfish
Location: Pittsburgh, PA, USA Joined: Feb 2008
Posts: 2950
|
Ah, yes. I was thinking of a number of ways we could pull off MinGW.
My first thought was the simplest. We could distribute MinGW binaries we certify can work with ENIGMA in a separate zip. We'd have them unpack MinGW in C:\, and then unpack a zip of ENIGMA containing a pre-configured gcc.ey wherever they like.
Issue with that is, it'd have to be in C:\, or they'd have to edit the ey file.
2) We could have either ENIGMA or LGM check that gcc.ey exists, and if it doesn't, download the zip itself and unpack it, then download a template gcc.ey and replace ${INSTALLPATH} with C:\ or wherever. I don't want ENIGMA.exe to do that because I don't want to mix C and the internet.
3) We could get TGMG's package manager to do that. He's writing up a frontend in Java as far as I know...maybe it can pull that off.
At any rate, I don't want MinGW packaged in the same zip.
|
|
|
Logged
|
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble "I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
|
|
|
|
|