ENIGMA Forums

Outsourcing saves money => Issues Help Desk => Topic started by: Leonfi on October 09, 2014, 12:37:54 PM

Title: I have a problem!
Post by: Leonfi on October 09, 2014, 12:37:54 PM
Hi there! when im running the program i got a problem.

This is the problem:

Stack trace:
java.lang.UnsatisfiedLinkError: Unable to load library 'compileEGMf': Native library (win32-x86-64/compileEGMf.dll) not found in resource path ([file:/C:/Users/Valerio/Videos/Game%20maker%202/ENIGMA/enigma-dev/plugins/enigma.jar])
   at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:271)
   at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:398)
   at com.sun.jna.Library$Handler.<init>(Library.java:147)
   at com.sun.jna.Native.loadLibrary(Native.java:412)
   at com.sun.jna.Native.loadLibrary(Native.java:391)
   at org.enigma.EnigmaRunner.attemptLib(EnigmaRunner.java:247)
   at org.enigma.EnigmaRunner.access$1(EnigmaRunner.java:240)
   at org.enigma.EnigmaRunner$3.run(EnigmaRunner.java:178)


Help me please  :ohdear:
Title: Re: I have a problem!
Post by: daz on October 09, 2014, 12:40:33 PM
Hello, did you use the self-extracting executable for Windows? It seems that the plugin (compileEGMf.dll) was never compiled. If you do not have MinGW installed (the self-extracting executable comes with it), it of course will not be able to compile it.
Title: Re: I have a problem!
Post by: Leonfi on October 09, 2014, 12:42:48 PM
I don't have it... i can try to install it
Title: Re: I have a problem!
Post by: Leonfi on October 09, 2014, 12:50:01 PM
now i have this screen. (http://i57.tinypic.com/6f5bvk.png)
Now?
Title: Re: I have a problem!
Post by: time-killer-games on October 09, 2014, 01:16:57 PM
It appears you are attempting to install MinGW aside from ENIGMA, might I ask, why?

Everything you need is in the portable:
https://www.dropbox.com/s/nlag2evgiiis476/ENIGMA%20Portable.exe?dl=0

I'm not having the issues you are so if this doesn't work I don't know how I can help.
Title: Re: I have a problem!
Post by: Leonfi on October 09, 2014, 01:22:40 PM
i tried agian but it's give again that error...  :(
Title: Re: I have a problem!
Post by: time-killer-games on October 09, 2014, 01:29:19 PM
And this is the biggest reason people are turned off by this site. You guys need to make sure the portable update actually works for everyone before releasing it and replacing an older version that actually worked.

I'm still not having the issue, but this is kinda basic and needs to be fixed.
Title: Re: I have a problem!
Post by: Goombert on October 09, 2014, 03:33:27 PM
Don't bother installing MinGW, I don't even install it and I am a developer.

Open git-bash, type "rebuildcompiler" and hit enter. Then try launching again. If you get an error rebuilding the compiler, it's because you've placed the Portable ZIP in a path with spaces (though I believe we did fix this) or else you did not run with administrative privileges.

Leonfi, please try my suggestions and post back with the results.  (Y)

Quote from: TKG
And this is the biggest reason people are turned off by this site. You guys need to make sure the portable update actually works for everyone before releasing it and replacing an older version that actually worked.
These instructions are stated very clearly on the Wiki. I can't help it people don't follow instructions, people do it all the time, I even do it sometimes. For one I don't know why you and daz would go on about installing MinGW, when I've never suggested that once on this entire site. You couldn't have possibly thought he was trying to do a source code installation because it says right in the directory structure he's using the ZIP.

Quote from: leonfi
/ENIGMA/enigma-dev/plugins/enigma.jar

Quote from: Wiki
Note: You need to run the self-extracting zip and the enigma.exe with administrative privileges before and after setup so the application can access AppData to output temporary build files, simply right click the file and select "Run as Administrator" on Windows Vista or later.
http://enigma-dev.org/docs/Wiki/Install:Windows

We even have a FAQ and Troubleshooting page.
http://enigma-dev.org/docs/Wiki/ENIGMA:FAQ
http://enigma-dev.org/docs/Wiki/Troubleshoot

Additionally this issue can sometimes happen with a 64bit Java installation, since we technically only support 32bit like GM.
Quote from: Wiki
Why am I getting an error about CompileEGMf?
Most likely you probably ran the LateralGM jar file, you need to open "ENIGMA.exe" instead so that ENIGMA can build and compile its engine and create the CompileEGMf library. Once you open ENIGMA the first time you will need to wait a few seconds while ENIGMA compiles its engine, you will never have to wait again after it compiles. If the CompileEGMf file is present, then it's possible the plugin cannot use it. This is known to happen because of a 64bit JRE. You should download and install x86/32 bit Java instead.
Title: Re: I have a problem!
Post by: lonewolff on October 10, 2014, 12:10:46 AM
I had the same problem long ago. It was solved by installing the 32 bit Java (had to uninstall the 64 bit version in the process)
Title: Re: I have a problem!
Post by: Leonfi on October 10, 2014, 05:16:29 PM
The git-bash.bat says at the end
"make: Nothing to be done for 'all'"

And the program "ENIGMA" Gives anyway that error :/

I have a 64-bit system... so i can't use this program? D:
Title: Re: I have a problem!
Post by: edsquare on October 10, 2014, 05:40:54 PM
The git-bash.bat says at the end
"make: Nothing to be done for 'all'"

And the program "ENIGMA" Gives anyway that error :/

I have a 64-bit system... so i can't use this program? D:

As sugested above, you need to uninstall the java 64-bit and install the java 32-bit, then try to install enigma again.
Title: Re: I have a problem!
Post by: Leonfi on October 10, 2014, 05:52:52 PM
But i have java programs in 64-bit and games too. I will wait a 64-bit update :)
Title: Re: I have a problem!
Post by: Goombert on October 10, 2014, 06:28:40 PM
Does the file "ENIGMA/enigma-dev/compileEGMf.dll" exist? Additionally, we do plan to add 64bit support, but not anytime soon, GM and Studio do not build 64bit games either. They use the .NET framework which is I believe both 32bit and 64bit. You also, do not have to uninstall 64bit Java, you can install 32bit and 64bit in parallel.

Just install 32bit Java in parallel and change the settings.ini launch command for LGM and it should work.
http://stackoverflow.com/questions/5272216/is-it-possible-to-install-both-32bit-and-64bit-java-on-windows-7
Title: Re: I have a problem!
Post by: Leonfi on October 11, 2014, 02:52:48 AM
It's worked! Thanks! :D  (Y) :woop: :clap:
Title: Re: I have a problem!
Post by: Goombert on October 11, 2014, 03:17:55 AM
You're welcome, I was hoping I could help to get it working for you. Thank you for your patience as well! If you need anymore assistance do not be afraid to ask.  (Y)
Title: Re: I have a problem!
Post by: Leonfi on October 11, 2014, 06:41:45 AM
Sure!  (Y)