Pages: « 1 2
  Print  
Author Topic: Error compiling the Sample Catch the clown  (Read 17156 times)
Offline (Unknown gender) bernbout
Reply #15 Posted on: April 18, 2013, 05:31:50 am
Member
Joined: Apr 2013
Posts: 10

View Profile
Thanks polygone & TheExDeus

You guys are so Awesome.

D/l now and hopefully one of the downloads work. Fingers crossed.
Logged
Offline (Unknown gender) bernbout
Reply #16 Posted on: April 18, 2013, 08:38:52 am
Member
Joined: Apr 2013
Posts: 10

View Profile
Sorry Guys

I tried both sets of files to no avail. I get the same error when trying to run any project
....
Code: [Select]
....

mkdir.exe -p .eobjs/Windows/Windows/Run/Widget_Systems/None/
echo "// GENERATED RESOURCE FILE FRONTEND" > .eobjs/Windows/Windows/Run/resources.rc
for res in ../Additional/Windows/al/oal32.rc; do echo "#include \"$res\"" >> .eobjs/Windows/Windows/Run/resources.rc; done
windres.exe -o .eobjs/Windows/Windows/Run/resources.res -i .eobjs/Windows/Windows/Run/resources.rc -O coff
windres.exe: .eobjs/Windows/Windows/Run/resources.rc:2: syntax error
flashplayerpluginmingw32-make.exe[1]: *** [.eobjs/Windows/Windows/Run/resources.res] Error 1
mingw32-make.exe[1]: Leaving directory `c:/ENIGMA/enigma-dev/ENIGMAsystem/SHELL'
mingw32-make.exe: *** [Game] Error 2

Don't know what else to try unless the Dev's can examine the log files I posted and maybe find out what is going on.
Logged
Offline (Male) polygone
Reply #17 Posted on: April 18, 2013, 08:45:40 am

Contributor
Location: England
Joined: Mar 2009
Posts: 794

View Profile
flashplayerpluginmingw32-make.exe

What is this about? I see in your original log that flashplayerplugin is spammed everywhere. Like flashplayerpluginflashplayerpluginflashplayerpluginflashplayerplugin

It seems strange, perhaps your flash player plugin is causing some sort of incompatibility with minGW? Has there been a flash player update recently perhaps?
« Last Edit: April 18, 2013, 08:48:56 am by polygone » Logged
I honestly don't know wtf I'm talking about but hopefully I can muddle my way through.
Offline (Unknown gender) TheExDeus
Reply #18 Posted on: April 18, 2013, 08:50:31 am

Developer
Joined: Apr 2008
Posts: 1860

View Profile
That newest error is about widgets which got fixed in the newest mingw. This makes me think that the MinGW that was given with the installer wasn't used and instead one already installed was. This mingw you already have is old and probably not standard (like the name flashplayerpluginmingw32-make.exe could hint). Anyway, you can try disabling windows widgets in the systems selection and try to compile. Now it should work, but you would still not be using the correct mingw.

edit: It's also probably flashplayerplugin mingw32-make.exe or something, but the space wasn't printed. Dunno why flash player is involved though.

edit2: Try looking at environment variables. Like open CMD (Run>CMD) and type "SET". Then it will print all environment variables. Paste them here (or just the Path one).
« Last Edit: April 18, 2013, 08:55:11 am by TheExDeus » Logged
Offline (Unknown gender) bernbout
Reply #19 Posted on: April 18, 2013, 10:40:16 pm
Member
Joined: Apr 2013
Posts: 10

View Profile
@polygone @TheExodeus

flashplayerpluginmingw32-make.exe

That is the java runtime. That has bugged me for a while now. Anyway Google showed me what is causing it and I uninstalled the program.

http://stackoverflow.com/questions/15467295/java-sdk-manager-crashes-with-flashplayerplugin-in-the-command-line-output

See the answer from Andreas about Airfoil.

I then updated my Java to the latest version and uninstalled JRE6 which was also on my computer. I cleaned the registry of ALL jre6 entries.

I deleted the MinGW I had installed manually earlier as per the wiki, deleted the Enigma folder and rebooted.

Reinstalled Enigma from the original ENIGMA Zip Installer.exe I had downloaded and ran it.

Loaded up the sample game and clicked Run.

After a while Comodo Firewall popped up saying that a file was being run from my temp folder. I allowed it and up popped the game.

So now I am able to RUN a game from Enigma without that previous error.

Thanks to both you guys for your prompt help. It was really refreshing to see someone who cares enough when users have a problem. Mostly you get a silly suggestion from other users.

Now I need to find out more about this app.

One more Q for now.

I see these files in my Temp folder:

Code: [Select]
egm8089282371511511982.tmp
gms_ico5282030918111357965.ico
wrap_oal.dll
OpenAL32.dll


How can I compile to an standalone EXE?

Cheers
Logged
Offline (Unknown gender) TheExDeus
Reply #20 Posted on: April 19, 2013, 12:59:59 am

Developer
Joined: Apr 2008
Posts: 1860

View Profile
Glad it worked.

About the exe - sadly no one is man enough to actually make this an easy option (I have been bugging people like Josh about this for about 2 years now). Currently you can just take the .tmp file and rename it to .exe. That is the executable. The .dll's are actually inside the .exe and get extracted to temp folder when the game is run, so no need to distribute them separately. The .ico is not used in any way now. It was extracted there so the resource linked could link this icon to the .exe, but no one actually made it happen.
Logged
Offline (Male) polygone
Reply #21 Posted on: April 19, 2013, 06:45:39 am

Contributor
Location: England
Joined: Mar 2009
Posts: 794

View Profile
Ok I'm going to presume it was the java causing the issue, glad it's fixed.
Logged
I honestly don't know wtf I'm talking about but hopefully I can muddle my way through.
Pages: « 1 2
  Print