Sign in Join

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

Mailing lists / lazarus / 2001-01

gtkint.pp won't compile

7 messages · 5 people ·

Reply by email Subscribe to this list Your subscription

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

FoodTechnologist
to Michael A. Hess: As the subject says, gtkint.pp won't compile now. It blows with 3 errors. It indicates…

Michael A. Hess �����:

Show quoted text 7 lines
Greetings, As the subject says, gtkint.pp won't compile now. It blows with 3 errors. It indicates that it is at line 640. Since 640 happens to be the end of the file it is hard to determine where the problem is exactly. It must be some sort of syntax error that is confusing the file. Anyone know what file was being worked on that could have it messed up?

I've answered, how to correct these 3 errors. It's just incompartibility between
gdk units. In Lazarus gdk is excpected to get (in one argument) a set of integers,
and in gdk this is array of char. It is so easy to fix. You may just get an older version
of lazarus and copy these strs.

I've encountered another problem when compile lazarus with fpc-1.0 There is a run-time error that fontdialog resource can't be found! I'll try to do smth, but I don't know what!!!

Reply by email

Shane Miller

You can't use version fpc1.0 to run LAzarus. We are now using some streaming functions that only work in 1.0.5.

The "run-time" error you are saying you are getting isn't an error, it's simply a message stating that the resource was not found. It's not found because I haven't streamed that form yet and I don't plan on it for a while. Lazarus still works fine but not with fpc1.0

Shane

>> 01/11/01 02:27AM >>>

Michael A. Hess ?????:

Show quoted text 7 lines
Greetings, As the subject says, gtkint.pp won't compile now. It blows with 3 errors. It indicates that it is at line 640. Since 640 happens to be the end of the file it is hard to determine where the problem is exactly. It must be some sort of syntax error that is confusing the file. Anyone know what file was being worked on that could have it messed up?

I've answered, how to correct these 3 errors. It's just incompartibility between
gdk units. In Lazarus gdk is excpected to get (in one argument) a set of integers,
and in gdk this is array of char. It is so easy to fix. You may just get an older version
of lazarus and copy these strs.

I've encountered another problem when compile lazarus with fpc-1.0 There is a run-time error that fontdialog resource can't be found! I'll try to do smth, but I don't know what!!!

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

Reply by email

Peter Vreman
Show quoted text 8 lines
Michael A. Hess �����: > Greetings, > > As the subject says, gtkint.pp won't compile now. It blows with 3 > errors. It indicates that it is at line 640. Since 640 happens to be

th> e

> end of the file it is hard to determine where the problem is exactly.

I> t

Show quoted text 11 lines
> must be some sort of syntax error that is confusing the file. Anyone > know what file was being worked on that could have it messed up? I've answered, how to correct these 3 errors. It's just incompartibility between gdk units. In Lazarus gdk is excpected to get (in one argument) a set of integers, and in gdk this is array of char. It is so easy to fix. You may just get an older version of lazarus and copy these strs.

But that won't work either as the 1.0.4 compiler generated the invisible high-parameter that isn't supported by C. In 1.0.5 this has been fixed.

Maybe someone should create a specific lazarus rpm package for the developpers to use until a new FP release is created.

Reply by email

Michael A. Hess

Greetings,

As the subject says, gtkint.pp won't compile now. It blows with 3 errors. It indicates that it is at line 640. Since 640 happens to be the end of the file it is hard to determine where the problem is exactly. It must be some sort of syntax error that is confusing the file. Anyone know what file was being worked on that could have it messed up?

==== Programming my first best destiny! ==== Michael A. Hess Miracle Concepts, Inc. http://www.miraclec.com

Reply by email

Peter Vreman
Show quoted text 6 lines
+ From: Peter Vreman + + Maybe someone should create a specific lazarus rpm package + for the developpers to use until a new FP release is created. How do you create such a package ?

1. You need to have the whole fpc tree checked out:

cvs co -z3 -r FIXES_1_0_0 fpc

2. Then edit fpc/install/fpc.spec to contain the new version number 1.0.5 and in the packagename 1.0.5.laz1

3. Then running in the fpc/ dir:

make rpm FPC_VERSION=1.0.5

Reply by email