Well I got XE4, working well to make IOS programs, and RTC works in a VCL program, but I got stuck when I started trying to add RTC in a FireMonkey Mobile project.
When i try to compile there is an error message
Checking project dependencies...
Compiling Project2.dproj (Debug, iOSDevice)
dcc command line for "Project2.dpr"
c:\program files (x86)\embarcadero\rad studio\11.0\bin\dcciosarm.exe -$O- --no-config -M -Q -TX. -AGenerics.Collections=System.Generics.Collections;
Generics.Defaults=System.Generics.Defaults;WinTypes=Winapi.Windows;WinProcs=Winapi.Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE -DDEBUG
-E.\iOSDevice\Debug -I"c:\program files (x86)\embarcadero\rad studio\11.0\lib\iOSDevice\debug";"c:\program files (x86)\embarcadero\rad
studio\11.0\lib\iOSDevice\Release";E:\rtcxe4\Lib -LE"C:\Users\Public\Documents\RAD Studio\11.0\Bpl\iOSDevice" -LN"C:\Users\Public\Documents\RAD
Studio\11.0\Dcp\iOSDevice" -NU.\iOSDevice\Debug -NSSystem;Xml;Data;Datasnap;Web;Soap; -O"c:\program files (x86)\embarcadero\rad
studio\11.0\lib\iOSDevice\Release";E:\rtcxe4\Lib -R"c:\program files (x86)\embarcadero\rad studio\11.0\lib\iOSDevice\Release";E:\rtcxe4\Lib
-U"c:\program files (x86)\embarcadero\rad studio\11.0\lib\iOSDevice\debug";"c:\program files (x86)\embarcadero\rad studio\11.0\lib\iOSDevice\Release";
E:\rtcxe4\Lib --syslibroot:"C:\Users\Mitchell\Documents\RAD Studio\SDKs\iPhoneOS6.1.sdk" --frameworkpath:"C:\Users\Mitchell\Documents\RAD
Studio\SDKs\iPhoneOS6.1.sdk\System\Library\Frameworks";"C:\Users\Mitchell\Documents\RAD Studio\SDKs\iPhoneOS6.1.sdk\System\Library\PrivateFrameworks"
-V -VN --linker-option:"-arch armv7" -NO.\iOSDevice\Debug Project2.dpr
[DCC Error] rtcThrPool.pas(970): E2197 Constant object cannot be passed as var parameter
[DCC Fatal Error] rtcTimer.pas(651): F2063 Could not compile used unit 'rtcThrPool.pas'
Failed
Elapsed time: 00:00:00.3
[Warning] W1000 Symbol 'TList' is deprecated
This is the line causing the error :
destructor TRtcWorkerThread.Destroy;
begin
try
ClosingThread(self); // <------ right here
RtcFreeAndNil(Run);
inherited;
except
on E:Exception do
begin
if LOG_AV_ERRORS then
Log('TRtcWorkerThread.Destroy',E,'ERROR');
raise;
end;
end;
end;
This is SDK version 6.15.
I do realize this is in beta. I am hoping this may be just a simple compiler option setting, but I can't understand what the error is. And again, this program works when used in a VCL program.
Thanks for your time, have a nice weekend.