Xcode 13

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
odysseusofmanywiles
Prole
Posts: 7
Joined: Tue Jan 19, 2021 7:17 am

Xcode 13

Post 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.
gcmartijn
Party member
Posts: 134
Joined: Sat Dec 28, 2019 6:35 pm

Re: Xcode 13

Post 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
User avatar
Nikki
Citizen
Posts: 83
Joined: Wed Jan 25, 2017 5:42 pm

Re: Xcode 13

Post 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
odysseusofmanywiles
Prole
Posts: 7
Joined: Tue Jan 19, 2021 7:17 am

Re: Xcode 13

Post 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?
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 47 guests