Jump to page: 1 2
Thread overview
DWT information, requirements and installation
Feb 15, 2008
doob
Feb 15, 2008
Ty Tower
Feb 15, 2008
Jesse Phillips
Feb 15, 2008
Ty Tower
Feb 15, 2008
Ty Tower
Feb 15, 2008
Ty Tower
Feb 15, 2008
Ty Tower
Feb 15, 2008
Frank Benoit
Feb 15, 2008
John Reimer
Feb 15, 2008
Ty Tower
Feb 15, 2008
Ty Tower
Feb 15, 2008
torhu
Feb 16, 2008
Ty Tower
Feb 16, 2008
Jesse Phillips
Feb 15, 2008
doob
February 15, 2008
I added a new page on every DWT wiki, dwt-win, dwt-linux, dwt-samples and dwt-addons in hope of that it would help people to get dwt working on their systems.

For example: http://www.dsource.org/projects/dwt-win/wiki/Installation
February 15, 2008
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@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 `_D3dwt7widgets5Shell5Shell5_ctorMFC3dwt7widgets7Display7DisplayZC3dwt7widgets5Shell5Shell'
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@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@linuxbox dwt-linux]$ su
Password:
[root@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?


February 15, 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@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
> 
`_D3dwt7widgets5Shell5Shell5_ctorMFC3dwt7widgets7Display7DisplayZC3dwt7widgets5Shell5Shell'
> 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@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@linuxbox dwt-linux]$ su
> Password:
> [root@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.

[main.d]
buildflags+= -L-lDD-tango-util

then do your dsss build. Your building in Linux right?
February 15, 2008
Jesse Phillips Wrote:

> I assume this is a program you wrote? Either way doesn't matter, your missing a dsss.conf file which should have these lines.
> 
Its a demo program copied from doob's new page as per previous post

> [main.d]
> buildflags+= -L-lDD-tango-util
> 
> then do your dsss build. Your building in Linux right?

Linux is right . I have a dss.conf file in the directorywhich is dwt-linux  but all it has in it is
[dwt]
type=library

Ill try that anyway

February 15, 2008
Jesse Phillips Wrote:

> I assume this is a program you wrote? Either way doesn't matter, your missing a dsss.conf file which should have these lines.
> 
Its a demo program copied from doob's new page as per previous post

> [main.d]
> buildflags+= -L-lDD-tango-util
> 
> then do your dsss build. Your building in Linux right?

Linux is right . I have a dss.conf file in the directorywhich is dwt-linux  but all it has in it is
[dwt]
type=library

Ill try that anyway

February 15, 2008
Jesse Phillips Wrote:
> [main.d]
> buildflags+= -L-lDD-tango-util
> 
> then do your dsss build. Your building in Linux right?


Well that was a waste of time -I put the suggested in the dsss;conf file I have and it promptly deleted the libraray I had compiled titled  "libDD-dwt.a" and then had the same hang up trying to compile it again with "main.d" tagged on .
February 15, 2008
I tried putting my trial stuff in a separate directory "myStuff" as a directory in "dwt-linux" and made a new dsss.conf file with Jesse's stuff in it but no change

I wonder how much thought you put into your posts before you type

February 15, 2008
Ty Tower schrieb:
> I wonder how much thought you put into your posts before you type

Ask yourself about your own postings.
Please stay polite.

Its really hard to help with all that weird information you give. Permission problems, then you copy and rename files wildly. Sometimes you use dmd directly then again dsss. Did you install the lib or not in all your experiments, hm.

Perhaps it would be good if you start all over. And describe all you do, covering installation of dmd, dsss, tango. Paths, env variables and so on. then about dwt and what you try to do. This would help to help you.
February 15, 2008
Frank Benoit wrote:
> Ty Tower schrieb:
>> I wonder how much thought you put into your posts before you type
> 
> Ask yourself about your own postings.
> Please stay polite.
> 
> Its really hard to help with all that weird information you give. Permission problems, then you copy and rename files wildly. Sometimes you use dmd directly then again dsss. Did you install the lib or not in all your experiments, hm.
> 
> Perhaps it would be good if you start all over. And describe all you do, covering installation of dmd, dsss, tango. Paths, env variables and so on. then about dwt and what you try to do. This would help to help you.


I have to agree with Frank on this.  Right now, we've been guessing at what you've done without knowledge of how you've set things up (other than bits and pieces of information).  In order to help you, we will need every detail of your D installation from start to finish.  That's the only way to catch a hint of what is causing the problem.  The likelihood is that it has less to do with dwt than you might expect.

Also, I don't believe you answered my question whether or not you can build and run the Tango examples correctly.  Did you try that?

Please list:

* Your Operating System (distribution and version)

* Your dmd version

* Your Tango version

* Your dsss version

* Where and how you installed each of these tools (/usr/bin ?)

* Whether or not you have installed gdc (and where)

* Where you have installed your Tango library (/usr/lib etc).

* Whether or not you have left libphobos.a installed somewhere (the Phobos library may still be left in the lib directory).

* Any other possible information related to any of the above, and the steps you made to execute them.

After that, we can discuss how to test that dsss and Tango are installed correctly.

Finally, we can start testing a dwt library build and then a dwt example build and link.

-JJR
February 15, 2008
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@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 `_D3dwt7widgets5Shell5Shell5_ctorMFC3dwt7widgets7Display7DisplayZC3dwt7widgets5Shell5Shell'
> 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@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@linuxbox dwt-linux]$ su
> Password:
> [root@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?
> 
> 
Put "main.d" in a completely different directory than dwt-linux. Preferable in a new empty directory. I noticed I have to update the instructions.
« First   ‹ Prev
1 2