Hi,
I have Indy10 components installed in Lazarus and they work very well in graphics programs. The problem is with the console application. I wrote a simple e-mail program. However, there is a problem with linking. Well, to put components into the code, I go to Project-> Project inspector. There I choose Add-> New Requirement. In the search engine, I enter "Indy" and find "Indylaz". I add it to the requirements. Now I can add the appropriate component modules that I would like to use. However, when building the program, I get a poor message:
project1.lpr(45,1) Error: Error while linking
I googled a bit and found a similar problem:
https://forum.lazarus.freepascal.org/index.php?topic=39818.0However, as advised when following the instructions:
sudo apt-get install libgl1-mesa-dev
I get message in terminal:
libgl1-mesa-dev is already the newest version (20.0.8-0ubuntu1 ~ 20.04.1).
libgl1-mesa-dev marked as manually installed.
The problem still exists. What am I doing wrong?
Thank you!