Lazarus compile errors

The official tester's forum for ZeosLib 7.1. Ask for help, post proposals or solutions.
Post Reply
IbeDBob
Junior Boarder
Junior Boarder
Posts: 47
Joined: 27.05.2010, 21:04

Lazarus compile errors

Post 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?
Thanks

Dyslexic Bob
Wolli
Fresh Boarder
Fresh Boarder
Posts: 3
Joined: 07.01.2015, 21:14

Re: Lazarus compile errors

Post 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
marsupilami
Platinum Boarder
Platinum Boarder
Posts: 1939
Joined: 17.01.2011, 14:17

Re: Lazarus compile errors

Post 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
Wolli
Fresh Boarder
Fresh Boarder
Posts: 3
Joined: 07.01.2015, 21:14

Re: Lazarus compile errors

Post by Wolli »

OK, thank you, It works
Post Reply