Print Page | Close Window

Trial gives compile time error

Printed From: TMS Software
Category: FMX Components
Forum Name: FMX mCL
Forum Discription:
URL: http://www.tmssoftware.com/site/forum/forum_posts.asp?TID=2975
Printed Date: 24 Feb 2020 at 12:42pm


Topic: Trial gives compile time error
Posted By: North Jeremy
Subject: Trial gives compile time error
Date Posted: 13 Sep 2013 at 8:43am
[dccosx Fatal Error] Unit296.pas(8): F2051 Unit FMX.TMSNativeNSCore was compiled with a different version of Macapi.ObjectiveC.TOCGenericImport`2.GetOCClass

Anyone else got this error? Simple app with a native button on the form.

Delphi XE4 Update 1 version
Embarcadero« Delphi« XE4 Version 18.0.4905.60485 



Replies:
Posted By: Pieter Scheldeman
Date Posted: 13 Sep 2013 at 9:51am
Hi, 

We have received similar reports, unfortunately it is not yet clear why this is a problem for some users while other users are up and running. It could be a combination of Rad Studio XE4 / Mobile Studio / Update 1. The registered version does not have this issue, the setup compiles the files on the user machine, while the trial version is built on our machine. We generate files to be compatible with Rad Studio XE4 Update 1.

Kind Regards, 
Pieter


Posted By: North Jeremy
Date Posted: 18 Sep 2013 at 4:25am
Can we get a compiled version of the samples then?

I am using Update 1 of XE4.


Posted By: Pieter Scheldeman
Date Posted: 18 Sep 2013 at 4:27am
Hi, 

We have investigated this here and the new version 1.0.1.0 should be able to install a working trial version.

Kind Regards, 
Pieter


Posted By: Gei├čler Frank
Date Posted: 02 Oct 2013 at 7:21pm
The error is still present.

[dccosx Fataler Fehler] Unit1.pas(9): F2051 Unit FMX.TMSNativeNSCore wurde mit einer unterschiedlichen Version von Macapi.ObjectiveC.TOCGenericImport`2.GetOCClass compiliert

I have a simple app with one TMSNativeNSButton on the form.

Also demos apps does not work .

Delphi« XE5 Version 19.0.13476.4176


Posted By: Pieter Scheldeman
Date Posted: 03 Oct 2013 at 2:32am
Are you using a trial or registered version of XE5?


Posted By: Gei├čler Frank
Date Posted: 03 Oct 2013 at 5:09am
I use a registered version of Delphi XE Enterprise 5 with registered versions of TMS Component Pack, TMS and TMS iCL Pack for FireMonkey.


Posted By: Lau Edwin
Date Posted: 07 Oct 2013 at 3:59am
I got the same issue with a registered version of Delphi XE5 but trial version of the mCL.



Posted By: Pieter Scheldeman
Date Posted: 07 Oct 2013 at 4:52am
The trial version of mCL in combination with trial of registered version of XE5 could have some issues in specific combinations. It is unclear why this is happening, we will investigate this further.

The registered version of TMS mCL should not have an issue, as the files are compiled on your machine. If you have the registered version, you can try to manually compile the files from the IDE in Win32 and then add them on the form in an OSX32 project, which will automatically recompile the files for the OSX32 platform.

Kind Regards, 
Pieter


Posted By: Bauer Ingeborg
Date Posted: 31 Oct 2013 at 6:41am
I have the same problem with XE5 (non trial) Update 1 and mCL trial.

Ronald



Posted By: Pieter Scheldeman
Date Posted: 04 Nov 2013 at 2:48am
TMS mCL is not yet compiled with XE5 Update 1, so this might also be the reason why you are getting this issue with a registered version. The trial version only works with a registered XE5 without update 1.

Kind Regards, 
Pieter


Posted By: Kowal Janusz
Date Posted: 19 Jun 2014 at 12:13pm
I have the same problem with XE5 (registered version) Update 2, and mCL trial.
Janusz


Posted By: Bruno Fierens
Date Posted: 19 Jun 2014 at 5:26pm
We have meanwhile updated TMS mCL to compile with XE5 update 2 (install from full ISO) and choose the "release" target type.


Posted By: Kowal Janusz
Date Posted: 27 Jul 2014 at 5:34am
With V1.6.1.0 (JUL 4, 2014) version is the same problem.
[dccosx Fatal Error] UTableView.pas(8): F2051 Unit FMX.TMSNativeNSCore was compiled with a different version of Macapi.ObjectiveC.TOCGenericImport`2.GetOCClass


Posted By: Bruno Fierens
Date Posted: 27 Jul 2014 at 6:00am
1) Are you 100% sure you compile the app in release mode?
2) What Mac OS-X version did you import the libraries from?
3) Is this Delphi XE5 update 2 with mobile pack or RAD Studio XE5 update 2?
4) Did you perform the update 2 install completely new from ISO?


Posted By: Kowal Janusz
Date Posted: 27 Jul 2014 at 6:35am
Sorry,
I have debug mode for the this app.
Thanks, now is OK.



Print Page | Close Window