Page 1 of 1

Lazarus compile errors

Posted: 23.02.2016, 14:21
by IbeDBob
Hi, I am having this problem reported in the beta forum.
http://zeoslib.sourceforge.net/viewtopi ... 40&t=33408

I installed 7.1 first and got the problem so tried 7.2. Same issue, 172 Zeos specific warnings.

I deleted all of the problem files, but next compile, same issue.

Current versions of everything, win8.1 all up to date. It looks like it is compiling the files to it's own "lib" path instead of the Lazarus "lib". Justa guess.

Any fix or work around?

Re: Lazarus compile errors

Posted: 27.02.2016, 21:22
by Wolli
I have the same Problem:
Install Lazarus 1.6 on a clean PC
Install ZEOSDBO-7.1.4-stable (copy the files into a empty folder and install zcomponent.lpk)
New Project, add ZConnection, Compile
154 hints with duplicated units
Deinstall Lazarus 1.6
Install Lazarus 1.4.4
Install ZEOSDBO-7.1.4-stable
New Project, add ZConnection, Compile
no hints

Re: Lazarus compile errors

Posted: 07.03.2016, 15:56
by marsupilami
Hello Wolli,

my copied answer from the other thread:
Hello all,

It seems this is changed Lazarus behaviour. On my system (Win7, FPC 2.6, Lazarus trunk) I changed the unit output path (-FU) to a separate path per package:
lib\zcore\$(TargetCPU)-$(TargetOS)
lib\zparsesql\$(TargetCPU)-$(TargetOS)
lib\zplain\$(TargetCPU)-$(TargetOS)
lib\zdbc\$(TargetCPU)-$(TargetOS)
lib\zcomponent\$(TargetCPU)-$(TargetOS)

This resolves the situation for me.

Best regards,

Jan

Re: Lazarus compile errors

Posted: 24.04.2016, 17:32
by Wolli
OK, thank you, It works