On Thursday, 24 November 2016 at 10:04:36 UTC, Rene Zwanenburg
wrote:
On Thursday, 24 November 2016 at 09:52:32 UTC, Jot wrote:
Seems like someone decided to screw up a lot of people by
removing a lot of stuff ;/ I guess I should learn my lesson
about assuming a "stable" dmd release won't completely kill my
project.
There are still some old object files or libs hanging around.
MSBuild doesn't know you've updated DMD and reuses them.
Dub shouldn't have this problem. If you've generated the
solution from a dub file, try a rebuild with Dub first. I
suspect MSbuild will work after that.
I cleaned the project several times and then manually deleted all
the files.
I ran dub and it compiled fine. Then tried VS/VD again and same
errors.
I then tried to have dub create the visual d project again, yet
same errors.
So,
1. All I did was replace dmd2 2.71 with dmd2 manually, retaining
sc.ini
2. tried to compile project, tried to clean project, then other
stuff... all same problems:
e.g.,
.dub\lib\vibe-d_redis.lib(redis)
Error 42: Symbol Undefined
_D3std11concurrency15MessageMismatch6__ctorMFNaNfAyaZC3std11concurrency15MessageMismatch (pure @safe std.concurrency.MessageMismatch std.concurrency.MessageMismatch.__ctor(immutable(char)[]))
3. I tried updating and regenerating the project using dub, same
problem.
Builds using dub but not VD. Worked fine before. I repeat, all I
did was update dmd to 2.72. This should not break anything.
Any more ideas? Obviously something isn't getting linked in in
the VS project.