Pages: 1
  Print  
Author Topic: Compiling for windows in linux problem  (Read 2321 times)
Offline (Unknown gender) gra
Posted on: December 28, 2014, 04:54:20 AM

Member
Joined: Feb 2013
Posts: 147

View Profile
i have two problems , the first solved
1 the game request dll libwinpthread-1.dll
i have put the dll in same folder
2 in starded fase the game give error
i have try with wine and virtual box same crash
hello to all  :D
Logged
Offline (Unknown gender) sorlok_reaves
Reply #1 Posted on: December 28, 2014, 01:58:03 PM
Contributor
Joined: Dec 2013
Posts: 261

View Profile
What error do you get exactly? Anything printed in the console?
Logged
Offline (Unknown gender) gra
Reply #2 Posted on: December 29, 2014, 03:09:13 AM

Member
Joined: Feb 2013
Posts: 147

View Profile
Code: [Select]
Unhandled exception: page fault on read access to 0x00000014 in 32-bit code (0x004841b6).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:004841b6 ESP:00c0f580 EBP:00c0f628 EFLAGS:00010246(  R- --  I  Z- -P- )
 EAX:00000000 EBX:00000000 ECX:00000003 EDX:00006e49
 ESI:00356ab8 EDI:00000000
Stack dump:
0x00c0f580:  00356ab8 00002c13 00c0f5e8 7df41f34
0x00c0f590:  00c0f5b0 7dfb5000 00c0f5e8 7df47ef0
0x00c0f5a0:  00356ab8 00000001 00002c13 00355658
0x00c0f5b0:  7dfbd360 0000002e 00356ab8 00000000
0x00c0f5c0:  00000001 00000003 00000001 00002c13
0x00c0f5d0:  0000001f 7df47eb6 00c0f600 7dfbd360
Backtrace:
=>0 0x004841b6 in egm1572424667968610864 (+0x841b6) (0x00c0f628)
0x004841b6: movzwl 0x14(%eax),%eax
mm i don't know
Logged
Offline (Male) Goombert
Reply #3 Posted on: December 29, 2014, 03:25:23 AM

Developer
Location: Cappuccino, CA
Joined: Jan 2013
Posts: 3108

View Profile
Hello gra, can you please paste us enigma-dev/output_log.txt at http://www.pastie.org or http://www.pastebin.com and give us the link?
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.

Offline (Unknown gender) gra
Reply #4 Posted on: December 29, 2014, 04:38:30 AM

Member
Joined: Feb 2013
Posts: 147

View Profile
Quote
enigma-dev/output_log.txt
this file not generated, i paste the console output
http://pastebin.com/Fr4YXSE3
the compilation is completed , but the file give the precedent error in wine
EDIT
i'm on manjaro linux
Logged
Offline (Male) Goombert
Reply #5 Posted on: December 29, 2014, 04:42:47 AM

Developer
Location: Cappuccino, CA
Joined: Jan 2013
Posts: 3108

View Profile
Run in debug mode, then close it and run it with gdb.

gdb path/to/game.exe

And paste a backtrace from gdb when it segfaults.
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.

Offline (Unknown gender) gra
Reply #6 Posted on: December 29, 2014, 05:48:21 AM

Member
Joined: Feb 2013
Posts: 147

View Profile
with this command
Code: [Select]
wine --gdb egm1572424667968610864.exehttp://pastebin.com/nmcCRk9B
Logged
Offline (Male) Goombert
Reply #7 Posted on: December 29, 2014, 06:06:38 AM

Developer
Location: Cappuccino, CA
Joined: Jan 2013
Posts: 3108

View Profile
No no no, first you have to build it in debug mode in ENIGMA so it has debugging symbols, otherwise I have no idea what the function addresses point to, you also still need "bt" for a full backtrace.
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.

Offline (Unknown gender) gra
Reply #8 Posted on: December 30, 2014, 02:57:51 AM

Member
Joined: Feb 2013
Posts: 147

View Profile
the file compiled in debug
http://www.filedropper.com/egm8644901490627148383
the backtrace program, the name?
and how can use it?
Logged
Offline (Male) Goombert
Reply #9 Posted on: December 30, 2014, 03:06:20 AM

Developer
Location: Cappuccino, CA
Joined: Jan 2013
Posts: 3108

View Profile
Like this gra...
Code: [Select]
gdb path/to/game.exe
run
SIGSEGV ENCOUNTERED
bt
(stack trace follows...)
quit
Y
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.

Pages: 1
  Print