Closed jpage4500 closed 9 months ago
I figured this one out.. it took me a while so I'll list out what I noticed if it helps anyone else in the future (or myself the next time I try to build lol)
I noticed this in the output:
-- Found ZLIB: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk/usr/include /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk/usr/lib/libz.tbd
I checked and this MacOSX13.3.sdk
folder doesn't exist. My guess is last time I built this I was running OSX 13 and now it's 14. Anyway, I still had several build folders from the last time I built this library. So, I just deleted them all to really* build again from scratch and that worked (technically it's still building but I think it's working)
Yes. Generally, you need to delete all build directories and restart building from scratch if build tools or some dependencies were updated.
I've built the tdlib in the past before but I'm not able to today and was hoping someone could give some advice.
I tried with my own Android SDK but to keep it simple I also just followed the instructions here and got the same error: https://github.com/tdlib/td/blob/master/example/android/README.md
I'm using a Macbook Pro M1
Full output here: