Thread overview | |||||
---|---|---|---|---|---|
|
February 07, 2013 Info for using DWT on Win 7 with dmd 2.061 and phobos | ||||
---|---|---|---|---|
| ||||
After a brief test of DWT, I found out I was using a version that seemed to depend on Tango. Then I found this site https://github.com/d-widget-toolkit/dwt, which seems to host the latest updates. Some questions: - Is there a version only using phobos? - 64 bit? - Build tools? After building, I am stuck with linker errors: ---------------------------- module main; import std.stdio; import org.eclipse.swt.SWT; import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.Shell; void main() { writeln("hello"); } ----------------------------- $ dmd main.d -IC:/swt/src -IC:/swt/base -JC:/swt/res -> main.obj(main) Error 42: Symbol Undefined _D3org7eclipse3swt7widgets5Shell12__ModuleInfoZ and similarly for Display and Shell. |
February 08, 2013 Re: Info for using DWT on Win 7 with dmd 2.061 and phobos | ||||
---|---|---|---|---|
| ||||
Posted in reply to deed | On Thursday, 7 February 2013 at 23:38:50 UTC, deed wrote: > After a brief test of DWT, I found out I was using a version that seemed to depend on Tango. Then I found this site u, which seems to host the latest updates. Some questions: > > - Is there a version only using phobos? Hmm, no, as README stated there both for D2/Phobos and D1/Tango. I haven't used D1/Tango version, so can't say any on it. > - 64 bit? I hope it is still 32 only. > - Build tools? > For D2/Phobos it is using build.d there as per README > $ dmd main.d -IC:/swt/src -IC:/swt/base -JC:/swt/res > -> > main.obj(main) > Error 42: Symbol Undefined _D3org7eclipse3swt7widgets5Shell12__ModuleInfoZ > > and similarly for Display and Shell. Probably you have compile bugs for there modules and linker couldn't find .obj files. Save log from build and look into details. I didn't have such issues under Win32 a couple of month ago. Oleg. |
February 08, 2013 Re: Info for using DWT on Win 7 with dmd 2.061 and phobos | ||||
---|---|---|---|---|
| ||||
Posted in reply to deed | On 2013-02-08 00:38, deed wrote: > After a brief test of DWT, I found out I was using a version that seemed > to depend on Tango. Then I found this site > https://github.com/d-widget-toolkit/dwt, which seems to host the latest > updates. Some questions: > > - Is there a version only using phobos? No, this one supports both D1/Tango and D2/Phobos. > - 64 bit? No, it's currently only 32 bit. > - Build tools? For building the library it's using the file "build.d". For building an application I recommend using rdmd which will track and compile all dependencies automatically. -- /Jacob Carlborg |
Copyright © 1999-2021 by the D Language Foundation