Sign in Join

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

Mailing lists / lazarus / 1999-10

support for interfaces

20 messages · 9 people ·

Reply by email Subscribe to this list Your subscription

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

Shane Miller

Why is it being delayed?
Shane

>> 10/22/99 03:13PM >>>
mariano podesta wrote
does anybody know if fpc will support the 'interface' primitive (as delphi 3 and newer)? (sorry if this is off-topic)

This is planned for implementation after we release 1.0. (which, it seems, is going to be delayed a bit :( )

Michael.

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

Reply by email

mariano podesta

<FONT color=#000000 face=Arial
size=2><FONT color=#000000
face=Arial size=2>does anybody know if<SPAN
class=322120819-22101999> fpc will support
the 'interface' primitive (as delphi 3 and newer)? (sorry
if this is off-topic)
<FONT color=#000000 face=Arial
size=2>�
<FONT color=#000000 face=Arial
size=2>mariano

Reply by email

Unknown author
to mariano podesta
mariano podesta wrote
does anybody know if fpc will support the 'interface' primitive (as delphi 3 and newer)? (sorry if this is off-topic)

This is planned for implementation after we release 1.0. (which, it seems, is going to be delayed a bit :( )

Michael.

Reply by email

Shane Miller

What was not declared in gtkcallback.inc? Give me some error messages please.

Shane

>> Zdravko 10/25/99 03:14AM >>>

Hello,

Could you tell me what are the requirements to install successfully Lazarus. I am using Linux Slackeware 4.0.
I have just installed the latest gtk-1.2.6 libraries.

I had a problem compiling it. Several things were not declared in gtkcallback.inc file.
I commented them and managed to compile.
The created lazarus "complains" and fails to start. Messages are mostly related to gtkwidget.c and related files.

Thank you in advance.

Best regards
Zdravko

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

Reply by email

Shane Miller

There was a message earlier stating that Slackware 4.0 was using the old GTK or something to that effect.

Again, you have other problems if you can't find ssShift, ssAlt, etc. They are in the classesh.inc file. You SHOULD be able to find them.

Is there a chance you could update your linux version?

Shane

>> Zdravko 10/26/99 03:08AM >>>

Hello,
10x again.

Sorry but it did not work.
I downloaded the latest FPC release 0.99.12b and source fpc-0.99.12b.tgz. from http://www.freepascal.org/
In classesh.inc from 05/31/1999 - TShiftStatem contains :

{ Types used by standard events }
TShiftState = set of (ssShift, ssAlt, ssCtrl,

    ssLeft, ssRight, ssMiddle, ssDouble);

Anyway I think after commenting them Lazarus should et least run but it fails. What else can I do?

Best regards
Zdravko

SSCAPS, SSNUM, etc are definied in CLASSESH.INC Go into FPC/FCL/LINUX and either do a ppc386 classes.pp or stop at the fcl

directory and do a make fcl_all

Delete the *.PPU and *.o files first. Try doing a make clean otherwise too

before beginning. These variables are defined in FPC so make sure you have the
latest FPC also.....

Let me know Shane

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

Reply by email

Zdravko
to Shane Miller: SSCAPS, SSNUM, etc are definied in CLASSESH.INC Go into FPC/FCL/LINUX and either do a…

Hello,
10x again.

Sorry but it did not work.
I downloaded the latest FPC release 0.99.12b and source fpc-0.99.12b.tgz. from http://www.freepascal.org/
In classesh.inc from 05/31/1999 - TShiftStatem contains :

{ Types used by standard events }
TShiftState = set of (ssShift, ssAlt, ssCtrl,

    ssLeft, ssRight, ssMiddle, ssDouble);

Anyway I think after commenting them Lazarus should et least run but it fails. What else can I do?

Best regards
Zdravko

SSCAPS, SSNUM, etc are definied in CLASSESH.INC Go into FPC/FCL/LINUX and either do a ppc386 classes.pp or stop at the fcl

directory and do a make fcl_all

Delete the *.PPU and *.o files first. Try doing a make clean otherwise too

before beginning. These variables are defined in FPC so make sure you have the
latest FPC also.....

Let me know Shane

Reply by email

Zdravko
to Shane Miller: What was not declared in gtkcallback.inc? Give me some error messages please. Shane…
What was not declared in gtkcallback.inc? Give me some error messages

please.

Shane

Hello,
10x answering me

Error mnessages from FPC when trying to compile Lazarus on my computer :-(

gtkcallback.inc(5,53) Error: Identifier not found SSCAPS
gtkcallback.inc(8,55) Error: Identifier not found SSNUM
gtkcallback.inc(9,55) Error: Identifier not found SSSUPER
gtkcallback.inc(10,55) Error: Identifier not found SSSCROLL
gtkcallback.inc(14,57) Error: Identifier not found SSALTGR
Fatal: There were 5 errors compiling module, stopping
make: *** [lazarus] Error 1

Messages on startin when comment lines in gtkcallback.inc are in attached file.

Thank you in advance.

Best regards
Zdravko

Show quoted text 11 lines
Hello, Could you tell me what are the requirements to install successfully Lazarus. I am using Linux Slackeware 4.0. I have just installed the latest gtk-1.2.6 libraries. I had a problem compiling it. Several things were not declared in gtkcallback.inc file. I commented them and managed to compile. The created lazarus "complains" and fails to start. Messages are mostly related to gtkwidget.c and related files.

Thank you in advance.

Best regards
Zdravko

[TWinControl.Insert] TFORM1 --> Insert: TFORM1 () [TgtkObject.IntSendMessage3] TFORM1 --> Create Creating a font [TgtkObject.IntSendMessage3] TFONT --> Create Sending Message received a SETFONTNAME message 1 2 3 4 5 6 7 8 Exiting Canvas.Create [TgtkObject.IntSendMessage3] TCONTROLCANVAS --> Create [TWinControl.Insert] TMENU --> Insert: TMENU () [TgtkObject.IntSendMessage3] TMENU --> Create [TWinControl.Insert] TMENU --> Insert: TMENU () [TgtkObject.IntSendMessage3] TMENU --> Create [TWinControl.Insert] TMENU --> Insert: TMENU () [TgtkObject.IntSendMessage3] TMENU --> Create [TWinControl.Insert] TMENU --> Insert: TMENU () [TgtkObject.IntSendMessage3] TMENU --> Create [TWinControl.Insert] TMENU --> Insert: TMENU () [TgtkObject.IntSendMessage3] TMENU --> Create [TWinControl.Insert] TMENUITEM --> Insert: TMENUITEM () [TgtkObject.IntSendMessage3] TMENUITEM --> Create [TgtkObject.IntSendMessage3] TMENUITEM --> Show/Hide: 1 [TWinControl.Insert] TMENUITEM --> Insert: TMENUITEM () [TgtkObject.IntSendMessage3] TMENUITEM --> Create [TgtkObject.IntSendMessage3] TMENUITEM --> Show/Hide: 1 [TWinControl.Insert] TMENUITEM --> Insert: TMENUITEM () [TgtkObject.IntSendMessage3] TMENUITEM --> Create [TgtkObject.IntSendMessage3] TMENUITEM --> Show/Hide: 1 [TWinControl.Insert] TMENUITEM --> Insert: TMENUITEM () [TgtkObject.IntSendMessage3] TMENUITEM --> Create [TgtkObject.IntSendMessage3] TMENUITEM --> Show/Hide: 1 [TWinControl.Insert] TMENUITEM --> Insert: TMENUITEM () [TgtkObject.IntSendMessage3] TMENUITEM --> Create [TgtkObject.IntSendMessage3] TMENUITEM --> Show/Hide: 1 [TWinControl.Insert] TMENUITEM --> Insert: TMENUITEM () [TgtkObject.IntSendMessage3] TMENUITEM --> Create [TgtkObject.IntSendMessage3] TMENUITEM --> Show/Hide: 1 [TWinControl.Insert] TMENUITEM --> Insert: TMENUITEM () [TgtkObject.IntSendMessage3] TMENUITEM --> Create [TgtkObject.IntSendMessage3] TMENUITEM --> Show/Hide: 1 [TWinControl.Insert] TMENUITEM --> Insert: TMENUITEM () [TgtkObject.IntSendMessage3] TMENUITEM --> Create [TgtkObject.IntSendMessage3] TMENUITEM --> Show/Hide: 1 [TWinControl.Insert] TMENUITEM --> Insert: TMENUITEM () [TgtkObject.IntSendMessage3] TMENUITEM --> Create [TgtkObject.IntSendMessage3] TMENUITEM --> Show/Hide: 1 [TWinControl.Insert] TMENUITEM --> Insert: TMENUITEM () [TgtkObject.IntSendMessage3] TMENUITEM --> Create [TgtkObject.IntSendMessage3] TMENUITEM --> Show/Hide: 1 [TWinControl.Insert] TMENUITEM --> Insert: TMENUITEM () [TgtkObject.IntSendMessage3] TMENUITEM --> Create [TgtkObject.IntSendMessage3] TMENUITEM --> Show/Hide: 1 [TWinControl.Insert] TMENUITEM --> Insert: TMENUITEM () [TgtkObject.IntSendMessage3] TMENUITEM --> Create [TgtkObject.IntSendMessage3] TMENUITEM --> Show/Hide: 1 [TWinControl.Insert] TMENUITEM --> Insert: TMENUITEM () [TgtkObject.IntSendMessage3] TMENUITEM --> Create [TgtkObject.IntSendMessage3] TMENUITEM --> Show/Hide: 1 [TWinControl.Insert] TMENUITEM --> Insert: TMENUITEM () [TgtkObject.IntSendMessage3] TMENUITEM --> Create [TgtkObject.IntSendMessage3] TMENUITEM --> Show/Hide: 1 [TWinControl.Insert] TMENUITEM --> Insert: TMENUITEM () [TgtkObject.IntSendMessage3] TMENUITEM --> Create [TgtkObject.IntSendMessage3] TMENUITEM --> Show/Hide: 1 [TWinControl.Insert] TMENUITEM --> Insert: TMENUITEM () [TgtkObject.IntSendMessage3] TMENUITEM --> Create [TgtkObject.IntSendMessage3] TMENUITEM --> Show/Hide: 1 [TWinControl.Insert] TMENUITEM --> Insert: TMENUITEM () [TgtkObject.IntSendMessage3] TMENUITEM --> Create [TgtkObject.IntSendMessage3] TMENUITEM --> Show/Hide: 1 [TWinControl.Insert] TMENUBAR --> Insert: TMENUBAR () [TgtkObject.IntSendMessage3] TMENUBAR --> Create [TgtkObject.IntSendMessage3] TMENUBAR --> Add Child: TMENUBAR [TgtkObject.IntSendMessage3] TMENUBAR --> Show/Hide: 1 [TWinControl.Insert] TMENUITEM --> Insert: TMENUITEM () [TgtkObject.IntSendMessage3] TMENUITEM --> Create [TgtkObject.IntSendMessage3] TMENUITEM --> Show/Hide: 1 [TWinControl.Insert] TMENUITEM --> Insert: TMENUITEM () [TgtkObject.IntSendMessage3] TMENUITEM --> Create [TgtkObject.IntSendMessage3] TMENUITEM --> Show/Hide: 1 [TWinControl.Insert] TMENUIT[TWinControl.Insert] TFORM1 --> Insert: TFORM1 () [TgtkObject.IntSendMessage3] TFORM1 --> Create Creating a font [TgtkObject.IntSendMessage3] TFONT --> Create Sending Message received a SETFONTNAME message 1 2 3 4 5 6 7 8 Exiting Canvas.Create [TgtkObject.IntSendMessage3] TCONTROLCANVAS --> Create [TWinControl.Insert] TMENU --> Insert: TMENU () [TgtkObject.IntSendMessage3] TMENU --> Create [TWinControl.Insert] TMENU --> Insert: TMENU () [TgtkObject.IntSendMessage3] TMENU --> Create [TWinControl.Insert] TMENU --> Insert: TMENU () [TgtkObject.IntSendMessage3] TMENU --> Create [TWinControl.Insert] TMENU --> Insert: TMENU () [TgtkObject.IntSendMessage3] TMENU --> Create [TWinControl.Insert] TMENU --> Insert: TMENU () [TgtkObject.IntSendMessage3] TMENU --> Create [TWinControl.Insert] TMENUITEM --> Insert: TMENUITEM () [TgtkObject.IntSendMessage3] TMENUITEM --> Create [TgtkObject.IntSendMessage3] TMENUITEM --> Show/Hide: 1 [TWinControl.Insert] TMENUITEM --> Insert: TMENUITEM () [TgtkObject.IntSendMessage3] TMENUITEM --> Create [TgtkObject.IntSendMessage3] TMENUITEM --> Show/Hide: 1 [TWinControl.Insert] TMENUITEM --> Insert: TMENUITEM () [TgtkObject.IntSendMessage3] TMENUITEM --> Create [TgtkObject.IntSendMessage3] TMENUITEM --> Show/Hide: 1 [TWi--> Show/Hide: 1 [TWinControl.Insert] TMENUITEM --> Insert: TMENUITEM () [TgtkObject.IntSendMessage3] TMENUITEM --> Create [TgtkObject.IntSendMessage3] TMENUITEM --> Show/Hide: 1 [TWinControl.Insert] TMENUITEM --> Insert: TMENUITEM () sage3] TMENUITEM --> Show/Hide: 1 [TWinControl.Insert] TMENUITEM --> Insert: TMENUITEM () [TgtkObject.IntSendMessage3] TMENUITEM --> Create
[

Reply by email

Zdravko
to mariano podesta: <FONT color=#000000 face=Arial size=2><FONT color=#000000 face=Arial size=2>does anybody…

Hello,

Could you tell me what are the requirements to install successfully Lazarus. I am using Linux Slackeware 4.0.
I have just installed the latest gtk-1.2.6 libraries.

I had a problem compiling it. Several things were not declared in gtkcallback.inc file.
I commented them and managed to compile.
The created lazarus "complains" and fails to start. Messages are mostly related to gtkwidget.c and related files.

Thank you in advance.

Best regards
Zdravko

Reply by email

Shane Miller

SSCAPS, SSNUM, etc are definied in CLASSESH.INC

Go into FPC/FCL/LINUX and either do a ppc386 classes.pp or stop at the fcl directory and do a make fcl_all Delete the *.PPU and *.o files first. Try doing a make clean otherwise too before beginning. These variables are defined in FPC so make sure you have the latest FPC also.....

Let me know
Shane

>> Zdravko 10/25/99 09:42AM >>> What was not declared in gtkcallback.inc? Give me some error messages

please.

Shane

Hello,
10x answering me

Error mnessages from FPC when trying to compile Lazarus on my computer :-(

gtkcallback.inc(5,53) Error: Identifier not found SSCAPS
gtkcallback.inc(8,55) Error: Identifier not found SSNUM
gtkcallback.inc(9,55) Error: Identifier not found SSSUPER
gtkcallback.inc(10,55) Error: Identifier not found SSSCROLL
gtkcallback.inc(14,57) Error: Identifier not found SSALTGR
Fatal: There were 5 errors compiling module, stopping
make: *** [lazarus] Error 1

Messages on startin when comment lines in gtkcallback.inc are in attached file.

Thank you in advance.

Best regards
Zdravko

Show quoted text 11 lines
Hello, Could you tell me what are the requirements to install successfully Lazarus. I am using Linux Slackeware 4.0. I have just installed the latest gtk-1.2.6 libraries. I had a problem compiling it. Several things were not declared in gtkcallback.inc file. I commented them and managed to compile. The created lazarus "complains" and fails to start. Messages are mostly related to gtkwidget.c and related files.

Thank you in advance.

Best regards
Zdravko

Reply by email

Unknown author

be carefull with slack 4.0 ... it is still based on libc5, and therefore is missing some declaration of types (like INT_MAX for instance).

i had that problem compiling Gnome. now, there is a very stable slackware 7.0.0pre3 on ftp.cdrom.com/pub/linux/slacware-current/

i would suggest to reinstall (this new version is glibc2 based)

I hope i'm not too much off topic

----- La messagerie itin�rante sans abonnement NetCourrier ----- Web : www.netcourrier.com Minitel : 3615 et 3623 NETCOURRIER T�l : 08 36 69 00 21

Reply by email

Zdravko
to Shane Miller: There was a message earlier stating that Slackware 4.0 was using the old GTK or something…

Hi

Again, you have other problems if you can't find ssShift, ssAlt, etc. They

are in the classesh.inc file. You SHOULD be able to find them.

I found ssShift but can not find
ssCaps, ssNum, ssUper, ssScroll and ssAltGr.

Is there a chance you could update your linux version? Shane

I will try tomorrow.

Anyway I prefer Slackware and I have "current" latest and will try with it too.
Maybe the problem is in GTK?

10x again

Best regards
Zdravko

Reply by email

Snijders, V.

You could try and download a snapshot of the compiler. A snapshot is compiled, i.e. in binary format.
On the other hand: if you do that, you better wait another day, because in last night's sources (and thus the snapshot) seems to have been soms bugs, which have been corrected only today.

-----Oorspronkelijk bericht-----
Van: Zdravko
Verzonden: woensdag 27 oktober 1999 17:38
Aan:
Onderwerp: Re: [lazarus] I have problem to run Lazarus on Linux Slackware

When using it on a win95 machine, I had to use fpc 0.99.13 the developers release instead of 0.99.12b. Maybe you try this as well.

Unfortunately can not build 0.99.13 from available source because endless not
finding some files.

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

Reply by email

Peter Vreman
to Zdravko: Unfortunately can not build 0.99.13 from available source because endless not finding…
Show quoted text 5 lines
>When using it on a win95 machine, I had to use fpc 0.99.13 the developers >release instead of 0.99.12b. Maybe you try this as well. Unfortunately can not build 0.99.13 from available source because endless not finding some files.

??? The compiler/rtl should be compilable by 0.99.12 and then you can use that new compiler to compile the rtl and all the other packages.

Peter

Reply by email

Vincent Snijders
to Zdravko: 10x again. Sorry but it did not work. I downloaded the latest FPC release 0.99.12b and…

----- Original Message -----

Earlier message 22 lines
From: Zdravko To: Sent: dinsdag, oktober 26, 1999 10:16 Subject: Re: [lazarus] I have problem to run Lazarus on Linux Slackware > Hello, > 10x again. > > Sorry but it did not work. > I downloaded the latest FPC release 0.99.12b and source fpc-0.99.12b.tgz. from > http://www.freepascal.org/ When using it on a win95 machine, I had to use fpc 0.99.13 the developers release instead of 0.99.12b. Maybe you try this as well. Vincent Snijders _________________________________________________________________ > To unsubscribe: mail with > "unsubscribe" as the Subject > archives at http://www.miraclec.com/list_archives/lazarus >

Reply by email

Peter Vreman
to Vincent Snijders
Show quoted text 9 lines
> Hello, > 10x again. > > Sorry but it did not work. > I downloaded the latest FPC release 0.99.12b and source fpc-0.99.12b.tgz. from > http://www.freepascal.org/ When using it on a win95 machine, I had to use fpc 0.99.13 the developers release instead of 0.99.12b. Maybe you try this as well.

You need the latest snapshot of the compiler,gtk,fcl to compile lazarus.

Peter

Reply by email

Baeseman, Cliff

I had this problem also but never did figured out the cause. For some reason it just started working for me one day.

Quite frankly I cannot remember how I fixed it. But now that I think about it I am running under the QT compiler directive so I am not linking any GTK stuff at the moment. I will give it a shot tonight and see what happens.

Cliff

Earlier message 35 lines
-----Original Message----- From: Zdravko Sent: Tuesday, October 26, 1999 9:21 AM To: Subject: Re: [lazarus] I have problem to run Lazarus on Linux Slackware Hi >Again, you have other problems if you can't find ssShift, ssAlt, etc. They are in the classesh.inc file. You SHOULD be able to find them. I found ssShift but can not find ssCaps, ssNum, ssUper, ssScroll and ssAltGr. > >Is there a chance you could update your linux version? > >Shane I will try tomorrow. Anyway I prefer Slackware and I have "current" latest and will try with it too. Maybe the problem is in GTK? 10x again Best regards Zdravko _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

Reply by email

Florian Klaempfl
to Peter Vreman: ??? The compiler/rtl should be compilable by 0.99.12 and then you can use that new…
Peter Vreman wrote 9 lines
> >When using it on a win95 machine, I had to use fpc 0.99.13 the developers > >release instead of 0.99.12b. Maybe you try this as well. > > Unfortunately can not build 0.99.13 from available source because endless not > finding some files. ??? The compiler/rtl should be compilable by 0.99.12 and then you can use that new compiler to compile the rtl and all the other packages.
At least using 0.99.12a it fails:
system.inc(412,6) Error: Incompatible types: got "TERRORPROC" expected "LONGINT"
system.inc(542,6) Error: Incompatible types: got "TABSTRACTERRORPROC" expected "
LONGINT"
system.inc(550,6) Error: Incompatible types: got "TASSERTERRORPROC" expected "LO
NGINT"

Reply by email

Peter Vreman
to Peter Vreman: ??? The compiler/rtl should be compilable by 0.99.12 and then you can use that new…
you wrote 23 lines
Peter Vreman wrote: > > > >When using it on a win95 machine, I had to use fpc 0.99.13 the developers > > >release instead of 0.99.12b. Maybe you try this as well. > > > > Unfortunately can not build 0.99.13 from available source because endless not > > finding some files. > ??? The compiler/rtl should be compilable by 0.99.12 and then you can use > that new compiler to compile the rtl and all the other packages. > At least using 0.99.12a it fails: system.inc(412,6) Error: Incompatible types: got "TERRORPROC" expected "LONGINT" system.inc(542,6) Error: Incompatible types: got "TABSTRACTERRORPROC" expected " LONGINT" system.inc(550,6) Error: Incompatible types: got "TASSERTERRORPROC" expected "LO NGINT"

The latest release version is 0.99.12b. Else we need to add some $ifdef ver0_99_12

Peter

Reply by email