-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build Error #1647
Comments
Hi, could you run make with verbose output? make VERBOSE=1 |
Are you using one of the supported D compiler versions? I think that error is because the compiler is too old |
I had some problems using installation via shell script , so I tried to build by myself. ok, i installed the dmd via snap on the ubuntu 22 log output [ 14%] Generating dextool_mylib.o |
Mmm 2.090.1 is not supported as can be seen in https://github.com/joakim-brannstrom/dextool/blob/master/Docker/partial/dmd_min_version |
ok, thanks, let me install a newer version and try |
ok, after installing the latest one (not via snap) it was working,thanks: |
That is great. A tip for slightly better performance is to build with ldc but it isn't a showstopper for testing. |
Did you build with the last changes I merged to master today. It contains some severe bug fixes which I found during todays stabilization testing |
Yes I cloned today afternoon. |
closing now that it is working :) |
@lookilooki I've merged some more critical fixes to master. Hopefully no more problems are found during the weekend thus it may be possible to make an official release soon |
I tried to build the dextool on a ubuntu 22 machine, I installed dmd via snap
,
cloned the source from git, but get the following error:
thanks for help.
[ 14%] Generating dextool_mylib.o
/home/librarian/dextool_build/dextool/vendor/mylib/source/my/actor/actor.d(69,34): Error: copy constructor my.actor.mailbox.Reply.this(return ref Reply a) is not callable using argument types (ulong, VariantN!32LU)
/home/librarian/dextool_build/dextool/vendor/mylib/source/my/actor/actor.d(69,34): cannot pass argument this.data.get().replyId of type ulong to parameter return ref Reply a
/home/librarian/dextool_build/dextool/vendor/mylib/source/my/actor/utility/limiter.d(57,9): Error: template instance my.actor.actor.Promise!(Token) error instantiating
/home/librarian/dextool_build/dextool/vendor/mylib/source/my/actor/utility/limiter.d(64,12): Error: template instance my.actor.actor.RequestResult!(Token) error instantiating
/home/librarian/dextool_build/dextool/vendor/mylib/source/my/profile.d(138,23): Error: template object.update cannot deduce function from argument types !()(Duration[string], string, Duration delegate() pure nothrow @nogc @safe, void delegate(ref Duration a) pure nothrow @nogc @safe), candidates are:
/snap/dmd/102/bin/../import/druntime/object.d(2649,6): update(K, V, C, U)(ref V[K] aa, K key, scope C create, scope U update)
with K = string,
V = Duration,
C = Duration delegate() pure nothrow @nogc @safe,
U = void delegate(ref Duration) pure nothrow @nogc @safe
must satisfy the following constraint:
is(typeof(update(aa[K.init])) : V)
/home/librarian/dextool_build/dextool/vendor/mylib/source/my/profile.d(143,23): Error: template object.update cannot deduce function from argument types !()(Duration[string], string, Duration delegate() pure nothrow @nogc @safe, void delegate(ref Duration a) pure nothrow @nogc @safe), candidates are:
/snap/dmd/102/bin/../import/druntime/object.d(2649,6): update(K, V, C, U)(ref V[K] aa, K key, scope C create, scope U update)
with K = string,
V = Duration,
C = Duration delegate() pure nothrow @nogc @safe,
U = void delegate(ref Duration) pure nothrow @nogc @safe
must satisfy the following constraint:
is(typeof(update(aa[K.init])) : V)
make[2]: *** [vendor/CMakeFiles/dextool_mylib.dir/build.make:123: vendor/dextool_mylib.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:766: vendor/CMakeFiles/dextool_mylib.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
The text was updated successfully, but these errors were encountered: