Building subsurface on Mac OS 11.x (Big sur)

Robert Helling helling at atdotde.de
Mon May 17 09:32:10 PDT 2021


Hi,

> On 17. May 2021, at 18:13, Ryan Gardner via subsurface <subsurface at subsurface-divelog.org> wrote:
> 
> I was able to build fine on OS X before I upgraded to Big Sur - when running the build scripts now it fails very quickly with two errors:
> 

last weekend, I finally got around to update my Mac to Big Sur as well. By now, I can successfully build here as well but I remember, in the process I also saw a complaint about -lSystem but I cannot remember how that went away. Reinstalling Xcode command line tools and throwing away the old build directory were definitely required at some point.

But what kept took me the longest was understanding why my builds with debug symbols and without optimisation (so the debugger is usable) failed with realy strange error messages: Realising that the compiler flag for this is not „-G“ but in fact „-g“ (and that -G requires another argument so the next bit on the command line get eaten up).

Best
Robert

PS: And yes, don’t mention Deep6.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20210517/82fbd021/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20210517/82fbd021/attachment.sig>


More information about the subsurface mailing list