[Lazarus] IDE Package system has a problem

Mattias Gaertner nc-gaertnma at netcologne.de
Mon Feb 9 17:47:28 CET 2015


On Mon, 09 Feb 2015 17:59:28 +0200
FreeMan <freeman35 at delphiturkiye.com> wrote:

> osx fpc & lazarus svn qt x64
> this is my example:
> in Compiler options package's (-FU)
> ../all_libs/$(PkgName)/$(TargetCPU)-$(TargetOS)-$(LCLWidgetType)

Output directory of what package? 

> I have some 3.party components too, all -FU is same.

What is "all"?


> IDE maked in qt x64. In terminal, use "lazbuild" there is no problem, but,
> delete "../all_libs/" folder then, just new maked lazarus (without run 
> lazbuild on terminal) ~/.lazarus has 3.party components packs. Open any 
> package in IDE and build is okey, okey mean in 
> "../all_libs/$(PkgName)/$(TargetCPU)-$(TargetOS)-$(LCLWidgetType)" qt 
> folder and compiled files is right there, after click "install" ask 
> rebuild IDE ? yes, need to build other packages, but not opened in IDE, 
> all of them compiled, but "x86_64-darwin-carbon" not "x86_64-darwin-qt"
> this errors in messages

You need to set LCL widget type in 'Tools / Configure Build Lazarus'
to 'qt', otherwise it will use 'carbon'.


> Compiling package LCL 1.5: Exit code 256, Errors: 12, Warnings: 1
> carbonproc.pp(511,13) Error: Identifier not found "ATSUFindFontFromName"
> carbonproc.pp(534,14) Error: Identifier not found "ATSUFindFontName"
> carbonproc.pp(541,14) Error: Identifier not found "ATSUFindFontName"
> carbonproc.pp(562,11) Error: Identifier not found "FMGetFontFamilyFromName"
> carbonproc.pp(669,5) Error: Identifier not found "HIViewChangeFeatures"
> carbonproc.pp(672,11) Error: Identifier not found "HIViewSetVisible"
> carbonproc.pp(673,11) Error: Identifier not found "HIViewSetFrame"
> carbonproc.pp(696,3) Error: Identifier not found "GetControlBounds"
> carbonproc.pp(706,3) Error: Identifier not found "SetControlData"
> carbonproc.pp(731,36) Error: Identifier not found "GetControlEventTarget"
> carbonproc.pp(1345,12) Error: Identifier not found "GetThemeFont"
> carbonproc.pp(1345,43) Error: Identifier not found "GetApplicationScript"
> carbonproc.pp(1347,28) Warning: Local variable "sz" does not seem to be 
> initialized
> Compiling package My_Images 1.0: Aborted
> 
> if package not open in, $(LCLWidgetType) macro not get true value.


Mattias




More information about the Lazarus mailing list