Currently Online

Latest Posts

Topic: Build Instructions macOS

stonerl
Avatar
Joined: 2018-07-30, 00:03
Posts: 95
Ranking
Likes to be here
Location: Earth
Posted at: 2018-08-14, 02:07

I overhauled the build instructions for macOS: Building_Widelands_on_macOS. I have not tested those mentioned here: Building Widelands/#building-under-mac-os-x. But they seem to be very outdated. I'd remove them, since I'm sure they are of no use.

Any objections?

Edited: 2018-08-14, 02:13
Top Quote
GunChleoc
Avatar
Joined: 2013-10-07, 15:56
Posts: 2623
Ranking
One Elder of Players
Location: RenderedRect
Posted at: 2018-08-14, 09:14

No, nobody has maintained this for a long time, so feel free to delete those instructions and link to the current page instead.

2 points:

  1. sdl2_mixer is not needed for the current development version any more, it's only needed for Build 19 and older
  2. Can you verify that GCC comes without ASan? In the Linux version of GCC, ASan is included.

Thanks for cleaning up the packaging face-smile.png

Edited: 2018-08-14, 09:15

Busy indexing nil values

Top Quote
stonerl
Avatar
Joined: 2018-07-30, 00:03
Posts: 95
Ranking
Likes to be here
Location: Earth
Posted at: 2018-08-14, 10:07

GunChleoc wrote:

  1. sdl2_mixer is not needed for the current development version any more, it's only needed for Build 19 and older

Gonna mention this.

  1. Can you verify that GCC comes without ASan? In the Linux version of GCC, ASan is included.

GCC comes with ASan. Gonna change this as well.


Top Quote
kaputtnik
Avatar
Joined: 2013-02-18, 20:48
Posts: 1523
Ranking
One Elder of Players
Location: Germany
Posted at: 2018-08-14, 10:25

Without sdl2_mixer current trunk does not compile for me on linux:

/home/kaputtnik/Quellcode/widelands-repo/trunk/src/sound/fxset.h:25:10: schwerwiegender Fehler: SDL_mixer.h: Datei oder Verzeichnis nicht gefunden
 #include <SDL_mixer.h>

Top Quote
GunChleoc
Avatar
Joined: 2013-10-07, 15:56
Posts: 2623
Ranking
One Elder of Players
Location: RenderedRect
Posted at: 2018-08-14, 11:05

Duh, copy/paste error. I meant sdl2_net


Busy indexing nil values

Top Quote
stonerl
Avatar
Joined: 2018-07-30, 00:03
Posts: 95
Ranking
Likes to be here
Location: Earth
Posted at: 2018-08-14, 20:01

Hm, build debug with gcc throws a weird error related to the AddressSanitizer, when doing the final tests. So currently Clang is the way to go when ASan is needed. I'm gonna have look at this may its just using the wrong library.


Top Quote