Latest Posts

Topic: Zipped MinGW with all tools & libs

dfTruF
Avatar
Topic Opener
Joined: 2015-02-15, 20:32
Posts: 17
Ranking
Pry about Widelands
Posted at: 2015-05-22, 23:48

Hi.

Does anybody have zipped MingGW with all its tools and libs' binaries (proper versions) and headers, necessary to compile Widelands under Windows (x86, 32-bits)?

Edited: 2015-05-23, 00:02

Top Quote
tuggyne

Joined: 2011-07-21, 23:27
Posts: 42
Ranking
Pry about Widelands
Location: TN
Posted at: 2015-05-23, 00:09

Given that Tino apparently gave up 32-bit compilations a while ago because the toolchain was too hard to support through the code changes after build 18, I seriously doubt it, but I would love to be proven wrong, since I am also on x86.


Top Quote
dfTruF
Avatar
Topic Opener
Joined: 2015-02-15, 20:32
Posts: 17
Ranking
Pry about Widelands
Posted at: 2015-05-23, 07:19

> *tuggyne wrote:*
>
> Given that Tino apparently gave up 32-bit compilations a while ago because the toolchain...


Maybe someone has it for stable build 18 (or even previous stable version) on this MinGW ? (not necessary Tino) Anyone who has compiled it using MinGW x86, 32bits.

So many hours of uncreative frustration can be spared.
For example, link for wspiapi.h from https://wl.widelands.org/wiki/BuildingWidelandsUnderWindows/ doesn't exist.

Edited: 2015-05-23, 09:26

Top Quote
Tino

Joined: 2009-02-20, 16:05
Posts: 252
Ranking
Tribe Member
Location: Somewhere in Germany...
Posted at: 2015-05-23, 09:41

Try MSYS2: https://msys2.github.io/

You can just install every package you'll need for Widelands via commandline (including mingw32 or mingw64). This should be much faster than anyone providing you with a custom zipped MinGW package for Widelands.

Also have a look at https://wl.widelands.org/wiki/BuildingWidelandsUnderWindowsNew/ , some things do only apply when using the Nuwen distro, but it should also help using MSYS2.


Top Quote
dfTruF
Avatar
Topic Opener
Joined: 2015-02-15, 20:32
Posts: 17
Ranking
Pry about Widelands
Posted at: 2015-05-23, 12:48

> *Tino wrote:*
> ...
> Also have a look at https://wl.widelands.org/wiki/BuildingWidelandsUnderWindowsNew/


Files under links to: mingw-12.2.exe and msys-10.4.7z don't exist (at present maybe?).

Could You explain in more detailed way, how to install all these packages (and which versions) under MSYS2 ?
Can I use packages from http://sourceforge.net/p/msys2/wiki/Packages/ for x86, 32 bits ? (there is no any mingw-12.2)

Edited: 2015-05-23, 20:38

Top Quote
dfTruF
Avatar
Topic Opener
Joined: 2015-02-15, 20:32
Posts: 17
Ranking
Pry about Widelands
Posted at: 2015-05-24, 11:45

I found mingw-12.2 from different link.
But this msys-10.4 is still buried somewhere, after one day of searching the internet, I don't know where. Version 13.0 of msys is compatible with 10.4, for building recent, stable Widelands?

Edited: 2015-05-24, 11:47

Top Quote
Tino

Joined: 2009-02-20, 16:05
Posts: 252
Ranking
Tribe Member
Location: Somewhere in Germany...
Posted at: 2015-05-25, 13:31

Please read! And please don't expect any version number stable over month...

https://wl.widelands.org/wiki/BuildingWidelandsUnderWindowsNew/

The first link goes to Nuwen's distro and as you can see/read that Nuwen has released a new version of his Mingw package (13.0) and Msys package (msys-13.0.7z) in April. But these are only two of dozens different versions of MinGW/MSys packages you'll find on the internet. I do use Nuwens package for building the x64 build, but you have to compile all libraries yourself.

But if you are new to all of this, i'll advice you to use https://msys2.github.io/

Just follow the instructions on that site to install and update the environment.

Then start with installing the needed base packages (base-devel) and libraries wideland uses (SDL2, SDL2_net etc...) via pacman commands. Then do a bzr checkout of the widelands source and start building.


Top Quote
dfTruF
Avatar
Topic Opener
Joined: 2015-02-15, 20:32
Posts: 17
Ranking
Pry about Widelands
Posted at: 2015-05-26, 19:40

Tino wrote: But if you are new to all of this, i'll advice you to use https://msys2.github.io/

Even for 32 bits, Windows XP target?

Edited: 2015-05-26, 19:40

Top Quote
GunChleoc
Avatar
Joined: 2013-10-07, 14:56
Posts: 3324
Ranking
One Elder of Players
Location: RenderedRect
Posted at: 2015-05-26, 20:46

Step 1 says " Download and run the installer - "x86_64" for 64-bit, "i686" for 32-bit Windows". So, try option 2 to see if it likes Windows XP.

Windows can get a bit tricky, I needed a lot of help from Tino to get mine going, and I would need to update it again now for the recent changes.

Edited: 2015-05-26, 20:47

Busy indexing nil values

Top Quote
Tino

Joined: 2009-02-20, 16:05
Posts: 252
Ranking
Tribe Member
Location: Somewhere in Germany...
Posted at: 2015-05-26, 20:59

Yes, even for Windows XP 32bit. As Gun wrote, there is a downloadlink for x64_64 and i686.

I don't know if current trunk of widelands will run on Windows XP: We are using some features of the Windows CRT (e.g._putenv_s) which needs current windows runtime environments. Which are not available for obsolete, no longer supported Windows versions like XP. I just got a PM from another user, which was not able to run current trunk builds on Windows Server 2003 R2.

I strongly advice to upgrade your system. In my opinion is is gross negligent to download some code (e.g. widelands sources) from the internet and use it on Windows XP.

Edited: 2015-05-26, 20:59

Top Quote