www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Can't compile dlangui

reply A.Perea <angelpeream yahoo.com> writes:
Hi,

I'm trying to compile dlangide, and it fails when compiling the 
dependency dlangui. Trying to compile dlangui independently gives 
the same error message (see below for full stack trace)

As phobos nor dlangui can be broken, it should be something 
related to wrong installation on my side?, wrong versions of 
dmd/dub/phobos?

dmd version: DMD64 D Compiler v2.090.0
dub version: DUB version 1.19.0, built on Jan  5 2020

Thanks for any help.


 dub run dlangui
Building package dlangui in /home/aperea/.dub/packages/dlangui-0.9.182/dlangui/ Performing "debug" build using /usr/bin/dmd for x86_64. dlangui 0.9.182: building configuration "default"... ../../.dub/packages/dlangui-0.9.182/dlangui/src/dlangui/dom/cssparser.d(86,18): Deprecation: union field intValue with default initialization 0 must be before field typeFlagId /usr/include/dmd/phobos/std/math.d(282,12): Error: variable std.math.floatTraits!(inout(double)).RECIP_EPSILON only parameters or stack based variables can be inout /usr/include/dmd/phobos/std/math.d(6814,15): Error: template instance std.math.floatTraits!(inout(double)) error instantiating /usr/include/dmd/phobos/std/format.d(2652,27): instantiated from here: isInfinity!(inout(double)) /usr/include/dmd/phobos/std/format.d(1875,20): instantiated from here: formatValueImpl!(Appender!string, inout(double), char) /usr/include/dmd/phobos/std/conv.d(1072,16): instantiated from here: formatValue!(Appender!string, inout(double), char) /usr/include/dmd/phobos/std/conv.d(222,24): instantiated from here: toImpl!(string, inout(double)) ../../.dub/packages/dlangui-0.9.182/dlangui/src/dlangui/core settings.d(501,33): instantiated from here: to!(inout(double)) /usr/include/dmd/phobos/std/format.d(2671,31): Error: template instance std.math.signbit!(inout(double)) error instantiating /usr/include/dmd/phobos/std/format.d(1875,20): instantiated from here: formatValueImpl!(Appender!string, inout(double), char) /usr/include/dmd/phobos/std/conv.d(1072,16): instantiated from here: formatValue!(Appender!string, inout(double), char) /usr/include/dmd/phobos/std/conv.d(222,24): instantiated from here: toImpl!(string, inout(double)) ../../.dub/packages/dlangui-0.9.182/dlangui/src/dlangui/core settings.d(501,33): instantiated from here: to!(inout(double)) /usr/include/dmd/phobos/std/format.d(2709,10): Error: forward reference to inferred return type of function call function () trusted { import core.stdc.stdio : snprintf; return snprintf(buf2.ptr, buf2.length, sprintfSpec.ptr, fs.width, fs.precision == fs.UNSPECIFIED ? -1 : fs.precision, tval); } () ../../.dub/packages/dlangui-0.9.182/dlangui/src/dlangui/dialog /filedlg.d(377,54): Deprecation: function std.typecons.Nullable!(SysTime).Nullable.get_ is deprecated - Implicit conversion with alias Nullable.get this will be removed after 2.096. Please use .get explicitly. ../../.dub/packages/dlangui-0.9.182/dlangui/src/dlangui/dialog /filedlg.d(377,63): Deprecation: function std.typecons.Nullable!(SysTime).Nullable.get_ is deprecated - Implicit conversion with alias Nullable.get this will be removed after 2.096. Please use .get explicitly. ../../.dub/packages/dlangui-0.9.182/dlangui/src/dlangui/dialog /filedlg.d(377,73): Deprecation: function std.typecons.Nullable!(SysTime).Nullable.get_ is deprecated - Implicit conversion with alias Nullable.get this will be removed after 2.096. Please use .get explicitly. ../../.dub/packages/dlangui-0.9.182/dlangui/src/dlangui/dialog /filedlg.d(377,81): Deprecation: function std.typecons.Nullable!(SysTime).Nullable.get_ is deprecated - Implicit conversion with alias Nullable.get this will be removed after 2.096. Please use .get explicitly. ../../.dub/packages/dlangui-0.9.182/dlangui/src/dlangui/dialog /filedlg.d(377,90): Deprecation: function std.typecons.Nullable!(SysTime).Nullable.get_ is deprecated - Implicit conversion with alias Nullable.get this will be removed after 2.096. Please use .get explicitly. ../../.dub/packages/dlangui-0.9.182/dlangui/src/dlangui/graphi s/ftfonts.d(541,9): Deprecation: foreach: loop index implicitly converted from size_t to int ../../.dub/packages/dlangui-0.9.182/dlangui/src/dlangui/graphics/sce e/scene3d.d(123,9): Deprecation: variable res is shadowing variable dlangui.graphics.scene.scene3d.visit.res. Rename the foreach variable. ../../.dub/packages/dlangui-0.9.182/dlangui/src/dlangui/widget /editors.d(3447,9): Deprecation: foreach: loop index implicitly converted from size_t to int ../../.dub/packages/dlangui-0.9.182/dlangui/src/dlangui/widgets editors.d(3797,21): Deprecation: foreach: loop index implicitly converted from size_t to int /usr/bin/dmd failed with exit code 1.
Feb 07 2020
next sibling parent reply Jan =?UTF-8?B?SMO2bmln?= <hrominium gmail.com> writes:
On Friday, 7 February 2020 at 12:04:10 UTC, A.Perea wrote:
 Hi,

 I'm trying to compile dlangide, and it fails when compiling the 
 dependency dlangui. Trying to compile dlangui independently 
 gives the same error message (see below for full stack trace)

 As phobos nor dlangui can be broken, it should be something 
 related to wrong installation on my side?, wrong versions of 
 dmd/dub/phobos?

 dmd version: DMD64 D Compiler v2.090.0
 dub version: DUB version 1.19.0, built on Jan  5 2020

 Thanks for any help.
I am afraid that dlangui and dlangide is currently not maintained, since i can reproduce the error as well. If you are looking for a good editor for D: I am using VisualStudioCode with the code-d plugin. If you don't like Microsoft's calling home features, you can go for Codium: https://vscodium.com/
Feb 07 2020
next sibling parent bachmeier <no spam.net> writes:
On Friday, 7 February 2020 at 14:25:05 UTC, Jan Hönig wrote:

 I am afraid that dlangui and dlangide is currently not 
 maintained, since i can reproduce the error as well.
If you're sure that's the case, then it should be pushed to the inactive section on this page: https://wiki.dlang.org/IDEs
Feb 07 2020
prev sibling parent Brakeran <none none.nl> writes:
On Friday, 7 February 2020 at 14:25:05 UTC, Jan Hönig wrote:
 On Friday, 7 February 2020 at 12:04:10 UTC, A.Perea wrote:
[...]
I am afraid that dlangui and dlangide is currently not maintained, since i can reproduce the error as well. If you are looking for a good editor for D: I am using VisualStudioCode with the code-d plugin. If you don't like Microsoft's calling home features, you can go for Codium: https://vscodium.com/
Thank you for that vscodium tip! Ditched visual studio code just now and replaced it with vscodium.
Mar 08 2020
prev sibling parent MrSmith <mrsmith33 yandex.ru> writes:
On Friday, 7 February 2020 at 12:04:10 UTC, A.Perea wrote:
 Hi,

 I'm trying to compile dlangide, and it fails when compiling the 
 dependency dlangui. Trying to compile dlangui independently 
 gives the same error message (see below for full stack trace)

 [...]
 On Friday, 7 February 2020 at 12:04:10 UTC, A.Perea wrote:
Here is reported issue: https://issues.dlang.org/show_bug.cgi?id=20623
Mar 03 2020