Hello World Example with Glade?
Mike James via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Fri Sep 11 00:20:57 PDT 2015
On Friday, 11 September 2015 at 07:13:22 UTC, Mike McKee wrote:
> On Friday, 11 September 2015 at 06:53:07 UTC, Mike James wrote:
>> There's a Glade example in the demos/builder directory...
>
> I'm having trouble installing GtkD on Ubuntu Linux 14.04. I did
> the apt steps from here:
>
> http://d-apt.sourceforge.net/
>
> $ sudo su
> # wget
> http://master.dl.sourceforge.net/project/d-apt/files/d-apt.list
> -O /etc/apt/sources.list.d/d-apt.list
> # apt-get update && apt-get -y --allow-unauthenticated install
> --reinstall d-apt-keyring && apt-get update
> # apt-get install libgtkd3-dev libgtkd3-doc
>
> I then run the following and it fails:
>
> # dmd test1.d
> test1.d(1): Error: module gtk is in file 'gtk.d' which cannot
> be read
> import path[0] = /usr/include/dmd/phobos
> import path[1] = /usr/include/dmd/druntime/import
It looks last keep you're missing an import path
(-Ipath_to_source). Check out
http://dlang.org/dmd-linux.html#switches
Regards, -<Mike>-
More information about the Digitalmars-d-learn
mailing list