Recent

Author Topic: Building errors  (Read 1802 times)

xinyiman

  • Hero Member
  • *****
  • Posts: 2256
    • Lazarus and Free Pascal italian community
Building errors
« on: April 06, 2018, 09:56:04 am »
Hi guys, I was trying to compile this application on Mac OS X. But he returns this error to me. Because? How do I solve?

https://bitbucket.org/reiniero/lazopenqbuilder

Code: [Select]
Compile Project, Target: project1: Exit code 256, Errors: 17, Hints: 4
QBuilder.pas(876,5) Error: Identifier not found "lpGtk"
QBuilder.pas(876,10) Error: Constant Expression expected
QBuilder.pas(877,5) Error: Identifier not found "lpGtk2"
QBuilder.pas(877,11) Error: Constant Expression expected
QBuilder.pas(877,11) Error: duplicate case label
QBuilder.pas(878,5) Error: Identifier not found "lpWin32"
QBuilder.pas(878,12) Error: Constant Expression expected
QBuilder.pas(878,12) Error: duplicate case label
QBuilder.pas(879,5) Error: Identifier not found "lpCarbon"
QBuilder.pas(879,13) Error: Constant Expression expected
QBuilder.pas(879,13) Error: duplicate case label
QBuilder.pas(880,5) Error: Identifier not found "lpQT"
QBuilder.pas(880,9) Error: Constant Expression expected
QBuilder.pas(880,9) Error: duplicate case label
QBuilder.pas(881,5) Error: Identifier not found "lpfpGUI"
QBuilder.pas(881,12) Error: Constant Expression expected
QBuilder.pas(881,12) Error: duplicate case label
QBuilder.pas(1788,31) Hint: Local variable "mRow" does not seem to be initialized
QBuilder.pas(1788,25) Hint: Local variable "mCol" does not seem to be initialized
QBuilder.pas(1861,33) Hint: Local variable "dRow" does not seem to be initialized
QBuilder.pas(1861,27) Hint: Local variable "dCol" does not seem to be initialized
Win10, Ubuntu and Mac
Lazarus: 2.1.0
FPC: 3.3.1

wp

  • Hero Member
  • *****
  • Posts: 11916
Re: Building errors
« Reply #1 on: April 06, 2018, 10:04:18 am »
Add unit lclPlatformDef to the uses clause of QBuilder.

 

TinyPortal © 2005-2018