Recent

Author Topic: [SOLVED] Compilation error  (Read 302 times)

egsuh

  • Hero Member
  • *****
  • Posts: 1002
[SOLVED] Compilation error
« on: July 27, 2022, 12:45:45 pm »
Not sure this is compile error or link error. Anyway I got errors as attached image. I'm making an CGI web server (on Windows 10).

I have seen similar problem when forms or visual controls are included in the project, but in this case I do not have any.  What are possible causes?
« Last Edit: July 27, 2022, 01:47:08 pm by egsuh »

egsuh

  • Hero Member
  • *****
  • Posts: 1002
Re: [SOLVED] Compilation error
« Reply #1 on: July 27, 2022, 01:47:34 pm »
This does not happen again when I added "Interfaces" to the uses clause of the main project file.

PascalDragon

  • Hero Member
  • *****
  • Posts: 4552
  • Compiler Developer
Re: [SOLVED] Compilation error
« Reply #2 on: July 27, 2022, 02:32:02 pm »
That means that you're nevertheless using some LCL code. And if you do that you must use the Interfaces unit.

Leledumbo

  • Hero Member
  • *****
  • Posts: 8436
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: [SOLVED] Compilation error
« Reply #3 on: August 11, 2022, 12:55:45 pm »
Please post a screenshot of your Project Inspector->Required Packages.

 

TinyPortal © 2005-2018