Sign in Join

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

Mailing lists / lazarus / 2000-06

Gtk-CRITICAL

6 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

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

Unknown author

I used the process.pp from CVS 0.99.15 and it compiled, assembled and linked with some hints and so on...
After that I try to run Lazarus but I could only se the splash pinguin in 0.32 seconds
and nothing more ??
Then I try to run it from terminal and this comes up:

Gtk-CRITICAL **: file gtkobject.c: line 1033 (gtk_object_set_data): assertion 'object != NULL' failed.
ERROR: [TgtkObject.CreateFontIndirect] Nofontname
Gtk-CRITICAL **: file gtkwidget.c: line 3313 (gtk_widget_set_sensitive): assertion 'widget != NULL' failed.
Gtk-CRITICAL **: file gtkfixed.c: line 175 (gtk_fixed_move): assertion 'GTK_IS_FIXED (fixed)' failed.
ERROR: [TgtkObject.CreateFontIndirect] No fontnameAt end of ExeptionAddresStack
Gdk-CRITICAL **: file gdkpixmap.c: line 820 (gdk_pixmap_unref): assertion 'pixmap != NULL' failed.
[TgtkObject.Destroy] WARNING: There are 10 unreleased DCs and 58 unreleased GDIObjects
[TgtkObject.Destroy] WARNING: There are 16 messages left in the queue! I'll free them

Where should I start... :(

Chris

Reply by email

Marc Weustink
to Unknown author

+ From:
+
+ I used the process.pp from CVS 0.99.15 and it compiled, assembled
+ and linked with some hints and so on...

did you only update process.pp, or all the sources ?

+ After that I try to run Lazarus but I could only se the
+ splash pinguin in 0.32 seconds and nothing more ??
+ Then I try to run it from terminal and this comes up: +
+ Gtk-CRITICAL **: file gtkobject.c: line 1033 (gtk_object_set_data):
+ assertion 'object != NULL' failed.
+ ERROR: [TgtkObject.CreateFontIndirect] Nofontname
+ Gtk-CRITICAL **: file gtkwidget.c: line 3313
+ (gtk_widget_set_sensitive):
+ assertion 'widget != NULL' failed.
+ Gtk-CRITICAL **: file gtkfixed.c: line 175 (gtk_fixed_move): assertion
+ 'GTK_IS_FIXED (fixed)' failed.
+ ERROR: [TgtkObject.CreateFontIndirect] No fontnameAt end of
+ ExeptionAddresStack

The Gtk-CRITICAL errors are known, and can be ignored for now.

But the last line worries me. Normally you get several "ERROR: [TgtkObject.CreateFontIndirect] No fontname" lines which are indeed an error, but aren't fatal. At this moment they are a result of the lack of a APIdesktop, and for now thay can be ignored.

However in your situation it dumps in the create font routine and I don't know why.

In the lazarus dir, can you do a "make clean" and a "make ide OPT=-dTRACE" and post the lines around the "At end of ExeptionAddresStack" line ?

Marc

Reply by email

Marc Weustink
to Unknown author: I downloaded the CVS, but used only the process.pp... I have some problems with the…

+ From:
+
+ I downloaded the CVS, but used only the process.pp...

Ah, if you have CVS then better get all through CVS as described in the HowTo. If you want to do it by zip then the following link may give you and idea how the dir structure should be.

http://cvs.freepascal.org/cgi-bin/cvsweb/fpc

Note that only the base, compiler, rtl, fcl, gtk, lazarus and packages dirs are used for Lazarus.

+ I have some problems with the makefiles in all other dirs
+ exept lazarus dir so I try to do this "the bad" way.
+ I know it's not god. The makefiles hides the secrets
+ and I have to find out whats wrong with them.

I think you can simply forget to compile the other dirs without makefiles. All platform dependencies are resolved through the makefiles.

+ I had some struggle to put up my lazarus folder tree and I
+ think nothing in my stucture is what it should be. But now
+ I begin to understand how it should be
+ so I will start it all over from the beginning and not give
+ up until all makefiles works
+ so I can do make clean, make cycle and make without any errors... :)

If you have a structure like the link I gave than you can do a make cycle in the compiler dir whihout the need of editing the makefiles.

+ The errors I get with the makefiles i a lot of lines with
+ something about the "ifdef" and "endif".
+ I will try to "patch" the makefile that works into the other
+ dirs and only change the "user settings" part (I think !?). +
+ You think I am in some right track..... or ?

Don't focus on the makefiles. They are generated from makefile.fpc and they assume a certain dis structure.

+ I will try your suggestion first !!
+
+ I read somewhere that you don't need the ppc386.cfg anymore
+ with the new makefiles, am I wrong ??

You don't need a ppc386.cfg anymore if you only want to build the compiler and lazarus through makefiles.

If you want to compile separate projects without makefile, ppc386.cfg might be handy.

Marc

Reply by email

Unknown author

I wish I had CVS... no!! Just a missunderstanding, I went to the site http://www.freepascal.org/develop.html at the "Download Daily CVS Sources" place and downloaded...

Compare to many others I am in "stoneage", I don't have internet at home only at my work. My e-mail at the same place. I work with all my "projects" off line...

I did a "make clean" and a "make ide OPT=-dTRACE" but the errors was the same,
just repeated a little more...

About the makefiles, that's just wrong with me. I did not really understod how to use them!!
I still have som complaining from the system about some "ifdef" and "else" parts, but it compile anyway !!
Now I use orginal makefiles and the compiler finds all dirs and so on... The only makefile that I don't find is the one that should be in the /compiler dir ??

The link you posted is that the real CVS dirs ?
Why isn't the zip on the download place created in that structure, I mean it
should make it easy to download a real "Bleeding Edge" install !? Or is it "to much" bleeding" ?? :)

Now some more questions:

1. Is it possible to setup CVS on NT network computer without "sysadmin" acount ?

2. Do have to use a snapshot ppc386 comiler to work with Lazarus or does it work with the release 0.99.14 one ?

3. Is "make clean" and "make ide" the only type of "make" to use on Lazarus ?

4. Is Lazarus still in the 0.5 version ?

Thanks for the support...

Chris

Reply by email

Unknown author

I downloaded the CVS, but used only the process.pp... I have some problems with the makefiles in all other dirs exept lazarus dir so I try to do this "the bad" way. I know it's not god. The makefiles hides the secrets
and I have to find out whats wrong with them.
I had some struggle to put up my lazarus folder tree and I think nothing in my
stucture is what it should be. But now I begin to understand how it should be
so I will start it all over from the beginning and not give up until all makefiles works
so I can do make clean, make cycle and make without any errors... :)

The errors I get with the makefiles i a lot of lines with something about the "ifdef" and "endif".
I will try to "patch" the makefile that works into the other dirs and only change the "user settings" part (I think !?).

You think I am in some right track..... or ?

I will try your suggestion first !!

I read somewhere that you don't need the ppc386.cfg anymore with the new makefiles, am I wrong ??

best regards

Chris

Reply by email

Marc Weustink
to Unknown author: I wish I had CVS... no!! Just a missunderstanding, I went to the site…

+ From:

+ The link you posted is that the real CVS dirs ?

Yep, it's web frontend to CVS written by Michael Van Canneyt

+ Now some more questions:
+
+ 1. Is it possible to setup CVS on NT network computer without
+ "sysadmin" acount ?

Yes, thats means if you are allowed to add executables to your NT box

+ 2. Do have to use a snapshot ppc386 comiler to work with
+ Lazarus or does it work with the release 0.99.14 one ?

Lazarus only runs on the latest compiler (at least 0.99.15)

+ 3. Is "make clean" and "make ide" the only type of "make" to
+ use on Lazarus ?

nope

make lcl Creates the Lazarus Component Library
make components Creates all exta components
make ide Creates the Lazarus IDE only
make examples Creates all examples
make all Creates them all

+ 4. Is Lazarus still in the 0.5 version ?

Yes

Reply by email