Pages: 1
Author Topic: Enigma errors  (39,677 Views)
Offline (Unknown gender) FroggestSpirit

Member
Joined: Mar 2013
Posts: 79
View profile
Posted on: March 24, 2014, 07:05:14 PM
I had to reinstall windows 7 (hopefully for the last time) I installed ENIGMA with the zip installer, and updated it with the files on the repo. I now get these errors when compiling: http://pastebin.com/cd6nyNAf
Offline (Unknown gender) TheExDeus

Developer
Joined: Apr 2008
Posts: 1,860
View profile
Reply #1 Posted on: March 24, 2014, 07:38:28 PM
I suspect you formatted the drive when reinstalling Windows? And can you post the whole log? Also, try just installing from .zip and not updating from Git. The zip alone is known as the "working copy" and should work. The stuff in Git can break it, because maybe .jar's have changed as well and you haven't updated them.
Offline (Unknown gender) Darkstar2

Member
Joined: Jan 2014
Posts: 1,238
View profile
Reply #2 Posted on: March 24, 2014, 08:28:24 PM
Indeed the stand alone install sometimes can be outdated.  Always make sure you also have the latest JARs.  Those do not get automatically sent with update
Offline (Unknown gender) TheExDeus

Developer
Joined: Apr 2008
Posts: 1,860
View profile
Reply #3 Posted on: March 24, 2014, 08:42:09 PM
They are outdated, but usually they are the ones that work. So I encourage him to not get the latest GIT (unless there is something new you want) and not update any JAR's either. If you do want to update, then update both. If do that, then you also need to recompile the .dll (it should do it automatically if you delete the .dll).

The reason why I asked about formatting the drive is so that to make sure files in C:/ProgramData/ENIGMA/ are deleted. Especially C:/ProgramData/ENIGMA/.eobjs should not exist when installing new ENIGMA, otherwise conflicts can happen.
Offline (Unknown gender) Goombert

Developer
Joined: Jan 2013
Posts: 2,991
View profile
Reply #4 Posted on: March 25, 2014, 01:24:19 AM
No that is not the issue at all, he's getting the errors from the General platform headers and changes I made. He just needs to rebuild all or delete eobjs to clear the cache.
Offline (Unknown gender) TheExDeus

Developer
Joined: Apr 2008
Posts: 1,860
View profile
Reply #5 Posted on: March 25, 2014, 02:03:19 AM
Exactly what I said. Thanks for agreeing. :D
Offline (Unknown gender) Goombert

Developer
Joined: Jan 2013
Posts: 2,991
View profile
Reply #6 Posted on: March 25, 2014, 03:17:49 AM
That was pretty hard to infer Harri, since you started off talking about it being a broken update I ended up ignoring the rest of what you said, updating from Git should not break anything.
Offline (Unknown gender) FroggestSpirit

Member
Joined: Mar 2013
Posts: 79
View profile
Reply #7 Posted on: March 25, 2014, 03:41:01 AM
still getting errors after deleting the eobjs http://pastebin.com/1f8g3711
Offline (Unknown gender) TheExDeus

Developer
Joined: Apr 2008
Posts: 1,860
View profile
Reply #8 Posted on: March 25, 2014, 01:04:46 PM
QuoteI ended up ignoring the rest of what you said
That's probably the issue. About 3 out of 5 posts you start with "No" as in disagreeing and then the rest of the post is how you agree. :D I don't have a problem with that, but it's just weird and can end up confusing to others.

Quotestill getting errors after deleting the eobjs http://pastebin.com/1f8g3711
So this means when you reinstalled Windows you had the old files laying around? And did you recompile the .dll? Robert may make a new zip today/tomorrow and then you should try that. Before you do you should DELETE the main ENIGMA folder (the one with ENIGMA.exe inside, so NOTHING is left behind, don't overwrite anything) and the ENIGMA folder in the ProgramData as well.
The errors you seem to be getting are almost guaranteed to stem from conflicts between old versions of ENIGMA (or the combination of different versions of JAR's and ENIGMA).
Offline (Unknown gender) Goombert

Developer
Joined: Jan 2013
Posts: 2,991
View profile
Reply #9 Posted on: March 25, 2014, 06:53:14 PM
Yes Harri, that was his issue. However, purely deleting the ProgramData folder did not solve it. He also had to rebuildcompiler from git-bash after re-extracting, but he did eventually get it working again.

The new Portable ZIP is live and ready for download.
http://enigma-dev.org/docs/Wiki/Install:Windows
Pages: 1