Hello all. I just downloaded Lazarus and it looks great. However, I think I may have…
Show quoted text 9 lines
The sources are needed for many IDE features like events or find declaration. There are not needed to simply compile a program. Plz remove the /usr/local/lib/{lcl,codetools,synedit}. This is currently not supported. I assume that you have the sources in a readable directory. You can either use the cvs or take the zip: ftp://ftp.freepascal.org/pub/fpc/source/lazarus.zip The sources should compile without any error with 'make clean all'. If lazarus compiles you have valid sources and ppu/o files. A simple program should be compilable with
ppc386 -B -Fu<LazDir>/lcl/units -Fu<LazDir>/lcl/units/gtk test.pas
If you now get the fatal error unit not found, check the steps in the FAQ. If you still got the error then you have either found a compiler bug or there is some forgotten garbage from your experiments. You can find out with the -va switch:
ppc386 -B -Fu<LazDir>/lcl/units -Fu<LazDir>/lcl/units/gtk test.pas
This will result in a lot of output, but you can find out, where the compiler searches.
Mattias
