FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

cannot build phobos browse information

 
Post new topic   Reply to topic     Forum Index -> Visual D
View previous topic :: View next topic  
Author Message
captaindet



Joined: 19 May 2011
Posts: 6

PostPosted: Mon May 13, 2013 10:32 am    Post subject: cannot build phobos browse information Reply with quote

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
View user's profile Send private message
captaindet



Joined: 19 May 2011
Posts: 6

PostPosted: Thu May 16, 2013 1:32 pm    Post subject: Reply with quote

no idea?

btw: i am using w7-64 and VS2010
Back to top
View user's profile Send private message
sagitario



Joined: 03 Mar 2007
Posts: 292

PostPosted: Sun May 19, 2013 3:01 am    Post subject: Reply with quote

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
View user's profile Send private message
captaindet



Joined: 19 May 2011
Posts: 6

PostPosted: Mon May 20, 2013 10:14 am    Post subject: Reply with quote

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
View user's profile Send private message
sagitario



Joined: 03 Mar 2007
Posts: 292

PostPosted: Tue May 21, 2013 2:01 pm    Post subject: Reply with quote

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
View user's profile Send private message
captaindet



Joined: 19 May 2011
Posts: 6

PostPosted: Tue May 21, 2013 6:00 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Visual D All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group