SpringLobby compilation fro Windows

SpringLobby compilation fro Windows

Moderators: Moderators, Lobby Developers, Moderators, Lobby Developers

Post Reply
User avatar
Usaga
Posts: 24
Joined: 18 Jan 2015, 04:09

SpringLobby compilation fro Windows

Post by Usaga »

Is there any "step by step how to" for compilation springlobby for windows under windows? There is some "FAQ" on springlobby.info saying only that I need to use mingw or cygwin and nothing more usefull. It makes no problem for me to build lobby in linux, but in windows it is not so obvious...
0 x

abma
Spring Developer
Posts: 3571
Joined: 01 Jun 2009, 00:08

Re: SpringLobby compilation fro Windows

Post by abma »

afaik no. even if there is one, it would be heavily outdated as nobody tried it to compile it on windows for years.

if you want to contribute to springlobby i can only to suggest to do it on linux as getting a working buildsetup working on windows will take a few days i guess and doing this is quiet frustrating.

the official builds for windows are crosscompiled on linux using mxe.

to get it work on windows you need to compile the required libs on your own i guess:

boost, wxwidgets & curl are required if i forgot no lib.
0 x

User avatar
Usaga
Posts: 24
Joined: 18 Jan 2015, 04:09

Re: SpringLobby compilation fro Windows

Post by Usaga »

Thanks for your reply! It already made me frustated just building wxWidgets!)) Could you, please, give me more information about MXE crosscompilation of lobby?
0 x

abma
Spring Developer
Posts: 3571
Joined: 01 Jun 2009, 00:08

Re: SpringLobby compilation fro Windows

Post by abma »

https://github.com/springlobby/springlo ... osscompile

not sure if everything still works, bat basicly it should be ok. if you hit an error, just post here, so i can fix the wiki.
0 x

Super Mario
Posts: 814
Joined: 21 Oct 2008, 02:54

Re: SpringLobby compilation fro Windows

Post by Super Mario »

abma wrote:afaik no. even if there is one, it would be heavily outdated as nobody tried it to compile it on windows for years.

if you want to contribute to springlobby i can only to suggest to do it on linux as getting a working buildsetup working on windows will take a few days i guess and doing this is quiet frustrating.

the official builds for windows are crosscompiled on linux using mxe.

to get it work on windows you need to compile the required libs on your own i guess:


boost, wxwidgets & curl are required if i forgot no lib.
Wait, that makes no sense, the lib compiled should be easily transfer to windows if it's complied by the mingw tool chain.
0 x

abma
Spring Developer
Posts: 3571
Joined: 01 Jun 2009, 00:08

Re: SpringLobby compilation fro Windows

Post by abma »

Super Mario wrote:Wait, that makes no sense, the lib compiled should be easily transfer to windows if it's complied by the mingw tool chain.
yep, should be possible if you use the same compiler on windows. at least it works for the official build.
0 x

User avatar
Usaga
Posts: 24
Joined: 18 Jan 2015, 04:09

Re: SpringLobby compilation fro Windows

Post by Usaga »

Thanks a lot for usefull information! But now I have another question: how can I contribute translation to springlobby?
0 x

abma
Spring Developer
Posts: 3571
Joined: 01 Jun 2009, 00:08

Re: SpringLobby compilation fro Windows

Post by abma »

basicly by editing the .po file: https://github.com/springlobby/springlo ... /master/po


but there exists some bug which makes not all translations to be used:

https://github.com/springlobby/springlobby/issues/111 :-|

couldn't find the reason (yet).
0 x

User avatar
Usaga
Posts: 24
Joined: 18 Jan 2015, 04:09

Re: SpringLobby compilation fro Windows

Post by Usaga »

I already edited ru.po file. I also made some minor changes in code becouse some tranlation was not shown...
0 x

User avatar
Usaga
Posts: 24
Joined: 18 Jan 2015, 04:09

Re: SpringLobby compilation fro Windows

Post by Usaga »

So I want to contribute to SpringLobby, how can I do this?
0 x

abma
Spring Developer
Posts: 3571
Joined: 01 Jun 2009, 00:08

Re: SpringLobby compilation fro Windows

Post by abma »

fork springlobby at github: https://github.com/springlobby/springlobby/

edit the file & create a pull request.
0 x

Post Reply

Return to “SpringLobby Client”