Sign in Join

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

Mailing lists / lazarus / 2002-11

Win32 Lazarus

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

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

Marc Weustink
to hjamilis: I am trying to help in the development of the win32 stuff of lcl and lazarus. But, as a…

+ From: hjamilis
+
+ Hi,
+
+ I am trying to help in the development of the win32 stuff of lcl
+ and lazarus.
+
+ But, as a starting point, I want to be able to compile the Hello
+ World! program.
+
+ Today, I can't.
+
+ I downloaded the Lazarus sources from CVS.
+ I installed FPC win32 1.0.6 (complete). Then downloaded ppc386
+ 1.0.7 from the FreePascal site.
+ I also downloaded the CVS tree of freepascal 1.1 on other folder. +
+ I edited the fpc.cfg file to point the include folder and sources
+ folders as I assume it should be.
+
+ Tried ppc386.exe hello.pp. See what I get!

[snip]
+ Compiling c:\desarr~1\lazarus\lcl\interfaces\win32\interfaces.pp
+ Compiling c:\desarr~1\lazarus\lcl\interfaces\win32\win32int.pp
+ win32int.pp(53,18) Error: Identifier not found CLASS
+ win32int.pp(53,18) Fatal: You need ObjFpc (-S2) or Delphi (-Sd)
+ mode to compile this module

Hmm... this should have been a directive in the source, but can you try

ppc386.exe -S2 hello.pp

+ Whats wrong in my installation?

You're running ppc without make. This is possible, but depriciated when building lazarus. See faq for which fpc.cfg paths to add when objects aren't found.

Reply by email

hjamilis

Hi,

I am trying to help in the development of the win32 stuff of lcl and lazarus.

But, as a starting point, I want to be able to compile the Hello World! program.

Today, I can't.

I downloaded the Lazarus sources from CVS.
I installed FPC win32 1.0.6 (complete). Then downloaded ppc386 1.0.7 from the FreePascal site. I also downloaded the CVS tree of freepascal 1.1 on other folder.

I edited the fpc.cfg file to point the include folder and sources folders as I assume it should be.

Tried ppc386.exe hello.pp. See what I get!

C:\Desarrollos\lazarus\examples>ppc386 hello.pp
Hint: End of reading config file c:\desarr~1\fpc1\bin\win32\fpc.cfg Free Pascal Compiler version 1.0.7 [2002/11/12] for i386 Copyright (c) 1993-2002 by Florian Klaempfl
Target OS: Win32 for i386
Compiling hello.pp
Compiling c:\desarr~1\lazarus\lcl\interfaces\win32\interfaces.pp Compiling c:\desarr~1\lazarus\lcl\interfaces\win32\win32int.pp win32int.pp(53,18) Error: Identifier not found CLASS win32int.pp(53,18) Fatal: You need ObjFpc (-S2) or Delphi (-Sd) mode to compile this module

Whats wrong in my installation?

Thanks

Horacio

Reply by email