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

Build Phobos Browse Info on DMD2.059

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



Joined: 06 Aug 2010
Posts: 10
Location: South Africa (Cape Town)

PostPosted: Tue Jun 19, 2012 10:47 am    Post subject: Build Phobos Browse Info on DMD2.059 Reply with quote

Hi Rainer,

After a fairly long absence, I updated my DMD to v2.059 and updated my VS2008 to VisualD v3.32.

All my projects (and even DFL with a bit of editing!) built OK with the new DMD, but the "Build Phobos Browse Info" in VisualD failed when building druntime JSON browse info.

A quick investigation showed that I also had to add "-I%@P%\..\..\src\druntime\src" to sc.ini to make it work, but that made me wonder...

Are the paths specified under Tools|Options|Visual D Directories -> Import paths automatically appended to the paths specified in sc.ini by VisualD? Basically, are there any reason to duplicate paths in both?

Anyway, thanks once more for all your work + effort with VisualD - it is truly amazing to be able to use VS with D!

Regards,
Ettienne
Back to top
View user's profile Send private message
sagitario



Joined: 03 Mar 2007
Posts: 292

PostPosted: Tue Jun 19, 2012 4:07 pm    Post subject: Reply with quote

Hi,

the "Build phobos browse info" command extracts the import paths from the sc.ini file and uses the files found in these folders to generate the JSON files.

Unfortunately, the DMD build process has slightly changed with the last release, so you can no longer assume that you can use the file from the src folder instead of the ugly di-file without also specifying the src folder as an import path.

A new version is just released, just a little too late to fix it right now...

Quote:
Are the paths specified under Tools|Options|Visual D Directories -> Import paths automatically appended to the paths specified in sc.ini by VisualD? Basically, are there any reason to duplicate paths in both?


The paths specified in the global options are added to the command line, so no need to duplicate them (when building projects, but not with "Build phobos browse info").

Rainer
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