Page 1 of 2
Unidac doesn't compile on Lazarus 64 bit.
Posted: Tue 12 Jul 2011 01:51
by 99Percent
Unidac for Linux requires libc unit which is deprecated and no longer supported under freepascal 64 bit.
I don't think it would be very difficult for devart to make Unidac code compatible to linux 64, replacing all references to libc with current units (sockets, unix, baseunix, etc).
Posted: Tue 12 Jul 2011 10:16
by AlexP
Hello,
We plan to release versions of DAC products for x64 Linux and Windows in August.
Posted: Sat 20 Aug 2011 15:43
by 99Percent
Quite disappointed the 4.0 beta doesn't support Linux 64. Please don't ignore Lazarus comunity.
Posted: Mon 22 Aug 2011 12:08
by AndreyZ
We will add support for x64 Linux, but for the time being we cannot provide any timeframe.
Posted: Wed 23 Nov 2011 23:18
by sir.wally.lewis
We need support for 64 bit linux urgently.
Kind Regards,
Robert.
Posted: Thu 24 Nov 2011 08:11
by AlexP
Hello,
We've implemented support for Lazarus for Linux x64 in our DAC products. This version will be available today or tomorrow.
Re: Unidac doesn't compile on Lazarus 64 bit.
Posted: Sun 27 May 2012 23:55
by Mark@Basx
How about Windows 64?
I tried to compile Unidac for Lazarus, running Lazarus 0.9.30.4 x86-64 version. In the unit CRParser, in
procedure TParser.ToRightQuoteA, at line 426 (
MOV RCX, i), we are getting the error:
C:\V2\brsource\3rdParty\Devart\UniDAC\Source\CRParser.pas(426,14) Error: Size suffix and destination or source size do not match
We have been able to proceed by reverting to 32-bit Lazarus.
Is this a known problem? Any solutions forthcoming?
TIA
Mark
Re: Unidac doesn't compile on Lazarus 64 bit.
Posted: Mon 28 May 2012 09:03
by AlexP
Hello,
The latest UniDAC version 4.1.6 is installed on Lazarus 0.9.30.4 with FPC 2.6.0 with no errors independently on the platform (Win32 or Win64). Make sure you are using the specified product versions, and that there are no old UniDAC files (*.pas, *.ppu, *.o, etc.) remained from the previous versions. If this doesn't help, try reinstalling Lazarus having previously removed all its files and settings, from the registry as well.
Re: Unidac doesn't compile on Lazarus 64 bit.
Posted: Fri 15 Jun 2012 05:37
by sir.wally.lewis
This is urgent for us as well.
I compile the unidac packages perfectly well in Lazarus 64 bit 0.9.30.4 FPC 2.6.0
However this unit as the original poster states is failing to compile.
I have removed all previous copies of code.
Devart\UniDAC\Source\CRParser.pas(426,14) Error: Size suffix and destination or source size do not match
Devart\UniDAC\Source\CRParser.pas(1520) Fatal: There were 1 errors compiling module, stopping
This is not an users bug!
It is unidac!
We need this fixed urgently.
Kind Regards,
Robert.
Re: Unidac doesn't compile on Lazarus 64 bit.
Posted: Fri 15 Jun 2012 05:42
by sir.wally.lewis
I have added my own fix at line 406 :
{$IFDEF CPUX64}
i : int64;
{$ELSE}
i : integer;
{$ENDIF}
Now compiles well.
Kind Regards,
Robert.
Re: Unidac doesn't compile on Lazarus 64 bit.
Posted: Fri 15 Jun 2012 08:46
by AlexP
hello,
Please, specify the name and the exact version of the Linux core you are using, as with the latest Ubuntu x64 (on which we test our products) such problems do not occur.
Re: Unidac doesn't compile on Lazarus 64 bit.
Posted: Fri 15 Jun 2012 23:31
by sir.wally.lewis
I am using 64 bit windows. windows 7.
It is clearly an error as I have given the fix.
My components install fine. It is only when I use it fails.
Re: Unidac doesn't compile on Lazarus 64 bit.
Posted: Mon 18 Jun 2012 08:45
by AlexP
hello,
We cannot reproduce the described problems on Windows x64. These problems may be due to specific settings of your Lazarus project. Please create a simple project reproducing the problem and send it to us in order that we can reproduce and fix the problem
Re: Unidac doesn't compile on Lazarus 64 bit.
Posted: Tue 19 Jun 2012 02:56
by sir.wally.lewis
have reproduced an error not the same one. by simply compiling a lazarus package with unidac.
I have posted a message to the contacts page of devart. with an example project/package.
Re: Unidac doesn't compile on Lazarus 64 bit.
Posted: Tue 19 Jun 2012 09:52
by AlexP
hello,
Thank you, I have received your letter. I will reply as soon as any additional information appears.