dlangide
dlangide copied to clipboard
Visual Studio build fails
I am getting this build error when trying to build using Visual Studio 2017 with Visual D extension:
------ Build started: Project: dlangui, Configuration: Debug x64 ------
Building Debug\dlangui.lib...
Error: module consoleapp is in file 'src\dlangui\platforms\console\consoleapp.d' which cannot be read
import path[0] = C:\D\dmd2\windows\bin\..\..\src\phobos
import path[1] = C:\D\dmd2\windows\bin\..\..\src\druntime\import
Building Debug\dlangui.lib failed!
I tracked it down to the .visualdproj file which contains the following incorrect paths:
<Folder name="console">
<File path="src\dlangui\platforms\console\consoleapp.d" />
<File path="src\dlangui\platforms\console\consolefont.d" />
<File path="src\dlangui\platforms\console\dconsole.d" />
</Folder>
The folder "console" is called "ansi_console" in the repo.
Since I'm new to D programming I'm not exactly sure how Visual D is supposed to work and if it should refresh the paths in the project file itself automatically?