www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.ide - Visual D: Failed to locate: "FileTracker32.dll".

reply Jos van Uden <example example.com> writes:
Hello,

I've installed the latest version of Visual D (1.01) and Visual 
Studio Community Edition 2019. When I try to compile and run the 
hello world sample code: it fails with the message "TRACKER : 
error TRK0004: Failed to locate: "FileTracker32.dll". The system 
cannot find the file specified."

Is there something more that I should have installed / configured.

Regards,

Jos

----------------

The full log:

set PATH=C:\Program Files (x86)\Microsoft Visual 
Studio\2019\Community\VC\bin;C:\Program Files (x86)\Microsoft 
Visual Studio\2019\Community\Common7\IDE;C:\Program Files 
(x86)\Windows Kits\10\bin;C:\Dev\D\dmd-2.093.1\windows\bin;%PATH%
set DMD_LIB=C:\Program Files (x86)\Microsoft Visual 
Studio\2019\Community\VC\lib\amd64;C:\Program Files (x86)\Windows 
Kits\10\lib\10.0.18362.0\um\x64
set VCINSTALLDIR=C:\Program Files (x86)\Microsoft Visual 
Studio\2019\Community\VC\
set VCTOOLSINSTALLDIR=C:\Program Files (x86)\Microsoft Visual 
Studio\2019\Community\VC\Tools\MSVC\14.27.29110\
set VSINSTALLDIR=C:\Program Files (x86)\Microsoft Visual 
Studio\2019\Community\
set WindowsSdkDir=C:\Program Files (x86)\Windows Kits\10\
set WindowsSdkVersion=10.0.18362.0
set UniversalCRTSdkDir=C:\Program Files (x86)\Windows Kits\10\
set UCRTVersion=10.0.18362.0
"C:\Program Files (x86)\VisualD\pipedmd.exe" -deps 
x64\Debug\WindowsApp2.dep dmd -debug -m64 -g -gf -X 
-Xf"x64\Debug\WindowsApp2.json" -c -of"x64\Debug\WindowsApp2.obj" 
WindowsApp2.d
if %errorlevel% neq 0 goto reportError

set LIB=C:\Dev\D\dmd-2.093.1\windows\bin\..\lib64
echo. > 
C:\Users\username_here\source\repos\WindowsApp2\WindowsApp2\x64\Debug\WindowsApp2.link.rsp
echo "x64\Debug\WindowsApp2.obj" /OUT:"x64\Debug\WindowsApp2.exe" 
user32.lib  >> 
C:\Users\username_here\source\repos\WindowsApp2\WindowsApp2\x64\Debug\WindowsApp2.link.rsp
echo kernel32.lib  >> 
C:\Users\username_here\source\repos\WindowsApp2\WindowsApp2\x64\Debug\WindowsApp2.link.rsp
echo legacy_stdio_definitions.lib /LIBPATH:"C:\Program Files 
(x86)\Microsoft Visual Studio\2019\Community\VC\lib\amd64" 
/LIBPATH:"C:\Program Files (x86)\Windows 
Kits\10\lib\10.0.18362.0\um\x64" /DEBUG 
/PDB:"x64\Debug\WindowsApp2.pdb" /INCREMENTAL:NO /NOLOGO 
/NODEFAULTLIB:libcmt libcmtd.lib /SUBSYSTEM:CONSOLE >> 
C:\Users\username_here\source\repos\WindowsApp2\WindowsApp2\x64\Debug\WindowsApp2.link.rsp
"C:\Program Files (x86)\VisualD\mb2utf16.exe" 
C:\Users\username_here\source\repos\WindowsApp2\WindowsApp2\x64\Debug\WindowsApp2.link.rsp

"C:\Program Files (x86)\VisualD\pipedmd.exe" -msmode -deps 
x64\Debug\WindowsApp2.lnkdep "C:\Program Files (x86)\Microsoft 
Visual Studio\2019\Community\VC\bin\link.exe" 
 C:\Users\username_here\source\repos\WindowsApp2\WindowsApp2\x64\Debug\WindowsApp2.link.rsp
if %errorlevel% neq 0 goto reportError
if not exist "x64\Debug\WindowsApp2.exe" (echo 
"x64\Debug\WindowsApp2.exe" not created! && goto reportError)

goto noError

:reportError
echo Building x64\Debug\WindowsApp2.exe failed!

:noError
Output

TRACKER : error TRK0004: Failed to locate: "FileTracker32.dll". 
The system cannot find the file specified.

Building x64\Debug\WindowsApp2.exe failed!
Sep 28 2020
next sibling parent Arjan <arjan ask.me.to> writes:
On Monday, 28 September 2020 at 10:32:42 UTC, Jos van Uden wrote:
 TRACKER : error TRK0004: Failed to locate: "FileTracker32.dll". 
 The system cannot find the file specified.

 Building x64\Debug\WindowsApp2.exe failed!
IRRC either dmd.exe / d compiler path is wrong in the visuald config or not set or msbuild is not in path.
Sep 28 2020
prev sibling parent Rainer Schuetze <r.sagitario gmx.de> writes:
On 28/09/2020 12:32, Jos van Uden wrote:
 Hello,
 
 I've installed the latest version of Visual D (1.01) and Visual Studio
 Community Edition 2019. When I try to compile and run the hello world
 sample code: it fails with the message "TRACKER : error TRK0004: Failed
 to locate: "FileTracker32.dll". The system cannot find the file specified."
 
 Is there something more that I should have installed / configured.
 
For me, FileTracker32.dll is in the MSBuild folders. I suspect you didn't install the C++ development environment aswell. That is also needed to use the static libraries of the VC runtime and the native linker.
Sep 28 2020