[Lazarus] Building Lazarus for win32

tommy tommy.edlund at brevet.nu
Thu Oct 30 09:33:36 CET 2008


Vincent Snijders skrev:
> Raistware schreef:
>   
>> I had same problem and solved adding this line to 
>> C:\lazarus\fpc\2.2.2\bin\i386-win32\fpc.cfg :
>> -Fuc:\lazarus\ideintf
>>
>>     
>
> This is asking for more trouble. Generally, don't add the path to lazarus sources in 
> a -Fu option, instead use the appropriate directory with compiled units, in this 
> case c:\lazarus\ideintf\units\i386-win32. Otherwise you may have two sets compiled 
> units for the ideintf package and you get errors like checksum changed, etc.
>
> Better yet, is to add a requirement of the IDEIntf package to the package or project 
> you are trying to compile.
>
> Vincent
> _______________________________________________
>
>   
I tried these suggestions and yeas  more  errors with  the referens to  
lazarus source in  fpc.cfg. With referens to units I passed the stop at 
interfaces but ended at stop with interfacebase instead. All search 
paths are correct. The svn of lazarus gave even more strange errors when 
running, but the compiling of svn lazarus-0.9.26 worked without any 
complains.

Reading the wiki concerning errors of checksum and not finding 
interface, it is stated that the checksum would occur if there are 
several compiled units in the system och several fpc.cfg. I check and 
there are no dubbel units or cfg. However testing the compiler options 
in projektmenu I recieve a lot of warnings about duplicate units. When 
looking at these directories there are no duplicates!
I have no clue to what is happening. I also whent through with regedit 
to delete all references of lazarus and also deleting the directory in 
documents and settings before doing each new installation.

The win32-installer version of lazarus with fpc works fine, as long as 
not rebuilding lazarus.

/ Tom



More information about the Lazarus mailing list