Thread overview | ||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
July 19, 2011 gtkD doesn't compile on windows | ||||
---|---|---|---|---|
| ||||
Giving up on qtD, I tried gtkD. Not much luck there either. As I've spent most of my day trying to compile qt, I'm not really in the mood to spend many hours trying to get gtk working. Is anybody actually using D for GUI development on Windows at all..? c:\d\ext\gtkd>\d\dsss-0.78-x86-windows\bin\dsss.exe build undemofy Creating imports for DD-atk Creating imports for DD-cairo Creating imports for DD-gdk Creating imports for DD-gdkpixbuf Creating imports for DD-gio Creating imports for DD-glade Creating imports for DD-glib Creating imports for DD-gobject Creating imports for DD-gthread Creating imports for DD-gtk Creating imports for DD-gtkc Creating imports for DD-pango atk => DD-atk DD-atk_static.rf: No such file or directory Command c:\d\dsss-0.78-x86-windows\bin\rebuild.exe returned with code 1, aborting. Error: Command failed, aborting. |
July 19, 2011 Re: gtkD doesn't compile on windows | ||||
---|---|---|---|---|
| ||||
Posted in reply to simendsjo | > atk => DD-atk
> DD-atk_static.rf: No such file or directory
> Command c:\d\dsss-0.78-x86-windows\bin\rebuild.exe returned with code 1, aborting.
> Error: Command failed, aborting.
Doesn't dsss have some kind of verbose mode?
Did you try with another build tool?
|
July 19, 2011 Re: gtkD doesn't compile on windows | ||||
---|---|---|---|---|
| ||||
Posted in reply to Trass3r | On 19.07.2011 15:12, Trass3r wrote:
>> atk => DD-atk
>> DD-atk_static.rf: No such file or directory
>> Command c:\d\dsss-0.78-x86-windows\bin\rebuild.exe returned with code
>> 1, aborting.
>> Error: Command failed, aborting.
>
> Doesn't dsss have some kind of verbose mode?
> Did you try with another build tool?
No verbose flag. What other build tool?
rdmd still doesn't understand subfolders on windows, and it doesn't give good error messages:
c:\d\ext\gtkd\demos\gtk>rdmd -v HelloWorld.d
Failed: dmd -v -v -o- "HelloWorld.d" -I"." >HelloWorld.d.deps
The dmd command works, so it's rdmd that fails.
|
July 19, 2011 Re: gtkD doesn't compile on windows | ||||
---|---|---|---|---|
| ||||
Posted in reply to simendsjo | I built the fourth example (http://dsource.org/projects/gtkd/wiki/CodeExamples) using rdmd and it worked fine (regarding gtkD). (svn version of gtkD) There's a rdmd bug though. 'rdmd --build-only --chatty -I~/coding/gtkD/src/ -L-ldl test.d' doesn't directly work cause the .rsp file contains 'dmd'. But if you execute the command inside the .rsp it builds without problems. |
July 19, 2011 Re: gtkD doesn't compile on windows | ||||
---|---|---|---|---|
| ||||
Posted in reply to Trass3r | On 19.07.2011 15:29, Trass3r wrote:
> I built the fourth example
> (http://dsource.org/projects/gtkd/wiki/CodeExamples) using rdmd and it
> worked fine (regarding gtkD).
> (svn version of gtkD)
>
> There's a rdmd bug though. 'rdmd --build-only --chatty
> -I~/coding/gtkD/src/ -L-ldl test.d'
> doesn't directly work cause the .rsp file contains 'dmd'.
> But if you execute the command inside the .rsp it builds without problems.
What is the command line?
rdmd segfaults on me using this:
c:\temp>rdmd --build-only --chatty -I\d\ext\gtkd\src t.d
dmd -I\d\ext\gtkd\src -v -o- "t.d" -I"." >t.d.deps
|
July 19, 2011 Re: gtkD doesn't compile on windows | ||||
---|---|---|---|---|
| ||||
Posted in reply to simendsjo | > What is the command line? > rdmd segfaults on me using this: > > c:\temp>rdmd --build-only --chatty -I\d\ext\gtkd\src t.d > dmd -I\d\ext\gtkd\src -v -o- "t.d" -I"." >t.d.deps dmd -I~/coding/gtkD/src/ -L-ldl -v -o- 'test.d' -I'.' >test.d.deps dmd '@/tmp/.rdmd/rdmd.6FC1F920EA8D2136FC5ECC4E5ED4404A.rsp' with rsp containing: dmd -I~/coding/gtkD/src/ -L-ldl -of/tmp/.rdmd/tmp/test.d.6FC1F920EA8D2136FC5ECC4E5ED4404A -od/tmp/.rdmd/rdmd-test.d-6FC1F920EA8D2136FC5ECC4E5ED4404A -I. test.d ~/coding/gtkD/src/gdk/Cursor.d ~/coding/gtkD/src/gtk/Widget.d ~/coding/gtkD/src/gtk/Label.d ~/coding/gtkD/src/atk/StateSet.d ~/coding/gtkD/src/pango/PgEngineShape.d ~/coding/gtkD/src/gdk/Drawable.d ~/coding/gtkD/src/gtkc/gobjecttypes.d ~/coding/gtkD/src/pango/PgAttributeIterator.d ~/coding/gtkD/src/pango/PgContext.d ~/coding/gtkD/src/gtk/TextBuffer.d ~/coding/gtkD/src/gtk/VBox.d ~/coding/gtkD/src/gtk/TextTag.d ~/coding/gtkD/src/gtk/Main.d ~/coding/gtkD/src/gtk/ActivatableT.d ~/coding/gtkD/src/gtk/Builder.d ~/coding/gtkD/src/gtk/Clipboard.d ~/coding/gtkD/src/gtk/Tooltips.d ~/coding/gtkD/src/glib/Module.d ~/coding/gtkD/src/glib/Quark.d ~/coding/gtkD/src/gtk/RcStyle.d ~/coding/gtkD/src/gtkc/pango.d ~/coding/gtkD/src/pango/PgFontMap.d ~/coding/gtkD/src/gobject/Type.d ~/coding/gtkD/src/gdk/Rectangle.d ~/coding/gtkD/src/gdk/Font.d ~/coding/gtkD/src/gtk/ButtonBox.d ~/coding/gtkD/src/gtkc/gio.d ~/coding/gtkD/src/gtk/BuildableT.d ~/coding/gtkD/src/pango/PgFontFace.d ~/coding/gtkD/src/atk/ObjectAtk.d ~/coding/gtkD/src/pango/PgCoverage.d ~/coding/gtkD/src/pango/PgTabArray.d ~/coding/gtkD/src/atk/Relation.d ~/coding/gtkD/src/gtkc/gdkpixbuf.d ~/coding/gtkD/src/glib/GException.d ~/coding/gtkD/src/pango/PgFontMetrics.d ~/coding/gtkD/src/pango/PgLanguage.d ~/coding/gtkD/src/gtk/BuildableIF.d ~/coding/gtkD/src/gobject/ObjectG.d ~/coding/gtkD/src/gdk/Pixmap.d ~/coding/gtkD/src/pango/PgEngine.d ~/coding/gtkD/src/gdkpixbuf/PixbufAnimationIter.d ~/coding/gtkD/src/gtk/Box.d ~/coding/gtkD/src/gtkc/gthread.d ~/coding/gtkD/src/pango/PgFontset.d ~/coding/gtkD/src/gobject/Signals.d ~/coding/gtkD/src/gdk/Region.d ~/coding/gtkD/src/pango/PgLayoutLine.d ~/coding/gtkD/src/gtkc/atktypes.d ~/coding/gtkD/src/gtk/AboutDialog.d ~/coding/gtkD/src/gdk/Window.d ~/coding/gtkD/src/gtk/IconSource.d ~/coding/gtkD/src/gobject/Closure.d ~/coding/gtkD/src/glib/ListG.d ~/coding/gtkD/src/gtk/Container.d ~/coding/gtkD/src/gtkc/gobject.d ~/coding/gtkD/src/gdk/Visual.d ~/coding/gtkD/src/gtk/Window.d ~/coding/gtkD/src/gobject/TypeModule.d ~/coding/gtkD/src/glib/ListSG.d ~/coding/gtkD/src/gdk/Color.d ~/coding/gtkD/src/gdk/Display.d ~/coding/gtkD/src/gobject/Value.d ~/coding/gtkD/src/gdk/Bitmap.d ~/coding/gtkD/src/gobject/TypePlugin.d ~/coding/gtkD/src/gtkc/gtktypes.d ~/coding/gtkD/src/pango/PgFontFamily.d ~/coding/gtkD/src/gdk/Event.d ~/coding/gtkD/src/gtkc/giotypes.d ~/coding/gtkD/src/gdk/ImageGdk.d ~/coding/gtkD/src/gtk/IconSet.d ~/coding/gtkD/src/gtkc/glibtypes.d ~/coding/gtkD/src/gdk/Colormap.d ~/coding/gtkD/src/gtkc/pangotypes.d ~/coding/gtkD/src/gdk/GC.d ~/coding/gtkD/src/glib/ScannerG.d ~/coding/gtkD/src/gtk/WindowGroup.d ~/coding/gtkD/src/pango/PgLayoutIter.d ~/coding/gtkD/src/gtkc/gtk.d ~/coding/gtkD/src/gdk/Pixbuf.d ~/coding/gtkD/src/gtkc/gthreadtypes.d ~/coding/gtkD/src/pango/PgMatrix.d ~/coding/gtkD/src/gthread/Mutex.d ~/coding/gtkD/src/gtkc/cairotypes.d ~/coding/gtkD/src/gobject/ParamSpec.d ~/coding/gtkD/src/gio/IconT.d ~/coding/gtkD/src/gtkc/paths.d ~/coding/gtkD/src/glib/PtrArray.d ~/coding/gtkD/src/pango/PgAttributeList.d ~/coding/gtkD/src/gtk/Bin.d ~/coding/gtkD/src/gtk/TextAttributes.d ~/coding/gtkD/src/glib/ErrorG.d ~/coding/gtkD/src/gthread/Thread.d ~/coding/gtkD/src/gtk/ObjectGtk.d ~/coding/gtkD/src/gdk/Threads.d ~/coding/gtkD/src/gtk/TextIter.d ~/coding/gtkD/src/gtk/TargetList.d ~/coding/gtkD/src/pango/PgAttribute.d ~/coding/gtkD/src/pango/PgGlyphString.d ~/coding/gtkD/src/gtk/ActivatableIF.d ~/coding/gtkD/src/cairo/FontOption.d ~/coding/gtkD/src/gtk/Style.d ~/coding/gtkD/src/pango/PgFontDescription.d ~/coding/gtkD/src/gio/Cancellable.d ~/coding/gtkD/src/gdkpixbuf/PixbufFormat.d ~/coding/gtkD/src/glib/ConstructionException.d ~/coding/gtkD/src/gtkc/Loader.d ~/coding/gtkD/src/gtkc/cairo.d ~/coding/gtkD/src/gtkc/atk.d ~/coding/gtkD/src/gtkc/gdktypes.d ~/coding/gtkD/src/gobject/Flags.d ~/coding/gtkD/src/gio/AsyncResultIF.d ~/coding/gtkD/src/gtk/AccelGroup.d ~/coding/gtkD/src/gtk/Image.d ~/coding/gtkD/src/gtk/Action.d ~/coding/gtkD/src/gtk/Dialog.d ~/coding/gtkD/src/gtk/TextChildAnchor.d ~/coding/gtkD/src/gtk/VButtonBox.d ~/coding/gtkD/src/gtkc/gdk.d ~/coding/gtkD/src/gtkc/glib.d ~/coding/gtkD/src/gtk/TextTagTable.d ~/coding/gtkD/src/glib/MainContext.d ~/coding/gtkD/src/gio/Icon.d ~/coding/gtkD/src/pango/PgFont.d ~/coding/gtkD/src/glib/Str.d ~/coding/gtkD/src/gtkc/gdkpixbuftypes.d ~/coding/gtkD/src/gtk/OrientableT.d ~/coding/gtkD/src/gtk/Button.d ~/coding/gtkD/src/gtk/OrientableIF.d ~/coding/gtkD/src/glib/TimeVal.d ~/coding/gtkD/src/gtk/TextMark.d ~/coding/gtkD/src/gobject/Enums.d ~/coding/gtkD/src/gtk/HButtonBox.d ~/coding/gtkD/src/gthread/Cond.d ~/coding/gtkD/src/gio/InputStream.d ~/coding/gtkD/src/gio/IconIF.d ~/coding/gtkD/src/glib/Source.d ~/coding/gtkD/src/gtk/MainWindow.d ~/coding/gtkD/src/atk/RelationSet.d ~/coding/gtkD/src/gdk/Screen.d ~/coding/gtkD/src/gtk/Misc.d ~/coding/gtkD/src/gtk/Adjustment.d ~/coding/gtkD/src/gdkpixbuf/PixbufAnimation.d ~/coding/gtkD/src/glib/StringG.d ~/coding/gtkD/src/gtk/Settings.d ~/coding/gtkD/src/pango/PgLayout.d |
July 19, 2011 Re: gtkD doesn't compile on windows | ||||
---|---|---|---|---|
| ||||
Posted in reply to Trass3r | On 19.07.2011 15:53, Trass3r wrote:
>> What is the command line?
>> rdmd segfaults on me using this:
>>
>> c:\temp>rdmd --build-only --chatty -I\d\ext\gtkd\src t.d
>> dmd -I\d\ext\gtkd\src -v -o- "t.d" -I"." >t.d.deps
>
> dmd -I~/coding/gtkD/src/ -L-ldl -v -o- 'test.d' -I'.' >test.d.deps
> dmd '@/tmp/.rdmd/rdmd.6FC1F920EA8D2136FC5ECC4E5ED4404A.rsp'
>
> with rsp containing:
(...)
So your command line is simply "rdmd --build-only --chatty -I\d\ext\gtkd\src -L-ldl t.d"?
rdmd calls "dmd -I\d\ext\gtkd\src -L-ldl -v -o- "t.d" -I"." >t.d.deps", and then segfaults (win7x64).
|
July 19, 2011 Re: gtkD doesn't compile on windows | ||||
---|---|---|---|---|
| ||||
Posted in reply to simendsjo | simendsjo Wrote:
> Giving up on qtD, I tried gtkD. Not much luck there either. As I've spent most of my day trying to compile qt, I'm not really in the mood to spend many hours trying to get gtk working.
>
> Is anybody actually using D for GUI development on Windows at all..?
I use DFL, but that was mostly because I didn't want to depend on QT or GTK.
But even DFL needs updates for the latest compiler and I haven't forked and pushed those I've made.
|
July 19, 2011 Re: gtkD doesn't compile on windows | ||||
---|---|---|---|---|
| ||||
Posted in reply to simendsjo | > So your command line is simply "rdmd --build-only --chatty -I\d\ext\gtkd\src -L-ldl t.d"? Yes, and in theory that would be enough. (if it didn't put 'dmd' in the .rsp) > rdmd calls "dmd -I\d\ext\gtkd\src -L-ldl -v -o- "t.d" -I"." >t.d.deps", and then segfaults (win7x64). Doesn't segfault on Linux x64. You should compile a debug version of rdmd and see if you get a stacktrace. github.com/D-Programming-Language/tools |
July 19, 2011 Re: gtkD doesn't compile on windows | ||||
---|---|---|---|---|
| ||||
Posted in reply to Trass3r | On 19.07.2011 16:19, Trass3r wrote: >> So your command line is simply "rdmd --build-only --chatty >> -I\d\ext\gtkd\src -L-ldl t.d"? > > Yes, and in theory that would be enough. > (if it didn't put 'dmd' in the .rsp) > >> rdmd calls "dmd -I\d\ext\gtkd\src -L-ldl -v -o- "t.d" -I"." >> >t.d.deps", and then segfaults (win7x64). > > Doesn't segfault on Linux x64. You should compile a debug version of > rdmd and see if you get a stacktrace. > github.com/D-Programming-Language/tools I haven't found the bug, but compiling without optimizing doesn't crash it: c:\temp>rdmd --chatty -I\d\ext\gtkd\src t.d dmd -I\d\ext\gtkd\src -v -o- "t.d" -I"." >t.d.deps dmd "@C:\Users\simen\AppData\Local\Temp\.rdmd\rdmd.0B610F9A43C84525CA4F687638D0E F2B.rsp" Error: cannot read file dmd.d dmd.d...? |
Copyright © 1999-2021 by the D Language Foundation