[fpc-pascal]v1.0.10 w32 release Eventlog resource not found

Ronald Fox rfox at dls.queens.org
Mon Jul 14 10:30:30 CEST 2003


On Mon, 14 Jul 2003, Michael Van Canneyt wrote:
> > Is there a search path for resources or how should this be
> > properly fixed?
> 
> The .res file should be put next to the installed .ppu file.
> To fix it, you can simply copy it there, but it is an error in the
> distribution files. (and in the Make install target)

c:> dir /s c:\pp\*.ppu doesn't find any files but there is a
c:\pp\units\win32\fcl\eventlog.ppw, so I copied fclel.res from
c:\pp\source\fcl\win32 to c:\pp\units\win32\fcl, removed fclel.res
from my source directory and recompiled.  Same output as before:

C:\my-fpc\testing\eventlog>ppc386 tstelcmd.pp
Hint: End of reading config file c:\pp\bin\win32\fpc.cfg
Free Pascal Compiler version 1.0.10 [2003/06/27] for i386
Copyright (c) 1993-2003 by Florian Klaempfl
Target OS: Win32 for i386
Compiling tstelcmd.pp
syswin32.pp(9,1) Hint: Conditional I386 was set at startup in last compilation of syswin32.pp
Compiling resource fclel.res
c:\pp\bin\win32\windres.exe: can't open `fclel.res' for output: No such file or directory
tstelcmd.pp(25,1) Error: Error while linking
tstelcmd.pp(25,1) Fatal: There were 1 errors compiling module, stopping
Closing script ppas.bat

Mahalo,
Ron








More information about the fpc-pascal mailing list