Author Topic: Indy on windows: not found / duplicate identifier INYLAZ  (Read 11976 times)


  • New Member
  • *
  • Posts: 13
I'm unable to install Indy on windows, what's wrong?


  • New Member
  • *
  • Posts: 13
Is there no fix for this? Or maybe some other sockets library that works.. ?

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
This error is probably some configuration error, which are hard to fix without seeing you exact configuration.


  • Sr. Member
  • ****
  • Posts: 275
I had the same errors..
Follow Indy Install in Windows

Works for me; with some changes.
    *  Need working Lazarus (and FPC) for this (in c:\lazarus)
    * Download from
    * unpack into a directory
    * in the indy /fpc dir
I used make with full path (C:\lazarus\fpc\2.2.4\bin\i386-win32\make.exe)
1. make clean
2. make all
3. make install This will put the indy files into the FPC units directories
(not work, I copy C:\lazarus\components\indy-\fpc\units\i386-win32 to C:\lazarus\fpc\2.2.4\units\i386-win32\indy)

* From within Lazarus do a Package -> Open package file -> from the indy  /lazarus dir, open the indylaz.lpk
* In the "Compiler options" put
C:\lazarus\fpc\2.2.4\units\i386-win32\indy\ (or wherever the FPC indy units are installed after "make install") into the "Other unit files" field

* compile then install (will rebuild Lazarus)

After, in each project, in Compiler options, I put C:\lazarus\components\indy-\fpc\ in other source for the IDE.

Tested in
- Lazarus 0.9.27 fpc 2.2.4 svn 20212 (26/05/2009) with Windows XP SP3 and Windows 2000 sp4

« Last Edit: June 08, 2009, 03:12:44 pm by clauslack »


  • Hero Member
  • *****
  • Posts: 685
Hello, did you try to copy that file to the main path of indy folder
is indy folder in components folder ?


  • Hero Member
  • *****
  • Posts: 8352
  • Programming + Glam Metal + Tae Kwon Do = Me
I've had this before, the true error is in the Sometimes, after editing Package->Configure installed packages when updating a package, the old entry isn't removed. This causes the entry to be doubled. AFAIR, the remedy is to rebuild Lazarus without the package at all then reinstall the package. 1 more, if you've ever got the message like the topic's subject, restart Lazarus first.

PS: Manually editing might help if you don't rebuild via Package->Configure installed packages (because this dialog will overwrite any changes you did).


TinyPortal © 2005-2018