Page 1 of 1

Xcode 13

Posted: Wed Sep 29, 2021 2:16 pm
by odysseusofmanywiles
When I download the ios source code from the home page and try to build it on Xcode 13, this is the error I get:
stdlib.h:143:10: No member named 'ldiv' in the global namespace; did you mean simply 'ldiv'?

Is this error expected? Is anyone else encountering this issue/similar issues on Xcode 13?
Note that I haven't changed anything with the source code.

Re: Xcode 13

Posted: Wed Sep 29, 2021 6:15 pm
by gcmartijn
I did give up, because I wait for the next love2d release and hope that it will fix things automatically (I din't need it at this time)

https://love2d.org/forums/viewtopic.php ... iv#p241895

Re: Xcode 13

Posted: Thu Sep 30, 2021 1:58 pm
by Nikki
https://github.com/love2d/love/commit/6 ... 4677a0cd7e

this fixed it for me

edit: also look here, you might need to to clone instead of using the release.
https://love2d.org/forums/viewtopic.php?t=89473

Re: Xcode 13

Posted: Fri Oct 01, 2021 7:07 pm
by odysseusofmanywiles
Thanks Nikki.

I downloaded the latest master branch and tried to run the sample love project. But I'm still getting some errors:
lua.h not found.

Did you run into that same error?