Sign in Join

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

Mailing lists / lazarus / 2002-05

Compilation Error

2 messages · 1 person ·

Reply by email Subscribe to this list Your subscription

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

James Tabor
to James Tabor: I'm trying to compile Lazarus 05142002 snapshot with Win32 fpc-1.0.6. Run the first…
James Tabor wrote 8 lines
Hi, I'm trying to compile Lazarus 05142002 snapshot with Win32 fpc-1.0.6. Run the first "Make". Options look like in the wrong spot? windres -i lazarus.rc -o lazarus.res --preprocessor C:/PP/BIN/WIN32/cpp.exe C:/P P/BIN/WIN32/cpp.exe

Hi,
I enter the string by hand, It works!

Here are some results,

C:\pp\lazarus>windres -i lazarus.rc -o lazarus.res --preprocessor c:/pp/bin/win3 2/cpp.exe
C:\PP\BIN\WIN32\WINDRES.EXE: no resources

C:\pp\lazarus>windres -i lazarus.rc -o lazarus.res --preprocessor /pp/bin/win32/ cpp.exe
Bad command or file name
C:\PP\BIN\WIN32\WINDRES.EXE: no resources

C:\pp\lazarus>windres -i lazarus.rc -o lazarus.res --preprocessor \pp\bin\win32\ cpp.exe
This one did the job!

FYI Thanks,
James

Reply by email

James Tabor

Hi,
I'm trying to compile Lazarus 05142002 snapshot with Win32 fpc-1.0.6.

Run the first "Make". Options look like in the wrong spot?

windres -i lazarus.rc -o lazarus.res --preprocessor C:/PP/BIN/WIN32/cpp.exe C:/P P/BIN/WIN32/cpp.exe
Usage: windres [options] [input-file] [output-file] Options:
-i FILE, --input FILE Name input file
-o FILE, --output FILE Name output file
-I FORMAT, --input-format FORMAT
Specify input format
-O FORMAT, --output-format FORMAT
Specify output format
-F TARGET, --target TARGET Specify COFF target
--preprocessor PROGRAM Program to use to preprocess rc file --include-dir DIR Include directory when preprocessing rc file -DSYM[=VAL], --define SYM[=VAL]
Define SYM when preprocessing rc file
-v Verbose - tells you what it's doing --language VAL Set language when reading rc file --help Print this help message --version Print version information FORMAT is one of rc, res, or coff, and is deduced from the file name extension if not specified. A single file name is an input file. No input-file is stdin, default rc. No output-file is stdout, default rc. windres: supported targets: pe-i386 pei-i386 srec symbolsrec tekhex binary ihex MAKE.EXE[1]: *** [lazarus.res] Error 1
MAKE.EXE[1]: Leaving directory `C:/pp/lazarus'
C:\PP\BIN\WIN32\MAKE.EXE: *** [ide] Error 2

Okay, run the second "Make".

C:/PP/BIN/WIN32/ppc386.exe -gl -S2 -Sh -Fu../../units -Fuc:/pp/units/win32/rtl - Fuc:/pp/units/win32/paszlib -Fuc:/pp/units/win32/fcl -Fuc:/pp/units/win32/mysql -Fuc:/pp/units/win32/ibase -FU../../units/win32 -di386 interfaces.pp Compilation aborted interfaces.pp:33
Runtime error 216 at 0x004A256C
0x004A256C
0x00463788
0x00401CBF
0x00401FDD
0x00401A0A
0x00401B6B
0x00401FDD
0x00401A0A
0x00401B6B
0x00401FDD

MAKE.EXE[3]: *** [interfaces.ppw] Error 216
MAKE.EXE[3]: Leaving directory `C:/pp/lazarus/lcl/interfaces/win32' MAKE.EXE[2]: *** [all] Error 2
MAKE.EXE[2]: Leaving directory `C:/pp/lazarus/lcl/interfaces/win32' MAKE.EXE[1]: *** [win32_all] Error 2
MAKE.EXE[1]: Leaving directory `C:/pp/lazarus/lcl/interfaces' C:\PP\BIN\WIN32\MAKE.EXE: *** [interfaces] Error 2

Please let me know what I'm doing wrong,
Thanks,
James

Reply by email