View previous topic :: View next topic |
Author |
Message |
glennh
Joined: 08 May 2009 Posts: 7
|
Posted: Fri May 29, 2009 4:00 pm Post subject: |
|
|
dmd 2.030 |
|
Back to top |
|
|
glennh
Joined: 08 May 2009 Posts: 7
|
Posted: Fri May 29, 2009 6:04 pm Post subject: Error building docs |
|
|
I get an error trying to run makedocs.sh
glenn@lindev2:gtkD$ sh makedocs.sh
src/gdk/Pixbuf.d(91): Error: module Cancellable cannot read file 'gio/Cancellable.d'
glenn@lindev2:gtkD$ ls -l src/gio/Cancellable.d
-rw-r--r-- 1 glenn glenn 9791 2009-03-26 22:43 src/gio/Cancellable.d
Obviously, the file is there. Any idea why it can't be read?
Later (after a nap)...
Ah... I had to add src/gio/* to the list of other sources for the dmd command in makedocs.sh. Worked fine after that. |
|
Back to top |
|
|
Mike Wey
Joined: 07 May 2007 Posts: 428
|
Posted: Sat May 30, 2009 8:07 am Post subject: Re: Error building docs |
|
|
It's strange that dmd 2.029 and 1.42 don't need the casts.
glennh wrote: | I get an error trying to run makedocs.sh
glenn@lindev2:gtkD$ sh makedocs.sh
src/gdk/Pixbuf.d(91): Error: module Cancellable cannot read file 'gio/Cancellable.d'
glenn@lindev2:gtkD$ ls -l src/gio/Cancellable.d
-rw-r--r-- 1 glenn glenn 9791 2009-03-26 22:43 src/gio/Cancellable.d
Obviously, the file is there. Any idea why it can't be read?
Later (after a nap)...
Ah... I had to add src/gio/* to the list of other sources for the dmd command in makedocs.sh. Worked fine after that. |
Added in svn r684 |
|
Back to top |
|
|
glennh
Joined: 08 May 2009 Posts: 7
|
Posted: Sat May 30, 2009 9:02 am Post subject: Re: Error building docs |
|
|
Mike Wey wrote: |
It's strange that dmd 2.029 and 1.42 don't need the casts. |
Found this note in std.traits:
std.traits wrote: | /**
* Returns a tuple with all possible target types of an implicit
* conversion of a value of type $(D_PARAM T).
*
* Important note:
*
* The possible targets are computed more conservatively than the D
* 2.005 compiler does, eliminating all dangerous conversions. For
* example, $(D_PARAM ImplicitConversionTargets!(double)) does not
* include $(D_PARAM float).
*/ |
Perhaps, "more conservative" computation of implicit conversions was also pushed down to the compiler level to match the results obtained from isImplicitlyConvertible() in std.traits. Just a guess, of course. |
|
Back to top |
|
|
samsam698
Joined: 10 Jan 2008 Posts: 63
|
Posted: Tue Jun 02, 2009 9:44 pm Post subject: |
|
|
This is really wonderful!
gtkD1.2+DMD2.030+dsss build successfully.Very eary and very fast!Compare to build dwt2+tango0998,I have been struggled for at least n-ties hours but still can not get it to work~
I have several tiny problems with demo under
Xp+sp3+d2030+dsss078+bud034+gtkd1.2+gtk+2.16.1
1.dsss build cairo folde caused pc hung.This problem is caused by cairo_clock.Changed to bud to comiple cario_clock it passed and it is fast.But the time locale is wrong.
2.gda\testGda get compiled but "Access Violation" erro when run.
3.gl\shapesGL can not get compiled.Tried both with dsss and bud:
F:\DLang\DTwo\gtkd\demos\gl>dsss build
ShapesGL.d => shapesGL
WARNING: Module math.d does not have a module declaration. This can cause proble
ms
with rebuild's -oq option. If an error occurs, fix this first.
ShapesGL.d(166): Error: non-constant expression & mat_silver
Command F:\DLang\Dtwo\dsss\bin\rebuild.exe returned with code 1, aborting.
Error: Command failed, aborting.
F:\DLang\DTwo\gtkd\demos\gl>bud shapesGL.d
shapesGL.d(30): Error: module gl cannot read file 'gtkglc\gl.d'
F:\DLang\DTwo\gtkd\demos\gl>
4.gstreamer\ folder:cannot get compile.
F:\DLang\DTwo\gtkd\demos\gstreamer>dsss build
gstreamer_helloworld.d => gstreamer_helloworld
gstreamer_helloworld.d(13): module Trace cannot read file 'tango\util\log\Trace.
d'
Command F:\DLang\Dtwo\dsss\bin\rebuild.exe returned with code 1, aborting.
Error: Command failed, aborting.
F:\DLang\DTwo\gtkd\demos\gstreamer>cd helloworld
F:\DLang\DTwo\gtkd\demos\gstreamer\helloworld>dsss build
gstreamer_helloworld.d => gstreamer_helloworld
gstreamer_helloworld.d(13): module Trace cannot read file 'tango\util\log\Trace.
d'
Command F:\DLang\Dtwo\dsss\bin\rebuild.exe returned with code 1, aborting.
Error: Command failed, aborting.
F:\DLang\DTwo\gtkd\demos\gstreamer\helloworld>cd..
FF:\DLang\DTwo\gtkd\demos\gstreamer>cd..
F:\DLang\DTwo\gtkd\demos>cd gstreamer
F:\DLang\DTwo\gtkd\demos\gstreamer>cd mediaplayer
F:\DLang\DTwo\gtkd\demos\gstreamer\mediaplayer>dsss build
gst_mediaplayer.d => gst_mediaplayer
gst_mediaplayer.d(9): module Trace cannot read file 'tango\util\log\Trace.d'
Command F:\DLang\Dtwo\dsss\bin\rebuild.exe returned with code 1, aborting.
Error: Command failed, aborting.
F:\DLang\DTwo\gtkd\demos\gstreamer\mediaplayer>bud gst_mediaplyer.d
** File 'gst_mediaplyer.d' not found.
Error: bud:Not all supplied files exist.
F:\DLang\DTwo\gtkd\demos\gstreamer\mediaplayer>
5.F:\DLang\DTwo\gtkd\demos\gtk\SpawnTests can not run:
...\SpawnTests.exe is not a valid Win32 application.
6.demos\sourceView sample build by dsss caused pc hung.Changed to bud:
F:\DLang\DTwo\gtkd\demos\sourceView>bud SVTest.d
SVTest.d(29): Error: module SourceView cannot read file 'gsv\SourceView.d'
F:\DLang\DTwo\gtkd\demos\sourceView>
7. build srcgstreamer lib:
F:\DLang\DTwo\gtkd\srcgstreamer>dsss build
Creating imports for DD-gstinterfaces
Creating imports for DD-gstreamer
Creating imports for DD-gstreamerc
gstinterfaces => DD-gstinterfaces
Digital Mars Librarian Version 8.02n
Copyright (C) Digital Mars 2000-2007 All Rights Reserved
http://www.digitalmars.com/ctg/lib.html
Digital Mars Librarian complete.
Digital Mars Librarian Version 8.02n
Copyright (C) Digital Mars 2000-2007 All Rights Reserved
http://www.digitalmars.com/ctg/lib.html
Digital Mars Librarian complete.
gstreamer => DD-gstreamer
gstreamer\Message.d(318): Error: function glib.Str.Str.toStringz (immutable(char
)[] s) does not match parameter types (char[])
gstreamer\Message.d(318): Error: cannot implicitly convert expression (dbug) of
type char[] to immutable(char)[]
gstreamer\Message.d(371): Error: function glib.Str.Str.toStringz (immutable(char
)[] s) does not match parameter types (char[])
gstreamer\Message.d(371): Error: cannot implicitly convert expression (dbug) of
type char[] to immutable(char)[]
gstreamer\Message.d(391): Error: function glib.Str.Str.toStringz (immutable(char
)[] s) does not match parameter types (char[])
gstreamer\Message.d(391): Error: cannot implicitly convert expression (dbug) of
type char[] to immutable(char)[]
gstreamer\Message.d(415): Error: cannot implicitly convert expression (toString(
(*c_gst_message_type_get_name)(type))) of type immutable(char)[] to char[]
Command F:\DLang\Dtwo\dsss\bin\rebuild.exe returned with code 1, aborting.
Error: Command failed, aborting.
F:\DLang\DTwo\gtkd\srcgstreamer>dsss install
Installing DD-gstinterfaces
+ copying DD-gstinterfaces.lib
+ making directory F:\DLang\Dtwo\dsss\include\d\gstinterfaces
+ copying XOverlay.di
Installing DD-gstreamer
+ copying DD-gstreamer.lib
Error: F:\DLang\Dtwo\dsss\lib\DD-gstreamer.lib: The system cannot find the file
specified.
F:\DLang\DTwo\gtkd\srcgstreamer>
That's all.
This is just for your reference ,not affect my using gtkd to program.
Thanks again for such a wonderful lib!
Regards,
Sam |
|
Back to top |
|
|
Mike Wey
Joined: 07 May 2007 Posts: 428
|
Posted: Wed Jun 03, 2009 2:24 pm Post subject: |
|
|
Looks like in need to get access to a Windows machine, or get GtkD working under wine.
samsam698 wrote: | This is really wonderful!
gtkD1.2+DMD2.030+dsss build successfully.Very eary and very fast!Compare to build dwt2+tango0998,I have been struggled for at least n-ties hours but still can not get it to work~
I have several tiny problems with demo under
Xp+sp3+d2030+dsss078+bud034+gtkd1.2+gtk+2.16.1
1.dsss build cairo folde caused pc hung.This problem is caused by cairo_clock.Changed to bud to comiple cario_clock it passed and it is fast.But the time locale is wrong. |
The build tool shoudn't make a difference, are they passing the same flags to dmd?
I did experience a hang with dsss once when i tried to build a demo but GtkD wasn't installed ( dsss install )
Quote: | 2.gda\testGda get compiled but "Access Violation" erro when run. |
Are you using svn or the 1.2 download, the path to the gda lib changed shortly after GtkD 1.2 was released, if the lib failed to load any call to one of it's fonctions whould result in an access violation.
Quote: | 3.gl\shapesGL can not get compiled.Tried both with dsss and bud:
F:\DLang\DTwo\gtkd\demos\gl>dsss build
ShapesGL.d => shapesGL
WARNING: Module math.d does not have a module declaration. This can cause proble
ms
with rebuild's -oq option. If an error occurs, fix this first.
ShapesGL.d(166): Error: non-constant expression & mat_silver
Command F:\DLang\Dtwo\dsss\bin\rebuild.exe returned with code 1, aborting.
Error: Command failed, aborting. |
My dmd setup seems to be broken so i can't test this but removing the static from the mentioned line should work.
Quote: | F:\DLang\DTwo\gtkd\demos\gl>bud shapesGL.d
shapesGL.d(30): Error: module gl cannot read file 'gtkglc\gl.d'
F:\DLang\DTwo\gtkd\demos\gl> |
looks like but can't find the source.
Quote: | 4.gstreamer\ folder:cannot get compile.
F:\DLang\DTwo\gtkd\demos\gstreamer>dsss build
gstreamer_helloworld.d => gstreamer_helloworld
gstreamer_helloworld.d(13): module Trace cannot read file 'tango\util\log\Trace.
d'
Command F:\DLang\Dtwo\dsss\bin\rebuild.exe returned with code 1, aborting.
Error: Command failed, aborting.
F:\DLang\DTwo\gtkd\demos\gstreamer>cd helloworld
F:\DLang\DTwo\gtkd\demos\gstreamer\helloworld>dsss build
gstreamer_helloworld.d => gstreamer_helloworld
gstreamer_helloworld.d(13): module Trace cannot read file 'tango\util\log\Trace.
d'
Command F:\DLang\Dtwo\dsss\bin\rebuild.exe returned with code 1, aborting.
Error: Command failed, aborting.
F:\DLang\DTwo\gtkd\demos\gstreamer\helloworld>cd..
FF:\DLang\DTwo\gtkd\demos\gstreamer>cd..
F:\DLang\DTwo\gtkd\demos>cd gstreamer
F:\DLang\DTwo\gtkd\demos\gstreamer>cd mediaplayer
F:\DLang\DTwo\gtkd\demos\gstreamer\mediaplayer>dsss build
gst_mediaplayer.d => gst_mediaplayer
gst_mediaplayer.d(9): module Trace cannot read file 'tango\util\log\Trace.d'
Command F:\DLang\Dtwo\dsss\bin\rebuild.exe returned with code 1, aborting.
Error: Command failed, aborting.
F:\DLang\DTwo\gtkd\demos\gstreamer\mediaplayer>bud gst_mediaplyer.d
** File 'gst_mediaplyer.d' not found.
Error: bud:Not all supplied files exist.
F:\DLang\DTwo\gtkd\demos\gstreamer\mediaplayer>
5.F:\DLang\DTwo\gtkd\demos\gtk\SpawnTests can not run:
...\SpawnTests.exe is not a valid Win32 application. |
Looks like the gstreamer demos only work with Tango.
Quote: | 6.demos\sourceView sample build by dsss caused pc hung.Changed to bud:
F:\DLang\DTwo\gtkd\demos\sourceView>bud SVTest.d
SVTest.d(29): Error: module SourceView cannot read file 'gsv\SourceView.d'
F:\DLang\DTwo\gtkd\demos\sourceView> |
The dsss hang might be related to the one with the cairo clock.
And it looks like bud can't find the Sourceview source.
Quote: | 7. build srcgstreamer lib:
F:\DLang\DTwo\gtkd\srcgstreamer>dsss build
Creating imports for DD-gstinterfaces
Creating imports for DD-gstreamer
Creating imports for DD-gstreamerc
gstinterfaces => DD-gstinterfaces
Digital Mars Librarian Version 8.02n
Copyright (C) Digital Mars 2000-2007 All Rights Reserved
http://www.digitalmars.com/ctg/lib.html
Digital Mars Librarian complete.
Digital Mars Librarian Version 8.02n
Copyright (C) Digital Mars 2000-2007 All Rights Reserved
http://www.digitalmars.com/ctg/lib.html
Digital Mars Librarian complete.
gstreamer => DD-gstreamer
gstreamer\Message.d(318): Error: function glib.Str.Str.toStringz (immutable(char
)[] s) does not match parameter types (char[])
gstreamer\Message.d(318): Error: cannot implicitly convert expression (dbug) of
type char[] to immutable(char)[]
gstreamer\Message.d(371): Error: function glib.Str.Str.toStringz (immutable(char
)[] s) does not match parameter types (char[])
gstreamer\Message.d(371): Error: cannot implicitly convert expression (dbug) of
type char[] to immutable(char)[]
gstreamer\Message.d(391): Error: function glib.Str.Str.toStringz (immutable(char
)[] s) does not match parameter types (char[])
gstreamer\Message.d(391): Error: cannot implicitly convert expression (dbug) of
type char[] to immutable(char)[]
gstreamer\Message.d(415): Error: cannot implicitly convert expression (toString(
(*c_gst_message_type_get_name)(type))) of type immutable(char)[] to char[]
Command F:\DLang\Dtwo\dsss\bin\rebuild.exe returned with code 1, aborting.
Error: Command failed, aborting. |
These are string vs. char[] errors, i'll look into this.
Quote: | F:\DLang\DTwo\gtkd\srcgstreamer>dsss install
Installing DD-gstinterfaces
+ copying DD-gstinterfaces.lib
+ making directory F:\DLang\Dtwo\dsss\include\d\gstinterfaces
+ copying XOverlay.di
Installing DD-gstreamer
+ copying DD-gstreamer.lib
Error: F:\DLang\Dtwo\dsss\lib\DD-gstreamer.lib: The system cannot find the file
specified.
F:\DLang\DTwo\gtkd\srcgstreamer> |
when dsss can't build the lib there's nothing to install
Quote: | That's all.
This is just for your reference ,not affect my using gtkd to program.
Thanks again for such a wonderful lib!
Regards,
Sam |
|
|
Back to top |
|
|
Mike Wey
Joined: 07 May 2007 Posts: 428
|
Posted: Thu Jun 04, 2009 2:40 pm Post subject: |
|
|
Mike Wey wrote: |
Quote: | 3.gl\shapesGL can not get compiled.Tried both with dsss and bud:
F:\DLang\DTwo\gtkd\demos\gl>dsss build
ShapesGL.d => shapesGL
WARNING: Module math.d does not have a module declaration. This can cause proble
ms
with rebuild's -oq option. If an error occurs, fix this first.
ShapesGL.d(166): Error: non-constant expression & mat_silver
Command F:\DLang\Dtwo\dsss\bin\rebuild.exe returned with code 1, aborting.
Error: Command failed, aborting. |
My dmd setup seems to be broken so i can't test this but removing the static from the mentioned line should work. |
Should work with svn r686 |
|
Back to top |
|
|
samsam698
Joined: 10 Jan 2008 Posts: 63
|
Posted: Sun Jun 07, 2009 8:08 pm Post subject: |
|
|
Mike Wey wrote: | Mike Wey wrote: |
Quote: | 3.gl\shapesGL can not get compiled.Tried both with dsss and bud:
F:\DLang\DTwo\gtkd\demos\gl>dsss build
ShapesGL.d => shapesGL
WARNING: Module math.d does not have a module declaration. This can cause proble
ms
with rebuild's -oq option. If an error occurs, fix this first.
ShapesGL.d(166): Error: non-constant expression & mat_silver
Command F:\DLang\Dtwo\dsss\bin\rebuild.exe returned with code 1, aborting.
Error: Command failed, aborting. |
My dmd setup seems to be broken so i can't test this but removing the static from the mentioned line should work. |
Should work with svn r686 |
Compile svn-r686 failed:
Environment configured for DMD2029/Phobos
F:\DLang\DEx\D2Ex>cd..
F:\DLang\DEx>cd..
F:\DLang>cd dtwo
F:\DLang\DTwo>cd gtkd
F:\DLang\DTwo\gtkd>dsss 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
Digital Mars Librarian Version 8.02n
Copyright (C) Digital Mars 2000-2007 All Rights Reserved
http://www.digitalmars.com/ctg/lib.html
Digital Mars Librarian complete.
Digital Mars Librarian Version 8.02n
Copyright (C) Digital Mars 2000-2007 All Rights Reserved
http://www.digitalmars.com/ctg/lib.html
Digital Mars Librarian complete.
cairo => DD-cairo
Digital Mars Librarian Version 8.02n
Copyright (C) Digital Mars 2000-2007 All Rights Reserved
http://www.digitalmars.com/ctg/lib.html
Digital Mars Librarian complete.
Digital Mars Librarian Version 8.02n
Copyright (C) Digital Mars 2000-2007 All Rights Reserved
http://www.digitalmars.com/ctg/lib.html
Digital Mars Librarian complete.
gdk => DD-gdk
Digital Mars Librarian Version 8.02n
Copyright (C) Digital Mars 2000-2007 All Rights Reserved
http://www.digitalmars.com/ctg/lib.html
Digital Mars Librarian complete.
Digital Mars Librarian Version 8.02n
Copyright (C) Digital Mars 2000-2007 All Rights Reserved
http://www.digitalmars.com/ctg/lib.html
Digital Mars Librarian complete.
gdkpixbuf => DD-gdkpixbuf
Digital Mars Librarian Version 8.02n
Copyright (C) Digital Mars 2000-2007 All Rights Reserved
http://www.digitalmars.com/ctg/lib.html
Digital Mars Librarian complete.
Digital Mars Librarian Version 8.02n
Copyright (C) Digital Mars 2000-2007 All Rights Reserved
http://www.digitalmars.com/ctg/lib.html
Digital Mars Librarian complete.
gio => DD-gio
Digital Mars Librarian Version 8.02n
Copyright (C) Digital Mars 2000-2007 All Rights Reserved
http://www.digitalmars.com/ctg/lib.html
Digital Mars Librarian complete.
Digital Mars Librarian Version 8.02n
Copyright (C) Digital Mars 2000-2007 All Rights Reserved
http://www.digitalmars.com/ctg/lib.html
Digital Mars Librarian complete.
glade => DD-glade
Digital Mars Librarian Version 8.02n
Copyright (C) Digital Mars 2000-2007 All Rights Reserved
http://www.digitalmars.com/ctg/lib.html
Digital Mars Librarian complete.
Digital Mars Librarian Version 8.02n
Copyright (C) Digital Mars 2000-2007 All Rights Reserved
http://www.digitalmars.com/ctg/lib.html
Digital Mars Librarian complete.
glib => DD-glib
Digital Mars Librarian Version 8.02n
Copyright (C) Digital Mars 2000-2007 All Rights Reserved
http://www.digitalmars.com/ctg/lib.html
Digital Mars Librarian complete.
Digital Mars Librarian Version 8.02n
Copyright (C) Digital Mars 2000-2007 All Rights Reserved
http://www.digitalmars.com/ctg/lib.html
Digital Mars Librarian complete.
gobject => DD-gobject
Digital Mars Librarian Version 8.02n
Copyright (C) Digital Mars 2000-2007 All Rights Reserved
http://www.digitalmars.com/ctg/lib.html
Digital Mars Librarian complete.
Digital Mars Librarian Version 8.02n
Copyright (C) Digital Mars 2000-2007 All Rights Reserved
http://www.digitalmars.com/ctg/lib.html
Digital Mars Librarian complete.
gthread => DD-gthread
Digital Mars Librarian Version 8.02n
Copyright (C) Digital Mars 2000-2007 All Rights Reserved
http://www.digitalmars.com/ctg/lib.html
Digital Mars Librarian complete.
Digital Mars Librarian Version 8.02n
Copyright (C) Digital Mars 2000-2007 All Rights Reserved
http://www.digitalmars.com/ctg/lib.html
Digital Mars Librarian complete.
gtk => DD-gtk
Digital Mars Librarian Version 8.02n
Copyright (C) Digital Mars 2000-2007 All Rights Reserved
http://www.digitalmars.com/ctg/lib.html
Digital Mars Librarian complete.
Digital Mars Librarian Version 8.02n
Copyright (C) Digital Mars 2000-2007 All Rights Reserved
http://www.digitalmars.com/ctg/lib.html
Digital Mars Librarian complete.
gtkc => DD-gtkc
gtkc\Loader.d(74): Error: cannot implicitly convert expression (new char[][]((li
braries.length))) of type char[][] to immutable(char)[][]
Command F:\DLang\DTwo\dsss\bin\rebuild.exe returned with code 1, aborting.
Error: Command failed, aborting.
F:\DLang\DTwo\gtkd> |
|
Back to top |
|
|
Mike Wey
Joined: 07 May 2007 Posts: 428
|
Posted: Mon Jun 08, 2009 12:30 pm Post subject: |
|
|
Fixed in svn r690.
I used char[] instead of string in one place. |
|
Back to top |
|
|
Mike Wey
Joined: 07 May 2007 Posts: 428
|
Posted: Mon Jun 08, 2009 2:37 pm Post subject: |
|
|
Mike Wey wrote: | Quote: | 7. build srcgstreamer lib:
F:\DLang\DTwo\gtkd\srcgstreamer>dsss build
Creating imports for DD-gstinterfaces
Creating imports for DD-gstreamer
Creating imports for DD-gstreamerc
gstinterfaces => DD-gstinterfaces
Digital Mars Librarian Version 8.02n
Copyright (C) Digital Mars 2000-2007 All Rights Reserved
http://www.digitalmars.com/ctg/lib.html
Digital Mars Librarian complete.
Digital Mars Librarian Version 8.02n
Copyright (C) Digital Mars 2000-2007 All Rights Reserved
http://www.digitalmars.com/ctg/lib.html
Digital Mars Librarian complete.
gstreamer => DD-gstreamer
gstreamer\Message.d(318): Error: function glib.Str.Str.toStringz (immutable(char
)[] s) does not match parameter types (char[])
gstreamer\Message.d(318): Error: cannot implicitly convert expression (dbug) of
type char[] to immutable(char)[]
gstreamer\Message.d(371): Error: function glib.Str.Str.toStringz (immutable(char
)[] s) does not match parameter types (char[])
gstreamer\Message.d(371): Error: cannot implicitly convert expression (dbug) of
type char[] to immutable(char)[]
gstreamer\Message.d(391): Error: function glib.Str.Str.toStringz (immutable(char
)[] s) does not match parameter types (char[])
gstreamer\Message.d(391): Error: cannot implicitly convert expression (dbug) of
type char[] to immutable(char)[]
gstreamer\Message.d(415): Error: cannot implicitly convert expression (toString(
(*c_gst_message_type_get_name)(type))) of type immutable(char)[] to char[]
Command F:\DLang\Dtwo\dsss\bin\rebuild.exe returned with code 1, aborting.
Error: Command failed, aborting. |
These are string vs. char[] errors, i'll look into this. |
Fixed in svn r691 and r692 |
|
Back to top |
|
|
samsam698
Joined: 10 Jan 2008 Posts: 63
|
Posted: Mon Jun 08, 2009 7:55 pm Post subject: |
|
|
2 build errors:
F:\DLang\DTwo\gtkd\demos\gstreamer>dsss build
gstreamer_helloworld.d => gstreamer_helloworld
gstreamer_helloworld.d(13): module Trace cannot read file 'tango\util\log\Trace.
d'
Command F:\DLang\DTwo\dsss\bin\rebuild.exe returned with code 1, aborting.
Error: Command failed, aborting.
F:\DLang\DTwo\gtkd\demos\gtk>dsss build
DrawRect.d => DrawRect
HelloWorld.d => HelloWorld
OtherTests.d => OtherTests
SpawnTests.d => SpawnTests
OPTLINK (R) for Win32 Release 8.00.1
Copyright (C) Digital Mars 1989-2004 All rights reserved.
F:\DLang\DTwo\dsss\lib\\DD-glib.lib(Spawn)
Error 42: Symbol Undefined __D4glib5Spawn5Spawn6fdopenMUiPaZPOS4core4stdc5stdio
6_iobuf
--- errorlevel 1
Command F:\DLang\DTwo\dsss\bin\rebuild.exe returned with code -1, aborting.
Error: Command failed, aborting.
BTW:dsss buid cairo_clock and sourceView cause pc hung,change to bud OK.
Cheers,
Sam |
|
Back to top |
|
|
Mike Wey
Joined: 07 May 2007 Posts: 428
|
Posted: Tue Jun 09, 2009 3:32 pm Post subject: |
|
|
samsam698 wrote: | 2 build errors:
F:\DLang\DTwo\gtkd\demos\gstreamer>dsss build
gstreamer_helloworld.d => gstreamer_helloworld
gstreamer_helloworld.d(13): module Trace cannot read file 'tango\util\log\Trace.
d'
Command F:\DLang\DTwo\dsss\bin\rebuild.exe returned with code 1, aborting.
Error: Command failed, aborting. |
At the moment the demos only work with Tango.
Quote: | F:\DLang\DTwo\gtkd\demos\gtk>dsss build
DrawRect.d => DrawRect
HelloWorld.d => HelloWorld
OtherTests.d => OtherTests
SpawnTests.d => SpawnTests
OPTLINK (R) for Win32 Release 8.00.1
Copyright (C) Digital Mars 1989-2004 All rights reserved.
F:\DLang\DTwo\dsss\lib\\DD-glib.lib(Spawn)
Error 42: Symbol Undefined __D4glib5Spawn5Spawn6fdopenMUiPaZPOS4core4stdc5stdio
6_iobuf
--- errorlevel 1
Command F:\DLang\DTwo\dsss\bin\rebuild.exe returned with code -1, aborting.
Error: Command failed, aborting.
BTW:dsss buid cairo_clock and sourceView cause pc hung,change to bud OK.
Cheers,
Sam |
Not sure about this one. |
|
Back to top |
|
|
samsam698
Joined: 10 Jan 2008 Posts: 63
|
Posted: Sun Jun 14, 2009 2:20 am Post subject: |
|
|
Date:June 14
Recompile the latest svn+dmd2030+dsss078 failed?
F:\DLang\DTwo\gtkd>dsss 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
gobject\ObjectG.d(86): module gc cannot read file 'std\gc.d'
Command F:\DLang\Dtwo\dsss\bin\rebuild.exe returned with code 1, aborting.
Error: Command failed, aborting.
F:\DLang\DTwo\gtkd> |
|
Back to top |
|
|
Mike Wey
Joined: 07 May 2007 Posts: 428
|
Posted: Sun Jun 14, 2009 7:16 am Post subject: |
|
|
You've had this problem before, did you overwrite the dsss configuration files?
Mike Wey wrote: | To use dsss with dmd 2.x add:
to the dsss profile you are using. |
|
|
Back to top |
|
|
samsam698
Joined: 10 Jan 2008 Posts: 63
|
Posted: Sun Jun 14, 2009 7:14 pm Post subject: |
|
|
Mike Wey wrote: | You've had this problem before, did you overwrite the dsss configuration files?
Mike Wey wrote: | To use dsss with dmd 2.x add:
to the dsss profile you are using. |
|
Ah yes.Sorry for the bothering... |
|
Back to top |
|
|
|