View previous topic :: View next topic |
Author |
Message |
greatgatsby
Joined: 06 Aug 2010 Posts: 10 Location: South Africa (Cape Town)
|
Posted: Tue Jun 19, 2012 10:47 am Post subject: Build Phobos Browse Info on DMD2.059 |
|
|
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 |
|
|
sagitario
Joined: 03 Mar 2007 Posts: 292
|
Posted: Tue Jun 19, 2012 4:07 pm Post subject: |
|
|
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 |
|
|
|
|
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
|