Recent

Author Topic: Can not cross compile using LCL in console program from Linux=>Win32  (Read 2738 times)

hawkx

  • New Member
  • *
  • Posts: 30
I created a console program using LCL, but can't compile for win32-i386.
1. click menu "File->New" and choose "Project->Program"
2. add dependency LCL.
3. compile (default for linux-i386), successfully.
4. change target to win32-i386
5. compile error, show "registerfcl.pas(43,3) Fatal: Can not find unit ServiceManager used by RegisterFCL. Check if package FCL is in the dependencies.
6. even I added FCL to dependency, the error still appeared.
7. if I create a "Project->Application", then compile for win32-i386 is no problem.

Please help me to solve that, thanks!

 

TinyPortal © 2005-2018