C++Builder FMX for MacOSX and Android. I get some errors in a new simple blank project without anything else. Concretely...
- I get 51 errors from the Mac SDK in units like "usr/include/dispatch/time.h". The first error:
[bccosx Error] time.h(71): E2324 Numeric constant too large
- I get 10 errors from the Android SDK at the unit "android-ndk-r17b\sysroot\usr\include\string.h". The first error:
[bccaarm Error] string.h(204): functions that differ only in their return type cannot be overloaded
Re macOS: Please make sure you're using the macOS 10.13 SDK. C++Builder in 10.3.0 doesn't yet support the 10.14 SDK (of course, support is on the way.) See http://docwiki.embarcadero.com/RADStudio/Rio/en/Release_Notes#macOS_Mojave_DevelopmentRe Android: This is an issue relating to the Android SDK. To resolve it, please follow the steps in http://docwiki.embarcadero.com/RADStudio/Rio/en/Release_Notes#Android_SDK.2FNDK_Installation_Steps (both the Android SDK/NDK Installation Steps and Additional Android SDK Configuration Steps for C++Builder sections.)
Thanks for the answer David.
Worked fine with Xcode 9.4.1. Thanks!
I've verified the Android SDK and recreated it but I still get the same errors. Note my base path is not at "C:\Users\Public\Documents\Embarcadero\Studio\20.0\PlatformSDKs", but at "E:\Program Files (x86)\Embarcadero\Studio\20.0\PlatformSDKs\android-sdk-windows".
Is there another way to fix that "lacking setting"?
Using Xcode 9.4.1 and the 10.13 SDK, yet I'm still getting errors for macOS.
If I create a brand new SDK and use the default local root directory I get:
[xlink.exe Error] Fatal: Unable to open file 'LIBSYSTEM.B.DYLIB'
Then if I change this directory to "C:\Program Files (x86)\Embarcadero\Studio\20.0\Redist\osx32\MacOSX10.13.sdk" (where I copied the SDK) and update the local file cache, I get a new error:
[xlink.exe Error] Fatal: Unable to open file 'System.StartUpCopy.o'