Sign in Join

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

Mailing lists / lazarus / 1999-04

Some notes on compiling 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.

Cliff Baeseman
to Unknown author: I've been trying to compile & run lazarus. I succeeded, but I had to do the following: 1)…

I will take a look at this michael.

Cliff

Earlier message 43 lines
-----Original Message----- From: Behalf Of Sent: Wednesday, April 14, 1999 3:06 PM To: Subject: [lazarus] Some notes on compiling lazarus... Hello, I've been trying to compile & run lazarus. I succeeded, but I had to do the following: 1) remove 'objpas' from the uses clause. you MUST leave it out. It is no longer required, you must use the -S2 or -Sd switch instead. 2) rename the TComponentStyle to TCompStyle. rename FComponentStyle to FCompStyle. TComponentStyle/FComponentSTyle are defined in TComponent, so you must take something else for the TControl class. 3) In many places, private fields are accessed in descendent types. This is not allowed. I commented out the code. The latest snapshots are much stricter in type checking than the official 0.99.10 version. I suggest you install the latest snapshot. 4) some of the GTK calls take TRUE/False as an argument. I had to change that to 0 or 1, because an gint was expected. (= an integer) In short, I was surprised that you guys got it to work at all :) But then the app ran, and I could open an edit window, so that was quite fun :-) Hope this helps, Michael. _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject
Unknown author

Hello,

I've been trying to compile & run lazarus.

I succeeded, but I had to do the following:

1) remove 'objpas' from the uses clause. you MUST leave it out. It is no longer required, you must use the -S2 or -Sd switch instead.

2) rename the TComponentStyle to TCompStyle.
rename FComponentStyle to FCompStyle.
TComponentStyle/FComponentSTyle are defined in TComponent, so you must take something else for the TControl class.

3) In many places, private fields are accessed in descendent types. This is not allowed. I commented out the code.
The latest snapshots are much stricter in type checking than the official 0.99.10 version. I suggest you install the latest snapshot.

4) some of the GTK calls take TRUE/False as an argument. I had to change that to 0 or 1, because an gint was expected. (= an integer)

In short, I was surprised that you guys got it to work at all :)

But then the app ran, and I could open an edit window, so that was quite fun :-)

Hope this helps,

Michael.