Lazarus compile errors

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

Lazarus compile errors

Postby IbeDBob » 23.02.2016, 14:21

Hi, I am having this problem reported in the beta forum.
viewtopic.php?f=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

Postby Wolli » 27.02.2016, 21:22

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
Gold Boarder
Gold Boarder
Posts: 625
Joined: 17.01.2011, 14:17

Re: Lazarus compile errors

Postby marsupilami » 07.03.2016, 15:56

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

Postby Wolli » 24.04.2016, 17:32

OK, thank you, It works


Return to “ZeosLib 7.1 stable Forum”

Who is online

Users browsing this forum: Bing [Bot] and 1 guest