Recent

Author Topic: [SOLVED] Where do I set "LCL Widget Type"  (Read 10698 times)

mirce.vladimirov

  • Sr. Member
  • ****
  • Posts: 268
[SOLVED] Where do I set "LCL Widget Type"
« on: November 08, 2012, 11:46:26 pm »
Under http://wiki.lazarus.freepascal.org/Windows_CE_Interface#Using_the_stable_add-on_installer_.28Recommended_Method.29  it is described :
Quote
You can now compile arm-wince application from within Lazarus by changing in the compiler options:
    Projects -> Compiler Options... -> Paths -> LCL Widget Type: wince
    Projects -> Compiler Options... -> Code -> Target OS: wince
    Projects -> Compiler Options... -> Code -> Target CPU Family: arm

But I use Lazarus 1.0, and under "Project" there is "project options" there are no "LCL Widget Type" while the second and third line the ones with the "TargetOS" and "Target CPU Family" are found under the Projetc->ProjectOptions->CompilerOptions->CodeGenerations.
So I've set up the second and third, but did not know what to do about the "LCL Widget Type" but tried to compile and got this :
Quote
win32\win32wsdialogs.pp(0,0) Fatal: Can not find unit shlobj used by Win32WSDialogs.

I believe that the Documentation under the link above is a bit old, and I would like to know what should to make it work ?
« Last Edit: November 09, 2012, 03:09:16 pm by mirce.vladimirov »

taazz

  • Hero Member
  • *****
  • Posts: 5368
Re: Where do I set "LCL Widget Type"
« Reply #1 on: November 08, 2012, 11:52:07 pm »
Take a look on the screen shots bellow.
Good judgement is the result of experience … Experience is the result of bad judgement.

OS : Windows 7 64 bit
Laz: Lazarus 1.4.4 FPC 2.6.4 i386-win32-win32/win64

mirce.vladimirov

  • Sr. Member
  • ****
  • Posts: 268
Re: [SOLVED] Where do I set "LCL Widget Type"
« Reply #2 on: November 09, 2012, 03:10:02 pm »
Thank you very mutch, that was it.

bastock

  • Newbie
  • Posts: 2
Re: [SOLVED] Where do I set "LCL Widget Type"
« Reply #3 on: January 04, 2013, 09:01:16 pm »
I have same problem as the TS

But i don't have the 'IDE Macro values' option  %)

Blaazen

  • Hero Member
  • *****
  • Posts: 3241
  • POKE 54296,15
    • Eye-Candy Controls
Re: [SOLVED] Where do I set "LCL Widget Type"
« Reply #4 on: January 04, 2013, 09:10:47 pm »
@ bastock

You have some older version of Lazarus. It was in node "Build Modes" previously. Select Macro name "LCLWidgetType" and some Macro value.
Lazarus 2.3.0 (rev main-2_3-2863...) FPC 3.3.1 x86_64-linux-qt Chakra, Qt 4.8.7/5.13.2, Plasma 5.17.3
Lazarus 1.8.2 r57369 FPC 3.0.4 i386-win32-win32/win64 Wine 3.21

Try Eye-Candy Controls: https://sourceforge.net/projects/eccontrols/files/

bastock

  • Newbie
  • Posts: 2
Re: [SOLVED] Where do I set "LCL Widget Type"
« Reply #5 on: January 05, 2013, 10:33:18 am »
Thanks, problem solved  :D

 

TinyPortal © 2005-2018