Page 1 of 3
Zeos on XE2?
Posted: 07.09.2011, 21:30
by jeremicm
XE2 is here, with 64b compiler... anyone tried to install zeos on new rad studio yet?
Posted: 08.09.2011, 00:13
by Lidael
I have some should-be-working packages on my local machine. I'm not finished with the OS X lib stuff, and unfortunatly the field-test license did run out, so i need to grab the trial to test. So give me some days more. MySQL was working in a simple testprogramm.
Posted: 12.09.2011, 22:09
by berndvf
I am trying to compile in Delphi XE2 Starter but I am having problems with ZDbcADOResultSet.pas. It seems that the parameters for IColumnsInfo.GetColumnInfo have changed but because I am on Starter I can't see the source
Has anyone had any luck with this ?
Posted: 14.09.2011, 11:38
by berndvf
I have got it compiling in Delphi Starter XE2. Here is a patch for rev 935:
http://www.summerswell.co.za/wp-content ... phixe2.zip if anyone needs it
Posted: 14.09.2011, 20:41
by mdaems
berndvf,
I did commit part of your changes (SVN rev 936):
- The packages directory
- component/ZAbstractRODataset.pas
[s]- core/ZSysUtils.pas[/s] (The TZSortedList.Sort change doesn't compile on fpc)
- dbc/ZDbcAdoResultSet.pas (With extra compiler directive in uses clause)
- dbc/ZDbcAdoStatement.pas
- Zeos.inc
Is this change in ZSysUtils.pas really needed for XE2?
If you don't mind changing the build scripts to include this new compiler, please change, test and send us an additional patch file.
Mark
Posted: 15.09.2011, 08:59
by berndvf
Hi Mark,
Apologies, I forgot to add compiler directive for the ZSysUtils. It was giving an error about the parameters not matching, hence the change. Unfortunately with only having the Starter Edition I can't go any deeper into the RTL to see if there is a change there. I will investigate this some more. I will have a look at the build scripts later today.
Bernd
Posted: 15.09.2011, 13:48
by bernhard
would also like to use ZEOS with DELPHI XE2 .
is it possible to get a bit more info how to use the patch ??? or
use
https://zeoslib.svn.sourceforge.net/svnroot/zeoslib zeoslib and I can already compile ?
64bit compile any chance ???
Posted: 15.09.2011, 14:30
by berndvf
Hi Mark,
Regarding ZSysUtils, looking at the documentation it looks like previously it was a PPointerList (
http://docwiki.embarcadero.com/VCL/XE/e ... TList.List ) whereas now in Delphi XE2 it is a TPointerList (
http://docwiki.embarcadero.com/VCL/en/C ... TList.List ). I have updated the ZSysUtils with a compiler directive for XE2.
I've updated the build scripts as best I can, but because Starter has no command line compiler I can't test whether its working for XE2. Not sure whether I need to update the "build_template.properties" file, but it looks like the last change was for Delphi12.
Let me know if there is anything else that I can do.
Bernd
Posted: 17.09.2011, 13:26
by bernhard
I may do some evaluation with my very new Delphi XE2 enterprise version
a) is
https://zeoslib.svn.sourceforge.net/svnroot/zeoslib the link to download the latest version of ZEOS ???
b) any hints / advise for compiling that library ?
Posted: 17.09.2011, 14:08
by seawolf
svn repo is
https://zeoslib.svn.sourceforge.net/svnroot/zeoslib
XE2 changes are under branches testing
Posted: 18.09.2011, 20:09
by mdaems
bernhard,
You can test now. The second patch has been applied in rev. 937 on
https://zeoslib.svn.sourceforge.net/svn ... es/testing
Mark
Posted: 19.10.2011, 22:43
by bernhard
after download from SVN I used testing\packages\delphi16\ZEOSDboDev,
compile seems to be fine but I can't install the components
ZCore160.bpl (compile& Build OK)
ZPlain160.bpl (compile& Build OK)
ZparseSql160.bpl (compile& Build OK)
ZDBc _XE2160.bpl (compile& Build OK)
ZComponentr_XE2160.bpl - here cant compile
just add search path \testing\packackes\delphi16\ does not solve ,
my compiler always claims I did not build ZDbc
all searchpathes are set to \build\ directory
Posted: 20.10.2011, 16:24
by seawolf
Those packages
ZDBc _XE2160.bpl (compile& Build OK)
ZComponentr_XE2160.bpl - here cant compile
Should not exists, thus I can't understand which ZEOSDboDev
are you using ... I suppose you have a previous version of Zeos lib
already installed, or attach your ZeosDboDev, in order to check where
is the error
Posted: 03.11.2011, 23:35
by bernhard
on
http://www.delphipraxis.net/164241-delp ... ation.html i made a short docu on my success installing ZEOS 7.0.0 with Delphi XE2,
The zcomponent.pas had a bug, there is one {$endid} which I had to remove prior to the installation
Posted: 05.11.2011, 21:08
by jeremicm
bernhard wrote:after download from SVN I used testing\packages\delphi16\ZEOSDboDev,
compile seems to be fine but I can't install the components
ZCore160.bpl (compile& Build OK)
ZPlain160.bpl (compile& Build OK)
ZparseSql160.bpl (compile& Build OK)
ZDBc _XE2160.bpl (compile& Build OK)
ZComponentr_XE2160.bpl - here cant compile
just add search path \testing\packackes\delphi16\ does not solve ,
my compiler always claims I did not build ZDbc
all searchpathes are set to \build\ directory
This is an error in project conversion... Delete all zeos downloaded files, download them again and open ZeosDBO project group.
When You are asked to convert projects to new version, just chose "Convert in place (no backup)" or something like that...
If delphi don't ask you that, you can turn this option in "tools/options/project upgrading".