Unidac doesn't compile on Lazarus 64 bit.
Unidac doesn't compile on Lazarus 64 bit.
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).
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).
-
AndreyZ
-
sir.wally.lewis
- Posts: 42
- Joined: Thu 25 Nov 2010 05:01
- Location: PS
Re: Unidac doesn't compile on Lazarus 64 bit.
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:
Is this a known problem? Any solutions forthcoming?
TIA
Mark
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:
We have been able to proceed by reverting to 32-bit Lazarus.C:\V2\brsource\3rdParty\Devart\UniDAC\Source\CRParser.pas(426,14) Error: Size suffix and destination or source size do not match
Is this a known problem? Any solutions forthcoming?
TIA
Mark
Re: Unidac doesn't compile on Lazarus 64 bit.
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.
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.
-
sir.wally.lewis
- Posts: 42
- Joined: Thu 25 Nov 2010 05:01
- Location: PS
Re: Unidac doesn't compile on Lazarus 64 bit.
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.
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.
-
sir.wally.lewis
- Posts: 42
- Joined: Thu 25 Nov 2010 05:01
- Location: PS
Re: Unidac doesn't compile on Lazarus 64 bit.
I have added my own fix at line 406 :
{$IFDEF CPUX64}
i : int64;
{$ELSE}
i : integer;
{$ENDIF}
Now compiles well.
Kind Regards,
Robert.
{$IFDEF CPUX64}
i : int64;
{$ELSE}
i : integer;
{$ENDIF}
Now compiles well.
Kind Regards,
Robert.
Re: Unidac doesn't compile on Lazarus 64 bit.
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.
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.
-
sir.wally.lewis
- Posts: 42
- Joined: Thu 25 Nov 2010 05:01
- Location: PS
Re: Unidac doesn't compile on Lazarus 64 bit.
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.
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.
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
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
-
sir.wally.lewis
- Posts: 42
- Joined: Thu 25 Nov 2010 05:01
- Location: PS
Re: Unidac doesn't compile on Lazarus 64 bit.
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.
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.
hello,
Thank you, I have received your letter. I will reply as soon as any additional information appears.
Thank you, I have received your letter. I will reply as soon as any additional information appears.