Zeos 6.1.5, Kylix 3 and RedHat 9, Error ZConnection.dcu

Forum related to version 6.1.5 of ZeosLib's DBOs

Moderators: gto, cipto_kh, EgonHugeist

Post Reply
jvelez
Fresh Boarder
Fresh Boarder
Posts: 3
Joined: 26.10.2005, 04:14

Zeos 6.1.5, Kylix 3 and RedHat 9, Error ZConnection.dcu

Post by jvelez »

Hi guys!!!

I have a project with Kylix 3, RH9 and Zeos components 6.1.5-stable with mysql database.

I install packages sucessfully, but when i try compile the project, show me the follow error:

[Fatal Error]: File not found: 'ZConnection.dcu',

I try set the paths in Kylix --> Tools ---> Environment Options --> Lybrary
but no works.

Any can help me please???

Thanks!!!
pol
Senior Boarder
Senior Boarder
Posts: 91
Joined: 13.10.2005, 08:19

Post by pol »

Hi!
Did you set the paths for all subdirectories under src?
If yes, set the same paths under project --> options --> search path

HTH
Rüdiger
User avatar
aperger
Expert Boarder
Expert Boarder
Posts: 129
Joined: 24.08.2005, 08:24
Location: Veszprém
Contact:

Post by aperger »

Hi,

I think you should set "..../zeos_package_dir/build" directory into here:
In Kylix --> Tools ---> Environment Options --> Library

Attila
pol
Senior Boarder
Senior Boarder
Posts: 91
Joined: 13.10.2005, 08:19

Post by pol »

Hi Attila,
Yes, I think you are right. It would be easier, it is only one directory.

Greetings,
Rüdiger
satoto
Fresh Boarder
Fresh Boarder
Posts: 9
Joined: 21.08.2005, 04:51

Post by satoto »

Yes, that's right, but the problem is when installing zeos on kylix3 the compiler create *.dpu, while when compiling the project, the compiler asking for *.dcu. So, what should we do ? (Changing all extension for dpu to dcu). Renaming the files does not work.
Thanks in advance...
pol
Senior Boarder
Senior Boarder
Posts: 91
Joined: 13.10.2005, 08:19

Post by pol »

If I'm right (haven't done it for some time) it compiles allright when the compiler finds the .pas files. So if you set the project search path to the src folders, as I wrote in my first posting in this thread, it should work.

Greetings,
Rüdiger
satoto
Fresh Boarder
Fresh Boarder
Posts: 9
Joined: 21.08.2005, 04:51

Post by satoto »

Yes, it works. Thanks a lot, Rudiger ..... Meanwhile I can use kylix until lazarus settles the date/time problem in zeos .....
Post Reply