blikblum / luipack

Collection of Freepascal / Lazarus components and applications
56 stars 36 forks source link

Can't compile lclextensions #11

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hello:

I can't compile lclextensions package. My environment is:

  - lclextensions-0.4.zip
    => I tested 'http://luipack.googlecode.com/svn/trunk/lclextensions [r680]'
       with same result.
  - Lazarus 0.9.28.2-12
  - fpc 2.4.0-2
  - Linux Debian/testing (wheezy)
  - If you need more info please ask me...

The first problem while compiling is:

  Unable to find file "independentfuncions.inc"
  (...)

I fixed this problem doing this in 'Package lclextensions_package' window:

  Compiler Options -> Paths -> Include Files (-Fi):

  include/$(LCLWidgetType)/          <== original content
  include/$(LCLWidgetType)/;include/generic/     <== fixed content; (is this the way to do this?)

I made a second attempt and I got lots of compilation errors:

Hint: Start of reading config file /etc/fpc.cfg
Hint: End of reading config file /etc/fpc.cfg
Free Pascal Compiler version 2.4.0-2 [2010/02/20] for i386
Copyright (c) 1993-2009 by Florian Klaempfl
Target OS: Linux for i386
Compiling lclextensions_package.pas
Compiling delphicompat.pas
/tmp/lclextensions/include/generic/stubs.inc(2,10) Warning: Function result 
does not seem to be set
/tmp/lclextensions/delphicompat.pas(74,30) Hint: Parameter "nNumWindows" not 
used
/tmp/lclextensions/include/generic/stubs.inc(7,10) Warning: Function result 
does not seem to be set
/tmp/lclextensions/delphicompat.pas(78,20) Hint: Parameter "hImage" not used
/tmp/lclextensions/delphicompat.pas(78,37) Hint: Parameter "uType" not used
/tmp/lclextensions/delphicompat.pas(78,53) Hint: Parameter "cxDesired" not used
/tmp/lclextensions/delphicompat.pas(78,64) Hint: Parameter "cyDesired" not used
/tmp/lclextensions/delphicompat.pas(78,84) Hint: Parameter "fuFlags" not used
/tmp/lclextensions/include/generic/stubs.inc(12,10) Warning: Function result 
does not seem to be set
/tmp/lclextensions/delphicompat.pas(80,25) Hint: Parameter "hWinPosInfo" not 
used
/tmp/lclextensions/delphicompat.pas(80,38) Hint: Parameter "hWnd" not used
/tmp/lclextensions/delphicompat.pas(80,44) Hint: Parameter "hWndInsertAfter" 
not used
/tmp/lclextensions/delphicompat.pas(80,69) Hint: Parameter "x" not used
/tmp/lclextensions/delphicompat.pas(80,72) Hint: Parameter "y" not used
/tmp/lclextensions/delphicompat.pas(80,75) Hint: Parameter "cx" not used
/tmp/lclextensions/delphicompat.pas(80,79) Hint: Parameter "cy" not used
/tmp/lclextensions/delphicompat.pas(80,91) Hint: Parameter "uFlags" not used
/tmp/lclextensions/include/generic/stubs.inc(17,10) Warning: Function result 
does not seem to be set
/tmp/lclextensions/delphicompat.pas(83,28) Hint: Parameter "hWinPosInfo" not 
used
/tmp/lclextensions/include/generic/stubs.inc(22,10) Warning: Function result 
does not seem to be set
/tmp/lclextensions/include/generic/stubs.inc(27,10) Warning: Function result 
does not seem to be set
/tmp/lclextensions/include/generic/stubs.inc(46,10) Warning: Function result 
does not seem to be set
/tmp/lclextensions/delphicompat.pas(91,18) Hint: Parameter "hWnd" not used
/tmp/lclextensions/delphicompat.pas(91,32) Hint: Parameter "hrgnClip" not used
/tmp/lclextensions/delphicompat.pas(91,47) Hint: Parameter "flags" not used
/tmp/lclextensions/include/generic/stubs.inc(51,10) Warning: Function result 
does not seem to be set
/tmp/lclextensions/delphicompat.pas(93,28) Hint: Parameter "dwLayout" not used
/tmp/lclextensions/include/generic/stubs.inc(56,10) Warning: Function result 
does not seem to be set
/tmp/lclextensions/delphicompat.pas(94,27) Hint: Parameter "lpKeyState" not used
/tmp/lclextensions/include/generic/stubs.inc(61,10) Warning: Function result 
does not seem to be set
/tmp/lclextensions/delphicompat.pas(95,24) Hint: Parameter "Locale" not used
/tmp/lclextensions/delphicompat.pas(95,32) Hint: Parameter "LCType" not used
/tmp/lclextensions/delphicompat.pas(95,49) Hint: Parameter "lpLCData" not used
/tmp/lclextensions/delphicompat.pas(95,65) Hint: Parameter "cchData" not used
/tmp/lclextensions/include/generic/stubs.inc(67,10) Warning: Function result 
does not seem to be set
/tmp/lclextensions/include/generic/stubs.inc(67,21) Hint: Parameter "DC" not 
used
/tmp/lclextensions/include/generic/stubs.inc(73,10) Warning: Function result 
does not seem to be set
/tmp/lclextensions/delphicompat.pas(96,23) Hint: Parameter "DC" not used
/tmp/lclextensions/delphicompat.pas(96,32) Hint: Parameter "Rgn" not used
/tmp/lclextensions/delphicompat.pas(96,43) Hint: Parameter "iNum" not used
/tmp/lclextensions/include/generic/stubs.inc(88,10) Warning: Function result 
does not seem to be set
/tmp/lclextensions/delphicompat.pas(97,23) Hint: Parameter "hDC" not used
/tmp/lclextensions/include/generic/stubs.inc(95,10) Warning: Function result 
does not seem to be set
/tmp/lclextensions/delphicompat.pas(105,22) Hint: Parameter "hWnd" not used
/tmp/lclextensions/include/generic/stubs.inc(101,10) Warning: Function result 
does not seem to be set
/tmp/lclextensions/delphicompat.pas(107,35) Hint: Parameter "fShow" not used
/tmp/lclextensions/include/generic/stubs.inc(114,10) Warning: Function result 
does not seem to be set
/tmp/lclextensions/delphicompat.pas(112,26) Hint: Parameter "hWndFrom" not used
/tmp/lclextensions/delphicompat.pas(112,36) Hint: Parameter "hWndTo" not used
/tmp/lclextensions/delphicompat.pas(112,54) Hint: Parameter "lpPoints" not used
/tmp/lclextensions/delphicompat.pas(112,64) Hint: Parameter "cPoints" not used
/tmp/lclextensions/include/generic/stubs.inc(119,10) Warning: Function result 
does not seem to be set
/tmp/lclextensions/delphicompat.pas(113,30) Hint: Parameter "CodePage" not used
/tmp/lclextensions/delphicompat.pas(113,40) Hint: Parameter "dwFlags" not used
/tmp/lclextensions/delphicompat.pas(113,55) Hint: Parameter "lpMultiByteStr" 
not used
/tmp/lclextensions/delphicompat.pas(113,77) Hint: Parameter "cchMultiByte" not 
used
/tmp/lclextensions/delphicompat.pas(113,99) Hint: Parameter "lpWideCharStr" not 
used
/tmp/lclextensions/delphicompat.pas(113,123) Hint: Parameter "cchWideChar" not 
used
/tmp/lclextensions/include/generic/stubs.inc(125,10) Warning: Function result 
does not seem to be set
/tmp/lclextensions/delphicompat.pas(115,20) Hint: Parameter "hrgn" not used
/tmp/lclextensions/delphicompat.pas(115,31) Hint: Parameter "nxOffset" not used
/tmp/lclextensions/delphicompat.pas(115,41) Hint: Parameter "nYOffset" not used
/tmp/lclextensions/include/generic/stubs.inc(131,10) Warning: Function result 
does not seem to be set
/tmp/lclextensions/delphicompat.pas(119,19) Hint: Parameter "DC" not used
/tmp/lclextensions/delphicompat.pas(119,27) Hint: Parameter "dx" not used
/tmp/lclextensions/delphicompat.pas(119,39) Hint: Parameter "dy" not used
/tmp/lclextensions/delphicompat.pas(119,55) Hint: Parameter "lprcScroll" not 
used
/tmp/lclextensions/delphicompat.pas(119,77) Hint: Parameter "lprcClip" not used
/tmp/lclextensions/delphicompat.pas(119,92) Hint: Parameter "hrgnUpdate" not 
used
/tmp/lclextensions/delphicompat.pas(119,109) Hint: Parameter "lprcUpdate" not 
used
/tmp/lclextensions/include/generic/stubs.inc(144,10) Warning: Function result 
does not seem to be set
/tmp/lclextensions/delphicompat.pas(121,24) Hint: Parameter "DC" not used
/tmp/lclextensions/delphicompat.pas(121,32) Hint: Parameter "nXOrg" not used
/tmp/lclextensions/delphicompat.pas(121,39) Hint: Parameter "nYOrg" not used
/tmp/lclextensions/delphicompat.pas(121,54) Hint: Parameter "lppt" not used
/tmp/lclextensions/include/generic/stubs.inc(151,10) Warning: Function result 
does not seem to be set
/tmp/lclextensions/include/generic/stubs.inc(151,21) Hint: Parameter "DC" not 
used
/tmp/lclextensions/include/generic/stubs.inc(151,30) Hint: Parameter 
"fnMapMode" not used
/tmp/lclextensions/include/generic/stubs.inc(157,10) Warning: Function result 
does not seem to be set
/tmp/lclextensions/delphicompat.pas(123,27) Hint: Parameter "lprcDst" not used
/tmp/lclextensions/delphicompat.pas(123,49) Hint: Parameter "lprcSrc1" not used
/tmp/lclextensions/delphicompat.pas(123,59) Hint: Parameter "lprcSrc2" not used
/tmp/lclextensions/include/generic/stubs.inc(162,10) Warning: Function result 
does not seem to be set
/tmp/lclextensions/delphicompat.pas(126,18) Hint: Parameter "uVirtKey" not used
/tmp/lclextensions/delphicompat.pas(126,28) Hint: Parameter "uScanCode" not used
/tmp/lclextensions/delphicompat.pas(126,48) Hint: Parameter "lpKeyState" not 
used
/tmp/lclextensions/delphicompat.pas(126,67) Hint: Parameter "lpChar" not used
/tmp/lclextensions/delphicompat.pas(126,82) Hint: Parameter "uFlags" not used
/tmp/lclextensions/include/generic/stubs.inc(167,10) Warning: Function result 
does not seem to be set
/tmp/lclextensions/delphicompat.pas(128,23) Hint: Parameter "Handle" not used
/tmp/lclextensions/include/generic/independentfunctions.inc(15,65) Error: 
Identifier not found "RDW_ERASE"
/tmp/lclextensions/include/generic/unicodefunctions.inc(55,43) Hint: Variable 
"Size" does not seem to be initialized
/tmp/lclextensions/include/generic/unicodefunctions.inc(75,43) Hint: Variable 
"Size" does not seem to be initialized
/tmp/lclextensions/include/gtk2/delphicompat.inc(67,27) Hint: Local variable 
"TM" does not seem to be initialized
/tmp/lclextensions/include/gtk2/delphicompat.inc(81,32) Error: Identifier not 
found "TGtkDeviceContext"
/tmp/lclextensions/include/gtk2/delphicompat.inc(93,17) Error: Identifier not 
found "OBJ_BITMAP"
/tmp/lclextensions/include/gtk2/delphicompat.inc(93,17) Error: Constant 
Expression expected
/tmp/lclextensions/include/gtk2/delphicompat.inc(93,29) Hint: Conversion 
between ordinals and pointers is not portable
/tmp/lclextensions/include/gtk2/delphicompat.inc(94,16) Error: Identifier not 
found "OBJ_BRUSH"
/tmp/lclextensions/include/gtk2/delphicompat.inc(94,16) Error: Constant 
Expression expected
/tmp/lclextensions/include/gtk2/delphicompat.inc(94,16) Error: duplicate case 
label
/tmp/lclextensions/include/gtk2/delphicompat.inc(94,28) Hint: Conversion 
between ordinals and pointers is not portable
/tmp/lclextensions/include/gtk2/delphicompat.inc(95,15) Error: Identifier not 
found "OBJ_FONT"
/tmp/lclextensions/include/gtk2/delphicompat.inc(95,15) Error: Constant 
Expression expected
/tmp/lclextensions/include/gtk2/delphicompat.inc(95,15) Error: duplicate case 
label
/tmp/lclextensions/include/gtk2/delphicompat.inc(95,27) Hint: Conversion 
between ordinals and pointers is not portable
/tmp/lclextensions/include/gtk2/delphicompat.inc(96,14) Error: Identifier not 
found "OBJ_PEN"
/tmp/lclextensions/include/gtk2/delphicompat.inc(96,14) Error: Constant 
Expression expected
/tmp/lclextensions/include/gtk2/delphicompat.inc(96,14) Error: duplicate case 
label
/tmp/lclextensions/include/gtk2/delphicompat.inc(96,26) Hint: Conversion 
between ordinals and pointers is not portable
/tmp/lclextensions/include/gtk2/delphicompat.inc(178,64) Error: Identifier not 
found "GdkFalse"
/tmp/lclextensions/include/gtk2/delphicompat.inc(259,21) Error: Identifier not 
found "GdkFalse"
/tmp/lclextensions/include/gtk2/delphicompat.inc(268,26) Error: Identifier not 
found "GdkTrue"
/tmp/lclextensions/include/gtk2/delphicompat.inc(275,28) Error: Identifier not 
found "GdkTrue"
/tmp/lclextensions/include/gtk2/delphicompat.inc(290,37) Error: Identifier not 
found "GetLCLObject"
/tmp/lclextensions/include/gtk2/delphicompat.inc(290,38) Hint: Conversion 
between ordinals and pointers is not portable
/tmp/lclextensions/delphicompat.pas(169) Fatal: There were 18 errors compiling 
module, stopping

Thank you in advance for your help
Best regards
Sergio

Original issue reported on code.google.com by sfmu...@gmail.com on 28 Sep 2011 at 4:50

GoogleCodeExporter commented 9 years ago
The lclextensions requires Lazarus 0.9.30.

If you wants to use Lazarus 0.9.28 you can try an  older vesrion of 
lclextensions like svn revision 540 (version 0.3)

Original comment by luizamer...@gmail.com on 1 Oct 2011 at 12:25

GoogleCodeExporter commented 9 years ago
OK: I'll use Lazarus 0.9.30.

Thank you very much for your help
Best regards

Original comment by sfmu...@gmail.com on 3 Oct 2011 at 6:10