DWT information, requirements and installation

Jesse Phillips jessekphillips at gmail.com
Thu Feb 14 23:15:14 PST 2008

On Fri, 15 Feb 2008 00:28:21 -0500, Ty Tower wrote:

> Good doob, I thought I would see if I can get any clues from this as to
> why my installation is not working. Tango seems to be working and the
> dmd.conf files are both correct and in the right place.
> So I tried building it with the command "dmd main.d" and got errrors as
> below
> bash: TMOUT: readonly variable
> [tytower at linuxbox dwt-linux]$ dmd main.d gcc main.o -o main -m32
> -Xlinker -L/usr/bin/../lib -ltango-user-dmd -ltango-base-dmd -lpthread
> -lm main.o:(.data+0x38): undefined reference to
> `_D3dwt7widgets7Display12__ModuleInfoZ' main.o:(.data+0x3c): undefined
> reference to `_D3dwt7widgets5Shell12__ModuleInfoZ' main.o: In function
> `_Dmain':
> main.d:(.text._Dmain+0x8): undefined reference to
> `_D3dwt7widgets7Display7Display7__ClassZ' main.d:(.text._Dmain+0x13):
> undefined reference to
> `_D3dwt7widgets7Display7Display5_ctorMFZC3dwt7widgets7Display7Display'
> main.d:(.text._Dmain+0x1b): undefined reference to
> `_D3dwt7widgets5Shell5Shell7__ClassZ' main.d:(.text._Dmain+0x29):
> undefined reference to
> collect2: ld returned 1 exit status
> --- errorlevel 1
> So I thought I would try the "dsss build main.d" just in case and this
> gave me
> [tytower at linuxbox dwt-linux]$ dsss build main.d Default prefix /usr is
> unwritable, using /home/tytower/d instead. main.d is not described in
> the configuration file.
> so I changed to su and so
> [tytower at linuxbox dwt-linux]$ su
> Password:
> [root at linuxbox dwt-linux]# dsss build main.d main.d is not described in
> the configuration file.
> Hmm , so where now ?
> Does this give anybody any clues?

I assume this is a program you wrote? Either way doesn't matter, your 
missing a dsss.conf file which should have these lines.

buildflags+= -L-lDD-tango-util

then do your dsss build. Your building in Linux right? 

More information about the Digitalmars-d-dwt mailing list