Lazarus console application

In this forum we will discuss things relating the ZEOSLib 6.6.x stable versions

Moderators: gto, EgonHugeist

Post Reply
ilyasid
Fresh Boarder
Fresh Boarder
Posts: 1
Joined: 15.06.2009, 13:33

Lazarus console application

Post by ilyasid »

Hi

I'm create console application in Lazarus (0.27) fpc 2.2.4. I put an ZConnection into uses section, if I start build my project have error - ZConnection not found. If I create other window application with same actions, build is ok.

Thanks
trupka
Expert Boarder
Expert Boarder
Posts: 140
Joined: 26.08.2007, 22:10

Post by trupka »

Unlike delphi, lazarus generates compiler library path dynamically, by taking into consideration what packages project uses. To use that feature, try to add zcomponent package to project required package list (Project->Project inspector menu).
If that don't work, manually add *\zeos\packages\lazarus\build path to compiler search path for corresponding project.
Post Reply