www.digitalmars.com         C & C++   DMDScript  

D - DUI listed on the GTK+ language bindings page

reply Ant <Ant_member pathlink.com> writes:
DUI is now listed on the GTK+ language bindings page.

GTK+ bindings page
http://www.gtk.org/bindings.html

DUI home
http://ca.geocities.com/duitoolkit/index.html

Can I put the Digital Mars logo on the DUI page?
(I guess so, I've seen it on other sites)

(BTW the link to DUI page on the D news page is broken
it has a ">" before the ".html"
it's funny because it looks to be right on my original post...)

Ant
Aug 22 2003
next sibling parent reply "Carlos Santander B." <carlos8294 msn.com> writes:
"Ant" <Ant_member pathlink.com> wrote in message
news:bi584f$v1m$1 digitaldaemon.com...
|
| DUI home
| http://ca.geocities.com/duitoolkit/index.html
|

Could you describe what libraries are needed for linking dui programs? The
compiler goes just fine, but when ld tries to link, I get a lot of missing
symbols. (I'll see if I can post them later. Not sure, though)

覧覧覧覧覧覧覧覧覧覧覧覧
Carlos Santander


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.512 / Virus Database: 309 - Release Date: 2003-08-19
Aug 22 2003
parent reply Ant <Ant_member pathlink.com> writes:
In article <bi5f2n$193q$4 digitaldaemon.com>, Carlos Santander B. says...
"Ant" <Ant_member pathlink.com> wrote in message
news:bi584f$v1m$1 digitaldaemon.com...
|
| DUI home
| http://ca.geocities.com/duitoolkit/index.html
|

Could you describe what libraries are needed for linking dui programs? The
compiler goes just fine, but when ld tries to link, I get a lot of missing
symbols.

Sure, I should do that (tonight). If you have your gtk libs on /usr/local/lib instead of /usr/lib (or the other way around, or on any other place) you need to change the Makefile. (the necessary changes are documented on the Makefile it self). Check the Makefile, there are a couple of vars that contain the libs (I guess you could get every thing from the GTK download sites) The Makefile is very simple. I want to release a proper configure from autoconf and automake but I need to learn howto first... :( Ant
Aug 22 2003
parent reply "Carlos Santander B." <carlos8294 msn.com> writes:
"Ant" <Ant_member pathlink.com> wrote in message
news:bi5gf1$1b8f$1 digitaldaemon.com...
| (I guess you could get every thing from the GTK download sites)
|

No. I have the one that comes with Mandrake 9

覧覧覧覧覧覧覧覧覧覧覧覧
Carlos Santander


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.512 / Virus Database: 309 - Release Date: 2003-08-19
Aug 22 2003
parent reply Ant <Ant_member pathlink.com> writes:
In article <bi5l7r$1hvm$1 digitaldaemon.com>, Carlos Santander B. says...
"Ant" <Ant_member pathlink.com> wrote in message
news:bi5gf1$1b8f$1 digitaldaemon.com...
| (I guess you could get every thing from the GTK download sites)
|

No. I have the one that comes with Mandrake 9

Mandrake 9.1 has gtk 2.2.1 DUI wraps gtk+2.2.2 , I'm *guessing* that might be it... seems that you might have GTK 2.0.6... Mandrake 9.1 is almost there... couldn't see what the 9.2 beta has. probably I'll finish 2.2.2 first and then 2.2.4 (GTK+ 2.2.4 is beta and should be release by the end of the year) Ant From the Mandrake site: " Packages available in Mandrake Linux 9.0 Package name - Version - Summary libgtk+1.2 1.2.10 : Main library for gtk+ libgtk+2.0_0 2.0.6 : The GIMP ToolKit (GTK+), a library for creating GUIs " Mandrake Linux 9.1 - Available packages (Download Edition) " 9.1-Download-1 libgtk+1.2-1.2.10-32mdk.i586: Main library for gtk+ 9.1-Download-1 libgtk+2.0_0-2.2.1-2mdk.i586: The GIMP ToolKit (GTK+), a library for creating GUIs "
Aug 22 2003
parent reply "Carlos Santander B." <carlos8294 msn.com> writes:
"Ant" <Ant_member pathlink.com> wrote in message
news:bi5ocf$1mm7$1 digitaldaemon.com...
|
| DUI wraps gtk+2.2.2 , I'm *guessing* that might be it...
|

You were right, that was it. Finally, it all compiled, linked and ran.
But since I don't know where things should be installed in Linux,
configuring all those packages (atk, pango, pkg-whatever, glib...) was a
real pain. I had to create symbolic links all over my system to compile
that. And when it came down to DUI, I had to specify like 10 -L flags.
Probably because of all that mess I got a segmentation fault (and a core
dump) after closing both samples. And another seg fault when clicking in
"drawing" in the DUITests. But, like I said, probably it has nothing to do
with DUI itself.

覧覧覧覧覧覧覧覧覧覧覧覧
Carlos Santander


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.512 / Virus Database: 309 - Release Date: 2003-08-19
Aug 23 2003
parent Ant <Ant_member pathlink.com> writes:
In article <bi8p5l$fr3$1 digitaldaemon.com>, Carlos Santander B. says...
"Ant" <Ant_member pathlink.com> wrote in message
news:bi5ocf$1mm7$1 digitaldaemon.com...
|
| DUI wraps gtk+2.2.2 , I'm *guessing* that might be it...
|

I had to create symbolic links all over my system to compile
that. And when it came down to DUI, I had to specify like 10 -L flags.
Probably because of all that mess I got a segmentation fault (and a core
dump) after closing both samples. And another seg fault when clicking in
"drawing" in the DUITests. But, like I said, probably it has nothing to do
with DUI itself.

I started a nightly build page. This includes a static libdui.a (renamed with the build ID) that I don't know if it is usable in other linux configurations. Build 42 has better callback interface with C, (used for instance when clicking in the drawing example). If it was a problem with DUI this might fix it. Night drops aren't garanty to even compile. Night drop (42) doesn't link the HelloWorld example but contains improvements over release 00.02. Ant ############## my ldd for DUITests (built 42) is: libpthread.so.0 => /lib/libpthread.so.0 (0x40024000) libm.so.6 => /lib/libm.so.6 (0x40077000) libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0x4009a000) libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0x402a6000) libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0x40307000) libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0x4031d000) libpangoxft-1.0.so.0 => /usr/lib/libpangoxft-1.0.so.0 (0x4032e000) libpangox-1.0.so.0 => /usr/lib/libpangox-1.0.so.0 (0x4034d000) libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0x40359000) libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x40388000) libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x403b7000) libdl.so.2 => /lib/libdl.so.2 (0x403bb000) libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x403be000) libc.so.6 => /lib/libc.so.6 (0x40421000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) libXrandr.so.2 => /usr/X11R6/lib/libXrandr.so.2 (0x40554000) libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40557000) libXft.so.2 => /usr/X11R6/lib/libXft.so.2 (0x40564000) libXrender.so.1 => /usr/X11R6/lib/libXrender.so.1 (0x40574000) libfontconfig.so.1 => /usr/X11R6/lib/libfontconfig.so.1 (0x4057b000) libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4059f000) libfreetype.so.6 => /usr/X11R6/lib/libfreetype.so.6 (0x4065a000) libexpat.so.1 => /usr/X11R6/lib/libexpat.so.1 (0x406a6000) libz.so.1 => /usr/lib/libz.so.1 (0x406c1000)
Aug 24 2003
prev sibling parent "Walter" <walter digitalmars.com> writes:
"Ant" <Ant_member pathlink.com> wrote in message
news:bi584f$v1m$1 digitaldaemon.com...
 DUI is now listed on the GTK+ language bindings page.

 GTK+ bindings page
 http://www.gtk.org/bindings.html

 DUI home
 http://ca.geocities.com/duitoolkit/index.html

 Can I put the Digital Mars logo on the DUI page?
 (I guess so, I've seen it on other sites)

Yes, if it forms the link to Digital Mars! You can also use the images at the bottom of www.digitalmars.com/d/dlinks.html
 (BTW the link to DUI page on the D news page is broken
 it has a ">" before the ".html"
 it's funny because it looks to be right on my original post...)

Fixed!
Aug 25 2003