Page 1 of 1

Unidac compilation problem with iOS

Posted: Thu 19 Dec 2013 09:22
by romainlibert
Hello,

I've recently upgraded to delphi XE5 and installed Unidac version 5.1.4 from 23-Sep-13, sorry I did not found the exact version number.

I had no problem installing it, I had no problem compiling a win32 project using it, however when I try to compile an iOS project it just give me an DCC fatal error F2051, and complains about unit UniProvider which would have been compiled using a different version of System.Generics.Collections.TThreadList.

What could be the problem? I already uninstalled the old version I was using with XE4 (and removed XE4 at the same time).

ps: I appologize for my bad english, this is not my first tongue

Re: Unidac compilation problem with iOS

Posted: Thu 19 Dec 2013 09:33
by AndreyZ
Hello,

For the time being, UniDAC does not support RAD Studio XE5 Update 2. We plan to release UniDAC with RAD Studio XE5 Update 2 support this or next week.

Re: Unidac compilation problem with iOS

Posted: Thu 19 Dec 2013 11:11
by CristianP
romainlibert wrote:Hello,
...complains about unit UniProvider which would have been compiled using a different version of System.Generics.Collections.TThreadList.
This is one of the reasons I prefer to buy third party libraries with sources.
In your case switching from .dcu to .pas will solve this problem. For me is working.

This is a limitation of Delphi .dcu architecture. dcu is not like dll but provide more informations to the linker.


Best Regards,
Cristian Peta

Re: Unidac compilation problem with iOS

Posted: Thu 19 Dec 2013 14:25
by romainlibert
CristianP wrote: In your case switching from .dcu to .pas will solve this problem. For me is working.
Yes that is what I read on the internet, recompiling directly from the source with my compiler would make it work. But I don't have these. Is it possible to get the sources? If it is where and how do I get them?

Or maybe the best solution I have is to wait until the release of UniDac with support for RAD Studio XE5 Update 2 ...

I still don't know, but I'm switching back to XE4 for the time being, I cannot afford losing development time because a library doesn't compile.

Re: Unidac compilation problem with iOS

Posted: Thu 19 Dec 2013 15:55
by AndreyZ
To use UniDAC source code, you should have (or buy) UniDAC Professional Edition with Source Code. For more information, please refer to http://www.devart.com/unidac/editions.html