Lazarus cannot find IdMessageBuilder unit lazarus / 38-Networking and Web Programming ---------------------------------------------------------------------- Wai-kit · 2021-01-04 13:33 I have found this excellent article https://www.indyproject.org/2008/01/16/new-html-message-builder-class/ on how to send an email in HTML. I have added IdMessageBuilder unit to my uses clause. Although I have indylaz.lpk package (v 10.6.2) installed, I get this error: 'Cannot find IdMessageBuilder used by...' when I try to compile. Does somebody know what the problem is and how do I fix this? Cheers, Wai ---------------------------------------------------------------------- Remy Lebeau · 2021-01-04 15:57 Are you installing Indy manually by compiling indylaz directly? Or are you installing Indy by using Lazarus' OPM?  If you are not installing by OPM, I suggest you try that instead.  Otherwise, you probably just don't have your search paths configured properly so the compiler can find Indy's source files. ---------------------------------------------------------------------- Wai-kit · 2021-01-04 16:36 I have installed these 3 ways: 1. fpcupdeluxe 2. manual 3. OPM None of them fixed the problem. Since indylaz.lpk installed without errors, I think that my search paths are configured correctly. All the design-time components are available in the component palette. ---------------------------------------------------------------------- balazsszekely · 2021-01-04 17:26 I believe this is a bug in the lazarus package system. It happened before, unfortunately nobody knows why. As a quick fix, just add IdMessageBuilder to indylaz.lpk, rebuild the package, then your project. ---------------------------------------------------------------------- PascalDragon · 2021-01-05 08:00 Quote from: Wai-kit on January 04, 2021, 02:33:14 pmDoes somebody know what the problem is and how do I fix this? Did you add the IndyLaz package as a dependency to your project? ---------------------------------------------------------------------- Wai-kit · 2021-01-05 10:13 Quote from: GetMem on January 04, 2021, 06:26:17 pmI believe this is a bug in the lazarus package system. It happened before, unfortunately nobody knows why. As a quick fix, just add IdMessageBuilder to indylaz.lpk, rebuild the package, then your project. That solved the issue. Thanks.