Setting up the D2.x workflow (with gtkd) on Ubuntu 10.04

I played with D for several days and was very excited for now, that is, I tried to get gtkd to work. I wasted most of 3 days trying to get a working setup, and I'm starting to get (read, long received) a little demoralized. I was wondering if anyone could help before I give up. Most of the information that I can find on the Internet is out of date, so I'm not sure that I am even right in thinking that this is possible.

The rest of this is what I have tried so far, and you may not need to read it if you have a quick fix, so feel free to jump ... [Go to this topic]

So, firstly, I need to know that tango is really available for use with D2.0, I believe that it was not originally, and now D2.x is such that you can use tango and phobes next to each other. If this is not the case, then I think I fell on the first hurdle, and this is not a starter.

The steps that I have taken so far.

  • I installed gdc from ubuntu repositories
  • I installed libtango headers from the repository (note only headers, no libs available, so not much)
  • I manually installed dsss

This setup will compile D, but when I came to the gtkd installation (with dsss), it compiled, but I had all kinds of errors (related to tango) when trying to compile something using it. Well, as I mentioned, I did not have libraries, so this should not have been unexpected. I tried to install the tango files manually, but still got a lot of errors and eventually resorted to dsss net install tango, which warned me that I could not return to phobos (something confused me, as I mentioned, I thought that they could be used together with each other), in any case, I continued, and he completely screwed up my installation. Now I could not compile D.

Sorry, I could not more clearly indicate what errors I received in this last section, I honestly do not remember.

, , . .

  • gdc repos
  • dsss

, gdc ( , ),

  • deb dmd .
  • latested tango (libs headers) .
  • gtkd dsss

dss dmd, gdc. , , . dmd , tango gtkd, volatile, . -, , -, D2.x, " ".

, !

[ ]

- , , !

, T.

: " !"

, dmd.2.049.zip http://www.digitalmars.com/d/download.html export PATH = $PATH:~/dmd2/linux/bin ( dsimcha).

dsss. gtkd svn http://www.dsource.org/projects/gtkd/wiki/UsingSubversion. GNUmakefile, /home/me/dmd2/linux make install.

~/dmd2/linux/bin/dmd.conf, ../include (gtkD libs ../lib, ).

, , gtkD libgtkd libdl, dmd mydprog.d -L-lgtkd -L-ldl ( jpf).

+5
2
  • D2. - , , , , - . OTOH Phobos D2 , Phobos D1, , .

  • GDC D2. gtkD . DMD.

  • , DMD Linux dmd.2.0xx.zip export PATH = $PATH:~/dmd2/linux/bin, , DMD . ( DMD2 Phobos).

+6

, dmd , -L. , gtkd gtkd libdl.

-L-lgtkd -L-ldl
+4

All Articles