[lazarus] OnEvent Error, Not found any include file

Florian Klaempfl Florian.Klaempfl at gmx.de
Fri Oct 17 12:08:22 EDT 2003


Florian Klaempfl wrote:
> Marc Weustink wrote:
> 
>> At 19:41 15-10-2003, Hamacker wrote:
>>
>>> Hi everybody,
>>>
>>> I am testing lazarus for Windows, and very interesting IDE.
>>> Bye the way, I can't create any event like a click button.
>>> The lazarus not found any include file link classesh.inc or 
>>> sysutilsh.inc,...
>>
>>
>>
>> It's part of the FAQ.
>>
>> http://www.lazarus.freepascal.org/modules.php?op=modload&name=FAQ&file=index&myfaq=yes&id_cat=1#16 
>>
>>
>>> I found this files on c:\pp\souce\rtl\objpas and other paths and 
>>> include this on Run|Compiler options|Include Files or Search Path but 
>>> does not resolv the problem and the same error message :
>>> c:\pp\source\rtl\win32\sysutils.pp(27,5) Error : Include file not 
>>> found "sysutilh.inc"
>>>
>>> Anybody knows what I doing wrong ?
>>
>>
>>
>> Don't add fpc sources to the compile or include path (you don't want 
>> to compile FPC)
>>
>> The IDE only has to know the params of events. It gets them from the 
>> sources. You should set the "FPC source directory" in the Environment 
>> options.
> 
> 
> This doesn't help, I've the same problem :) E.g. sysutils.pp is found, 
> but sysutilsh.inc isn't.

I tried to trace it down and inserted a writeln(filename); into 
fileexists with fpc source path, the following directories are searched:

C:\pp\source\rtl\win32\sysutilh.inc
C:\pp\source\rtl\win32\SYSUTILH.INC
C:\pp\source\rtl\win32\c\sysutilh.inc
C:\pp\source\rtl\win32\c\SYSUTILH.INC
C:\pp\source\rtl\win32\pp\source\rtl\objpas\sysutilh.inc
C:\pp\source\rtl\win32\pp\source\rtl\objpas\SYSUTILH.INC
C:\pp\source\rtl\win32\c\sysutilh.inc
C:\pp\source\rtl\win32\c\SYSUTILH.INC
C:\pp\source\rtl\win32\pp\source\rtl\inc\sysutilh.inc
C:\pp\source\rtl\win32\pp\source\rtl\inc\SYSUTILH.INC
C:\pp\source\rtl\win32\c\sysutilh.inc
C:\pp\source\rtl\win32\c\SYSUTILH.INC
C:\pp\source\rtl\win32\pp\source\rtl\i386\sysutilh.inc
C:\pp\source\rtl\win32\pp\source\rtl\i386\SYSUTILH.INC
C:\pp\source\rtl\win32\c\sysutilh.inc
C:\pp\source\rtl\win32\c\SYSUTILH.INC
C:\pp\source\rtl\win32\pp\source\rtl\win32\sysutilh.inc
C:\pp\source\rtl\win32\pp\source\rtl\win32\SYSUTILH.INC
C:\pp\source\rtl\win32\c\sysutilh.inc
C:\pp\source\rtl\win32\c\SYSUTILH.INC
C:\pp\source\rtl\win32\pp\source\rtl\win32\sysutilh.inc
C:\pp\source\rtl\win32\pp\source\rtl\win32\SYSUTILH.INC
C:\pp\source\rtl\win32\c\sysutilh.inc
C:\pp\source\rtl\win32\c\SYSUTILH.INC
C:\pp\source\rtl\win32\pp\source\rtl\win32\i386\sysutilh.inc
C:\pp\source\rtl\win32\pp\source\rtl\win32\i386\SYSUTILH.INC
C:\pp\source\rtl\win32\wininc\sysutilh.inc
C:\pp\source\rtl\win32\wininc\SYSUTILH.INC






More information about the Lazarus mailing list