The current Lazarus *Win32* Installer produces a wrong folder structure as below:

D:\lazarus\lcl\units\i386\win32
  D:\lazarus\lcl\units\i386\win32\gtk         ???
  D:\lazarus\lcl\units\i386\win32\win32       ??? dup!

This causes following lines:

D:\>fpc test.dpr
Hint: End of reading config file D:\lazarus\pp\bin\i386-win32\fpc.cfg
Free Pascal Compiler version 1.9.6 [2005/01/03] for i386
Copyright (c) 1993-2004 by Florian Klaempfl
Target OS: Win32 for i386
Compiling test.dpr
Fatal: Can't find unit Interfaces
Error: D:\lazarus\pp\bin\i386-win32\ppc386.exe returned an error exitcode (normal if you did not specifiy a source
file to be compiled)



Workaround: Put these lines in your .cfg file:

-Fud:\lazarus\lcl/units/i386/win32
-Fud:\lazarus\lcl/units/i386/win32/win32



_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to