Jump to content
  • 0

SDL and SDLmain required only for Zero?




I tried to build Mangos Zero mmaps branch yesterday and I had an error message stating that SDL and SDLMain libraries where missing. I managed to install SDL but the SDLMain error message keep prompting.

I never tried to build with mmaps in Zero before and never had these error messages. However, I build with mmaps on One and Master and never had these error messages though SDL was not installed.

So here's my question: why are SDL and SDLMain requiered for Zero mmaps and not for the other branches?


Link to comment
Share on other sites

5 answers to this question

Recommended Posts

The mmaps branch is only for testing purposes, you can not run it for a live server. Will not work. SDL is active to build the recast GUI which allows you to peek visually into the generated maps.

Edit: you usually only need libSDL on Linux, nothing else. For Windows the libraries are included.

Link to comment
Share on other sites

Ok, thank you for the feedback, this explains a lot. :)

By the way, I'm building on OS X, which requires SDLMain too in order to link to Cocoa interface/windows elements. But if the mmaps branch is for testing purposes, I'm afraid to be far underskilled to have use of such tools.

Anyway, if I backport some changes from One to Zero, what is the best way to have set added to the official repository? Posting here? Pull request (once I fixe ending lines issues as I use OS X where Git updates ALL files ending lines)?

As stated above, I have little skills but I can help to improve the Zero branch, I'll be happy to.

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use