Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2003-11

windres problem

3 messages · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Unknown author

Compiling a delphi unit with dfm causes problems.
Message: d:\fpc\bin\win32\windres.exe: can't open font file `TTrace'... Under D6 it works.

G:\>d:\fpc\bin\win32\ppc386 -TWin32 trace
Hint: End of reading config file fpc.cfg
Free Pascal Compiler version 1.9.1 [2003/11/16] for i386 Copyright (c) 1993-2002 by Florian Klaempfl
Target OS: Win32 for i386
Compiling trace.pas
Compiling resource trace.dfm
d:\fpc\bin\win32\windres.exe: can't open font file `TTrace': No such file or directory
trace.pas(166,1) Error: Error while linking
trace.pas(166,1) Fatal: There were 1 errors compiling module, stopping Closing script ppas.bat

G:\>

Reply by email

Unknown author
to Unknown author: This is normal: windres does not understand delphi form files. It will interpret the file…
Show quoted text 32 lines
On Sun, 16 Nov 2003 wrote: >Compiling a delphi unit with dfm causes problems. >Message: d:\fpc\bin\win32\windres.exe: can't open font file `TTrace'... >Under D6 it works. > >G:\>d:\fpc\bin\win32\ppc386 -TWin32 trace >Hint: End of reading config file fpc.cfg >Free Pascal Compiler version 1.9.1 [2003/11/16] for i386 >Copyright (c) 1993-2002 by Florian Klaempfl >Target OS: Win32 for i386 >Compiling trace.pas >Compiling resource trace.dfm >d:\fpc\bin\win32\windres.exe: can't open font file `TTrace': No such >file or directory >trace.pas(166,1) Error: Error while linking >trace.pas(166,1) Fatal: There were 1 errors compiling module, stopping >Closing script ppas.bat This is normal: windres does not understand delphi form files. It will interpret the file totally wrong. At the moment, you cannot use Delphi form files. Michael. _______________________________________________ fpc-devel maillist - http://lists.freepascal.org/mailman/listinfo/fpc-devel

Michael,
I had a compile clean project with dfm's recently (it does not run). What is the solution. Convert dfm to source code?

Reply by email

Unknown author
to Unknown author: Compiling a delphi unit with dfm causes problems. Message: d:\fpc\bin\win32\windres.exe:…
Show quoted text 17 lines
Compiling a delphi unit with dfm causes problems. Message: d:\fpc\bin\win32\windres.exe: can't open font file `TTrace'... Under D6 it works. G:\>d:\fpc\bin\win32\ppc386 -TWin32 trace Hint: End of reading config file fpc.cfg Free Pascal Compiler version 1.9.1 [2003/11/16] for i386 Copyright (c) 1993-2002 by Florian Klaempfl Target OS: Win32 for i386 Compiling trace.pas Compiling resource trace.dfm d:\fpc\bin\win32\windres.exe: can't open font file `TTrace': No such file or directory trace.pas(166,1) Error: Error while linking trace.pas(166,1) Fatal: There were 1 errors compiling module, stopping Closing script ppas.bat

This is normal: windres does not understand delphi form files. It will interpret the file totally wrong. At the moment, you cannot use Delphi form files.

Michael.

Reply by email