Sign in Join

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

Mailing lists / lazarus / 2000-05

compiling lazarus under win32....

5 messages · 4 people ·

Reply by email Subscribe to this list Your subscription

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

Yoyong Hernan-ET

Hellow all,

I tried compiling Lazarus (copied the source from the ftp server). I've got this errors.

e:/pp/bin/win32/make.exe -C lcl all
make.exe[1]: Entering directory `e:/pp/source/lazarus/lcl' rm -f allunits.exe
e:/pp/bin/win32/make.exe -C interfaces all
make.exe[2]: Entering directory `e:/pp/source/lazarus/lcl/interfaces' e:/pp/bin/win32/make.exe -C gtk all
make.exe[3]: Entering directory `e:/pp/source/lazarus/lcl/interfaces/gtk' ppc386.exe !FPCEXTCMD gtkwinapiwindow.pp
gtkwinapiwindow.pp(205,6) Error: Identifier not found GTK_MARSHAL_NONE__POINTER_POINTER
gtkwinapiwindow.pp(299,12) Error: Identifier not found GDK_DRAW_PIXMAP gtkwinapiwindow.pp(303,8) Error: Illegal expression gtkwinapiwindow.pp(319,12) Error: Identifier not found GDK_DRAW_PIXMAP gtkwinapiwindow.pp(323,8) Error: Illegal expression gtkwinapiwindow.pp(366,33) Error: Identifier not found GDK_PIXMAP_UNREF gtkwinapiwindow.pp(366,61) Error: Illegal expression Fatal: There were 7 errors compiling module, stopping make.exe[3]: Leaving directory `e:/pp/source/lazarus/lcl/interfaces/gtk' make.exe[2]: Leaving directory `e:/pp/source/lazarus/lcl/interfaces' make.exe[1]: Leaving directory `e:/pp/source/lazarus/lcl'

Please help me.

Yoyong Hernan

Reply by email

Vincent Snijders
to Yoyong Hernan-ET

Hi,

You probably have an old gtk package (or not at all?).

Look in the directory e:/pp/source/packages/gtk/gdk/gdkmain.pp on line 214, there it is defined.

If not download the the packages from the fpc-site or checkout the packages from cvs.

Succes,

Vincent Snijders

Earlier message 44 lines
----- Original Message ----- From: Yoyong Hernan-ET To: Sent: Wednesday, May 03, 2000 1:41 PM Subject: [lazarus] compiling lazarus under win32.... > Hellow all, > > I tried compiling Lazarus (copied the source from the ftp server). I've got this > errors. > > e:/pp/bin/win32/make.exe -C lcl all > make.exe[1]: Entering directory `e:/pp/source/lazarus/lcl' > rm -f allunits.exe > e:/pp/bin/win32/make.exe -C interfaces all > make.exe[2]: Entering directory `e:/pp/source/lazarus/lcl/interfaces' > e:/pp/bin/win32/make.exe -C gtk all > make.exe[3]: Entering directory `e:/pp/source/lazarus/lcl/interfaces/gtk' > ppc386.exe !FPCEXTCMD gtkwinapiwindow.pp > gtkwinapiwindow.pp(205,6) Error: Identifier not found > GTK_MARSHAL_NONE__POINTER_POINTER > gtkwinapiwindow.pp(299,12) Error: Identifier not found GDK_DRAW_PIXMAP > gtkwinapiwindow.pp(303,8) Error: Illegal expression > gtkwinapiwindow.pp(319,12) Error: Identifier not found GDK_DRAW_PIXMAP > gtkwinapiwindow.pp(323,8) Error: Illegal expression > gtkwinapiwindow.pp(366,33) Error: Identifier not found GDK_PIXMAP_UNREF > gtkwinapiwindow.pp(366,61) Error: Illegal expression > Fatal: There were 7 errors compiling module, stopping > make.exe[3]: Leaving directory `e:/pp/source/lazarus/lcl/interfaces/gtk' > make.exe[2]: Leaving directory `e:/pp/source/lazarus/lcl/interfaces' > make.exe[1]: Leaving directory `e:/pp/source/lazarus/lcl' > > Please help me. > > > Yoyong Hernan > > > _________________________________________________________________ > To unsubscribe: mail with > "unsubscribe" as the Subject > archives at http://www.miraclec.com/list_archives/lazarus

Reply by email

Shane Miller

The "gtk" in the interfaces directory is the code required by our LCL (by using CNSendMessage) to create the gtk widgets.

See, the LCL sends a LM_CREATE message. If you wanted to use GTK as your widget set, you DEFINE GTK in the interfaces.pp file. This way, our InterfaceBase file uses the GTK directory and sends the LM_CREATE and other messages onto that set of source.

The GTK in FPC are the header files that we use to call the GTK functions from OUR GTK files.

Get it? FPC defines all the GTK functions in their gtk files. We use GTK functions in ours. Ours receive and send messages to/from our LCL.

Shane

>> 05/04/00 12:03PM >>>

Vincent,

I just downloaded the sources yesterday. I am using 0.99.14. Also, I noticed that the source code of Lazarus includes "gtk"
[e:\pp\source\lazarus\lcl\interfaces\gtk] and also i have a copy in the packages directory [e:\pp\source\packages\gtk]. There could some differences between the two.

Yoyong

Internet Mail Message
Received from host: harding.miraclec.com
[199.224.65.135]

Envelope Sender:

From: "Vincent Snijders" on 05/04/2000 02:13 AM

Please respond to

To:
cc: (bcc: Yoyong Hernan-ET/PGI)
Subject: Re: [lazarus] compiling lazarus under win32....

Hi,

You probably have an old gtk package (or not at all?).

Look in the directory e:/pp/source/packages/gtk/gdk/gdkmain.pp on line 214, there it is defined.

If not download the the packages from the fpc-site or checkout the packages from cvs.

Succes,

Vincent Snijders

Earlier message 59 lines
----- Original Message ----- From: Yoyong Hernan-ET To: Sent: Wednesday, May 03, 2000 1:41 PM Subject: [lazarus] compiling lazarus under win32.... > Hellow all, > > I tried compiling Lazarus (copied the source from the ftp server). I've got this > errors. > > e:/pp/bin/win32/make.exe -C lcl all > make.exe[1]: Entering directory `e:/pp/source/lazarus/lcl' > rm -f allunits.exe > e:/pp/bin/win32/make.exe -C interfaces all > make.exe[2]: Entering directory `e:/pp/source/lazarus/lcl/interfaces' > e:/pp/bin/win32/make.exe -C gtk all > make.exe[3]: Entering directory `e:/pp/source/lazarus/lcl/interfaces/gtk' > ppc386.exe !FPCEXTCMD gtkwinapiwindow.pp > gtkwinapiwindow.pp(205,6) Error: Identifier not found > GTK_MARSHAL_NONE__POINTER_POINTER > gtkwinapiwindow.pp(299,12) Error: Identifier not found GDK_DRAW_PIXMAP > gtkwinapiwindow.pp(303,8) Error: Illegal expression > gtkwinapiwindow.pp(319,12) Error: Identifier not found GDK_DRAW_PIXMAP > gtkwinapiwindow.pp(323,8) Error: Illegal expression > gtkwinapiwindow.pp(366,33) Error: Identifier not found GDK_PIXMAP_UNREF > gtkwinapiwindow.pp(366,61) Error: Illegal expression > Fatal: There were 7 errors compiling module, stopping > make.exe[3]: Leaving directory `e:/pp/source/lazarus/lcl/interfaces/gtk' > make.exe[2]: Leaving directory `e:/pp/source/lazarus/lcl/interfaces' > make.exe[1]: Leaving directory `e:/pp/source/lazarus/lcl' > > Please help me. > > > Yoyong Hernan > > > _________________________________________________________________ > To unsubscribe: mail with > "unsubscribe" as the Subject > archives at http://www.miraclec.com/list_archives/lazarus _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

Reply by email

Yoyong Hernan-ET

Vincent,

I just downloaded the sources yesterday. I am using 0.99.14. Also, I noticed that the source code of Lazarus includes "gtk"
[e:\pp\source\lazarus\lcl\interfaces\gtk] and also i have a copy in the packages directory [e:\pp\source\packages\gtk]. There could some differences between the two.

Yoyong

Internet Mail Message
Received from host: harding.miraclec.com
[199.224.65.135]

Envelope Sender:

From: "Vincent Snijders" on 05/04/2000 02:13 AM

Please respond to

To:
cc: (bcc: Yoyong Hernan-ET/PGI)
Subject: Re: [lazarus] compiling lazarus under win32....

Hi,

You probably have an old gtk package (or not at all?).

Look in the directory e:/pp/source/packages/gtk/gdk/gdkmain.pp on line 214, there it is defined.

If not download the the packages from the fpc-site or checkout the packages from cvs.

Succes,

Vincent Snijders

Earlier message 49 lines
----- Original Message ----- From: Yoyong Hernan-ET To: Sent: Wednesday, May 03, 2000 1:41 PM Subject: [lazarus] compiling lazarus under win32.... > Hellow all, > > I tried compiling Lazarus (copied the source from the ftp server). I've got this > errors. > > e:/pp/bin/win32/make.exe -C lcl all > make.exe[1]: Entering directory `e:/pp/source/lazarus/lcl' > rm -f allunits.exe > e:/pp/bin/win32/make.exe -C interfaces all > make.exe[2]: Entering directory `e:/pp/source/lazarus/lcl/interfaces' > e:/pp/bin/win32/make.exe -C gtk all > make.exe[3]: Entering directory `e:/pp/source/lazarus/lcl/interfaces/gtk' > ppc386.exe !FPCEXTCMD gtkwinapiwindow.pp > gtkwinapiwindow.pp(205,6) Error: Identifier not found > GTK_MARSHAL_NONE__POINTER_POINTER > gtkwinapiwindow.pp(299,12) Error: Identifier not found GDK_DRAW_PIXMAP > gtkwinapiwindow.pp(303,8) Error: Illegal expression > gtkwinapiwindow.pp(319,12) Error: Identifier not found GDK_DRAW_PIXMAP > gtkwinapiwindow.pp(323,8) Error: Illegal expression > gtkwinapiwindow.pp(366,33) Error: Identifier not found GDK_PIXMAP_UNREF > gtkwinapiwindow.pp(366,61) Error: Illegal expression > Fatal: There were 7 errors compiling module, stopping > make.exe[3]: Leaving directory `e:/pp/source/lazarus/lcl/interfaces/gtk' > make.exe[2]: Leaving directory `e:/pp/source/lazarus/lcl/interfaces' > make.exe[1]: Leaving directory `e:/pp/source/lazarus/lcl' > > Please help me. > > > Yoyong Hernan > > > _________________________________________________________________ > To unsubscribe: mail with > "unsubscribe" as the Subject > archives at http://www.miraclec.com/list_archives/lazarus _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

Reply by email