Crashes when trying to build headless spring with mingw32

Crashes when trying to build headless spring with mingw32

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
Super Mario
Posts: 823
Joined: 21 Oct 2008, 02:54

Crashes when trying to build headless spring with mingw32

Post by Super Mario »

When it try to build sever delicate it throws errors messages like never before. Any one else have the same problem? Or it's a problem at my end.
It even crashes when I build spring normally.
User avatar
aegis
Posts: 2456
Joined: 11 Jul 2007, 17:47

Re: Crashes when trying to build headless spring with mingw32

Post by aegis »

last time I tried to compile headless spring with mingw32 on windows, I got a createprocess error, haven't tried since
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: Crashes when trying to build headless spring with mingw32

Post by hoijui »

server delicate?
sounds delicious!

you know, it is hard to give less info then you just did.
give build environment details, what steps you used to compile (how did you get the source, what commands, options ...) and the output of it all would be nice too. if it crashes at runtime, compile with debug symbols, and run again. then, infolog will contain a useful stack trace (hopefully).
Super Mario
Posts: 823
Joined: 21 Oct 2008, 02:54

Re: Crashes when trying to build headless spring with mingw32

Post by Super Mario »

I'm using the spring version .82, I use the mingw32-make command, trying to build it on windows. Check the error log, and it's says I'm missing plthreads, so I'll try it again with it.

And here is the error log
Image
User avatar
lurker
Posts: 3842
Joined: 08 Jan 2007, 06:13

Re: Crashes when trying to build headless spring with mingw32

Post by lurker »

Worked for me a week ago, but I'll look again.

What exactly of mingw did you install?
Super Mario
Posts: 823
Joined: 21 Oct 2008, 02:54

Re: Crashes when trying to build headless spring with mingw32

Post by Super Mario »

The last time that I install it was the 4.40 version. Haven't build it scene. I really want to build it with clang.
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: Crashes when trying to build headless spring with mingw32

Post by hoijui »

lurker did not ask what version, but what parts, as the error suggests you did not install all required parts of mingw. check out our wiki, as it explains which parts to get.
Super Mario
Posts: 823
Joined: 21 Oct 2008, 02:54

Re: Crashes when trying to build headless spring with mingw32

Post by Super Mario »

Using the 3.4.5 version that came with installer (Had to down grade to get to compile other software) using the right version of library. It stop building with this error.
Image
Build again with 4.4.0 And I got this
Attachments
error.txt
(18.5 KiB) Downloaded 96 times
User avatar
lurker
Posts: 3842
Joined: 08 Jan 2007, 06:13

Re: Crashes when trying to build headless spring with mingw32

Post by lurker »

That would be a dwarf2 / SJLJ mismatch. Which should have enough info on the wiki page to get you fixing it.
Super Mario
Posts: 823
Joined: 21 Oct 2008, 02:54

Re: Crashes when trying to build headless spring with mingw32

Post by Super Mario »

lurker wrote:That would be a dwarf2 / SJLJ mismatch. Which should have enough info on the wiki page to get you fixing it.
Were exactly is this information?
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6242
Joined: 29 Apr 2005, 01:14

Re: Crashes when trying to build headless spring with mingw32

Post by FLOZi »

http://springrts.com/wiki/Building_Spri ... on_Windows

Also, you might need the boost library here (compiled with dwarf2)

http://springrts.com/phpbb/viewtopic.ph ... 6&start=20

as I'm not sure if the git spring mingwlibs repo has been fixed in that regard yet.
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Re: Crashes when trying to build headless spring with mingw32

Post by Tobi »

Buildbot uses the boost_1.42.0_mingw_4.4.2 branch of mingwlibs.
Post Reply

Return to “Engine”