View previous topic :: View next topic |
Author |
Message |
captaindet
Joined: 19 May 2011 Posts: 6
|
Posted: Mon May 13, 2013 10:32 am Post subject: cannot build phobos browse information |
|
|
for quite a while now i have this problem, still happening with v0.3.36:
Building phobos JSON browse information files to C:\D\DMD2\windows\bin\JSON\
dmd.exe not found in DMDInstallDir=C:\D\DMD2\windows\bin\ or through PATH
however, the path is correct and code compiles with visualD.
/det |
|
Back to top |
|
|
captaindet
Joined: 19 May 2011 Posts: 6
|
Posted: Thu May 16, 2013 1:32 pm Post subject: |
|
|
no idea?
btw: i am using w7-64 and VS2010 |
|
Back to top |
|
|
sagitario
Joined: 03 Mar 2007 Posts: 292
|
Posted: Sun May 19, 2013 3:01 am Post subject: |
|
|
Sorry for the late reply, the forum is so quiet that I forget to check it from time to time.
DMDInstallDir should not include "windows\bin". You should configure it as "C:\D\DMD2" in the DMD directories settings and add "$(DMDInstallDir)windows\bin" to the executable paths.
Best,
Rainer |
|
Back to top |
|
|
captaindet
Joined: 19 May 2011 Posts: 6
|
Posted: Mon May 20, 2013 10:14 am Post subject: |
|
|
thx rainer,
you are right, my settings did not make much sense and fixing them made the phobos build process start. however, it ends with a failure/error message (i am using DMD 2.061):
Building C:\D\DMD2\windows\JSON\phobos.json from import C:\D\DMD2\src\phobos\
std.cpuid has been deprecated. It will be removed in January 2013. Please use core.cpuid instead.
std.md5 is scheduled for deprecation. Please use std.digest.md instead
std.perf has been deprecated. It will be removed in January 2013. Please use std.datetime instead.
Notice: As of Phobos 2.055, std.regexp has been deprecated. Please use std.regex instead.
Building C:\D\DMD2\windows\JSON\druntime.json from import C:\D\DMD2\src\druntime\import\
Building C:\D\DMD2\windows\JSON\druntime.json from import C:\D\DMD2\src\druntime\src\
Error: module core.thread from file ..\src\core\thread.d conflicts with another module thread from file core\thread.d
Building C:\D\DMD2\windows\JSON\druntime.json failed! |
|
Back to top |
|
|
sagitario
Joined: 03 Mar 2007 Posts: 292
|
Posted: Tue May 21, 2013 2:01 pm Post subject: |
|
|
Hi,
Building the phobos build process works for me for dmd versions 2.060, 2.061, 2.062 and the current githead.
Maybe you have installed 2.061 over an existing folder with a previous dmd version? There were some changes to the generation of di files that caused trouble when doing this.
Rainer |
|
Back to top |
|
|
captaindet
Joined: 19 May 2011 Posts: 6
|
Posted: Tue May 21, 2013 6:00 pm Post subject: |
|
|
thanks again rainer!
checking the consistency of my installation i found the problem. turns out it was the sc.ini file. i must have messed with it long time ago in an attempt to fix the the original problem (which was the wrongly set path). so i had a spurious "-I%@P%\..\..\src\druntime\src" in DFLAGS... stupid!
is working fine now. cheers,
det |
|
Back to top |
|
|
|