Re: Statically linked GTK app



Raymond Wan writes:
 > 
 > Hi all,
 > 
 > 	Sorry for continually asking about this, but this problem has
 > really stumped me...  I've stripped away my code and came up with the
 > minimum amount of code that will work dynamically but crash statically. 
 > Hopefully, someone can try it out and spot a mistake that I've made in my
 > code or Makefile.  I'm now using GTK v1.3.10 compiled using Christian's
 > previous posting.  There's a Makefile and C source code; both are the
 > smallest I could make that still duplicates the problem. 
 > 

hi, it works for me (actually I'm using gtk2 under frame-buffer
... but it shouldn't change nothing). Just added a gtk_container_add in
main so can see the pixmap and it worked. Just to be sure, have you tried:

1) the test programs that comes with gtk (testgtk, testtext,
testtextbuffer, and other tha handle xpms) once you link them staticaly?

2) if they do, try use gdk_pixmap_create_from_xpm_d ()  without the
colormap.

For now I have no other ideas, I'll try to compile GTK2 for X sometime
soon.

Bye!




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]