Hey Jerry looks like the guy below got Kylix 3 OE to work with zeolib.
John
I've been trying to get the DataCLX visual components installed and usable
in both the C++ and Delphi ide's of Kylix 3 OE, but its not quite working.
Any help/advice would be greatly appreciated.
Here is what i have done so far:
1. I downloaded the FreeCLX source and compiled the dbclx subdirectory in it
on from the Delphi IDE. No problems with this, i ended up with 2 .so
sharelibs which I copyied into my library path.
2. I downloaded the dbcontrols package from the zeoslib.org page and
compiled/installed it with the package installer per the instructions for
Kylix 2. Near as I can tell all this package does is register the
visualdbclx components to IDE. All good so far. The components showed up on
the IDE.
3. I switched to the C++ ide and using "Install packages" installed the .so
that step 2 produced. This added the components to the c++ IDE.
4. Next I tried adding a TDBMemo to a form and compiling, the Dephi IDE
worked fine. The C++ IDE reports a missing .hpp's, which is fine since
there isnt any.
5. I build the *.hpp by performing the following on the freeclx/dbclx
directory:
$ ls *.pas | xargs --replace dcc {} -0../dbclx -DBCB -M -H -W
-JPHN -\$d-\$l-\$n+\$p+\$r-\$s-\$t-\$w-\$y-
$ ls *.dpk | xargs --replace dcc {} -0../dbclx -DBCB -M -H -W
-JPHN -\$d-\$l-\$n+\$p+\$r-\$s-\$t-\$w-\$y-
I get a few compile complaints mainly due to case mismatch errors (which i
fix) and calls to windows only packages ( which i ignore ). Are these
commands anywhere close to being the proper procedure?
7. I try the c++ ide again, and this time it gets to linking before telling
me that dataclx.a doesnt exist. So I:
$ ar qf dataclx.a *.o
6. I link dataclx.a into my library path and try the c++ ide again, and it
works. Good so far..
7. I next try adding a TDBNavigator to a form and kylix freezes. Becomes
totally unresponsive, and stops refreshing to screen. It has to be kill'd.
I try all the other visual components and they all work fine.
Why does TDBNavigator freeze the IDE? Anyone got it working?
Thanks in advance.
Ryan
John Fabiani
Woodland, CA