Sign in Join

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

Mailing lists / lazarus / 2000-12

how to compile with native win 32 compos

6 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

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

marius

i know there are 2 kind interfaces GTK,and win 32 how do i use the win32 components
and then do a make to lazarus
have the defalut version with gtk
but is eating memory
and is flickering a lot maybe is to much paint messages ... i dont know (the processor is 100%)
still looking in source .....learning

marius
to Shane Miller: The WIN32 isn't near as far as GTK is. What we used to do is change a DEFINE in…
did all u said but ...
___________________________________________________________________
win32int.pp(77,39) Error: Identifier not found TINTERFACEBASE
win32int.pp(77,39) Error: class type expected, but got "TCUSTOMIMAGELIST"
win32int.pp(111,17) Error: There is no method in an ancestor class to be overrid
den: TWIN32OBJECT.INIT()
win32int.pp(114,7) Warning: Virtual methods are used without a constructor in TW
IN32OBJECT
win32int.pp(143,1) Fatal: There were 3 errors compiling module, stopping
____________________________________________________________________
Shane Miller wrote 25 lines
The WIN32 isn't near as far as GTK is. What we used to do is change a DEFINE in interfaces.pp but I see theres an Interfaces.pp in each directory (lazarus/lcl/interfaces/gtk win32 and qt). I assume all you need to do is take the GTK directory out of your path and add the win32 one. I changed the DEFINE in the win32/interfaces.pp file so do a CVS UPDATE and remove the QT and GTK from your path. Shane >>> 12/06/00 08:17AM >>> i know there are 2 kind interfaces GTK,and win 32 how do i use the win32 components and then do a make to lazarus have the defalut version with gtk but is eating memory and is flickering a lot maybe is to much paint messages ... i dont know (the processor is 100%) still looking in source .....learning _________________________________________________________________ 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
marius
to Marc Weustink: + From: Shane Miller + Sent: Wednesday, 06 December, 2000 16:00 + To: + Subject: Re:…

yes indeed to many changes in the interfaces
it didn't compiled ...
but i tried the on redhat 7 and at final linking
it seems that i don't have X11...
but i looked and i really have it in the /lib dir
i took the ziped version

Marc Weustink wrote 33 lines
+ From: Shane Miller + Sent: Wednesday, 06 December, 2000 16:00 + To: + Subject: Re: [lazarus] how to compile with native win 32 compos + + + The WIN32 isn't near as far as GTK is. + + What we used to do is change a DEFINE in interfaces.pp but I + see theres an Interfaces.pp in each directory + (lazarus/lcl/interfaces/gtk win32 and qt). I assume all you + need to do is take the GTK directory out of your path and add + the win32 one. I changed the DEFINE in the + win32/interfaces.pp file so do a CVS UPDATE and remove the QT + and GTK from your path. Nope, you don't need to set defines anymore. Thats automagically done (if needed at all) by the Makefiles and the files which are included. You only have to set the LCLPLATFORM environment var (or make LCLPLATFORM=win32) to the platform you wish (which defaults to gtk). If you want to build the lcl without makefiles (have fun ;) then you have to make sure your paths are correct. I only would be surprised if the win32 platform would compile, because of the many changes in the interface since the last update of the win32 code Marc _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus
Shane Miller

The WIN32 isn't near as far as GTK is.

What we used to do is change a DEFINE in interfaces.pp but I see theres an Interfaces.pp in each directory (lazarus/lcl/interfaces/gtk win32 and qt). I assume all you need to do is take the GTK directory out of your path and add the win32 one. I changed the DEFINE in the win32/interfaces.pp file so do a CVS UPDATE and remove the QT and GTK from your path.

Shane

>> 12/06/00 08:17AM >>>

i know there are 2 kind interfaces GTK,and win 32 how do i use the win32 components
and then do a make to lazarus
have the defalut version with gtk
but is eating memory
and is flickering a lot maybe is to much paint messages ... i dont know (the processor is 100%)
still looking in source .....learning

_________________________________________________________________ To unsubscribe: mail with
"unsubscribe" as the Subject
archives at http://www.miraclec.com/list_archives/lazarus

Marc Weustink
to Shane Miller

+ From: Shane Miller
+ Sent: Wednesday, 06 December, 2000 16:00
+ To:
+ Subject: Re: [lazarus] how to compile with native win 32 compos +
+
+ The WIN32 isn't near as far as GTK is.
+
+ What we used to do is change a DEFINE in interfaces.pp but I
+ see theres an Interfaces.pp in each directory
+ (lazarus/lcl/interfaces/gtk win32 and qt). I assume all you
+ need to do is take the GTK directory out of your path and add
+ the win32 one. I changed the DEFINE in the
+ win32/interfaces.pp file so do a CVS UPDATE and remove the QT
+ and GTK from your path.

Nope, you don't need to set defines anymore. Thats automagically done (if needed at all) by the Makefiles and the files which are included. You only have to set the LCLPLATFORM environment var (or make LCLPLATFORM=win32) to the platform you wish (which defaults to gtk).

If you want to build the lcl without makefiles (have fun ;) then you have to make sure your paths are correct.

I only would be surprised if the win32 platform would compile, because of the many changes in the interface since the last update of the win32 code

Marc

Shane Miller

TInterfacebase is defined in INTERFASEBASE.PP in lazarus/lcl. In win32int.pp(77,39) it references TInterfaceBase but INTERFACEBASE isn't in the uses. Add it to the USES and see if that works.

Shane

>> 12/07/00 02:07AM >>>
did all u said but ...
___________________________________________________________________
win32int.pp(77,39) Error: Identifier not found TINTERFACEBASE
win32int.pp(77,39) Error: class type expected, but got "TCUSTOMIMAGELIST"
win32int.pp(111,17) Error: There is no method in an ancestor class to be overrid
den: TWIN32OBJECT.INIT()
win32int.pp(114,7) Warning: Virtual methods are used without a constructor in TW
IN32OBJECT
win32int.pp(143,1) Fatal: There were 3 errors compiling module, stopping
____________________________________________________________________
Shane Miller wrote 25 lines
The WIN32 isn't near as far as GTK is. What we used to do is change a DEFINE in interfaces.pp but I see theres an Interfaces.pp in each directory (lazarus/lcl/interfaces/gtk win32 and qt). I assume all you need to do is take the GTK directory out of your path and add the win32 one. I changed the DEFINE in the win32/interfaces.pp file so do a CVS UPDATE and remove the QT and GTK from your path. Shane >>> 12/06/00 08:17AM >>> i know there are 2 kind interfaces GTK,and win 32 how do i use the win32 components and then do a make to lazarus have the defalut version with gtk but is eating memory and is flickering a lot maybe is to much paint messages ... i dont know (the processor is 100%) still looking in source .....learning _________________________________________________________________ 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