[fpc-pascal]v1.0.10 w32 release Eventlog resource not found
Michael Van Canneyt
michael.vancanneyt at wisa.be
Mon Jul 14 14:32:54 CEST 2003
On Sun, 13 Jul 2003, Ronald Fox wrote:
> 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
In that case you'll have no choice but to copy the file to your project
directory. It's a bug which will have to be fixed in the compiler.
Michael.
More information about the fpc-pascal
mailing list