Building error with DynamoRIO on Windows 10 64bits
I was trying to build DRLtrace for Windows 64bits, using the versions of the required software listed in the how to build section of Windows, and I got this issue :
PS C:\Users\admin\Documents\Savegames\build> cmake -G"Visual Studio 12 Win64" -DCMAKE_BUILD_TYPE=RelWithDebInfo ..\drltrace\drltrace_src\
Generated with config types: RelWithDebInfo
-- The C compiler identification is MSVC 18.0.40629.0
-- The CXX compiler identification is MSVC 18.0.40629.0
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 12.0/VC/bin/x86_amd64/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 12.0/VC/bin/x86_amd64/cl.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 12.0/VC/bin/x86_amd64/cl.exe
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 12.0/VC/bin/x86_amd64/cl.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building DynamoRIO from local sources C:/Users/admin/Documents/Savegames/build/dynamorio/cmake
-- Version number: 7.91.18333
CMake Error at dynamorio/make/cpp2asm_support.cmake:243 (message):
assembler not found: required to build
Call Stack (most recent call first):
dynamorio/CMakeLists.txt:544 (include)
-- Configuring incomplete, errors occurred!
See also "C:/Users/admin/Documents/Savegames/build/CMakeFiles/CMakeOutput.log".
I am using VS 2013, CMake 3.2 and Starwberry Perl 5.32.1.1 64bit. Can you help me figure out the issue? Here is the content of the log file:
The system is: Windows - 10.0.19042 - AMD64
Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
Compiler:
Build flags:
Id flags:
The output was:
0
Microsoft (R) Build Engine, version 12.0.40629.0
[Microsoft .NET Framework, Version 4.0.30319.42000]
Copyright (C) Microsoft Corporation. Tous droits r‚serv‚s.
La g‚n‚ration a d‚marr‚ 04/05/2021 15:51:17.
Projet "C:\Users\admin\Documents\Savegames\build\CMakeFiles\3.7.0-rc1\CompilerIdC\CompilerIdC.vcxproj" sur le noud 1 (cibles par d‚faut).
PrepareForBuild:
Cr‚ation du r‚pertoire "Debug\".
Cr‚ation du r‚pertoire "Debug\CompilerIdC.tlog\".
InitializeBuildStatus:
Cr‚ation de "Debug\CompilerIdC.tlog\unsuccessfulbuild", car "AlwaysCreate" a ‚t‚ sp‚cifi‚.
ClCompile:
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\x86_amd64\CL.exe /c /nologo /W0 /WX- /Od /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Fo"Debug\\" /Fd"Debug\vc120.pdb" /Gd /TC /errorReport:queue CMakeCCompilerId.c
CMakeCCompilerId.c
Link:
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\x86_amd64\link.exe /ERRORREPORT:QUEUE /OUT:".\CompilerIdC.exe" /INCREMENTAL:NO /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /PDB:".\CompilerIdC.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:".\CompilerIdC.lib" /MACHINE:X64 Debug\CMakeCCompilerId.obj
CompilerIdC.vcxproj -> C:\Users\admin\Documents\Savegames\build\CMakeFiles\3.7.0-rc1\CompilerIdC\.\CompilerIdC.exe
PostBuildEvent:
for %%i in (cl.exe) do @echo CMAKE_C_COMPILER=%%~$PATH:i
:VCEnd
CMAKE_C_COMPILER=C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\x86_amd64\cl.exe
FinalizeBuildStatus:
Suppression du fichier "Debug\CompilerIdC.tlog\unsuccessfulbuild".
Mise … jour de l'horodatage "Debug\CompilerIdC.tlog\CompilerIdC.lastbuildstate".
G‚n‚ration du projet "C:\Users\admin\Documents\Savegames\build\CMakeFiles\3.7.0-rc1\CompilerIdC\CompilerIdC.vcxproj" termin‚e (cibles par d‚faut).
La g‚n‚ration a r‚ussi.
0 Avertissement(s)
0 Erreur(s)
Temps ‚coul‚ 00:00:01.31
Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CompilerIdC.exe"
Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CompilerIdC.vcxproj"
The C compiler identification is MSVC, found in "C:/Users/admin/Documents/Savegames/build/CMakeFiles/3.7.0-rc1/CompilerIdC/CompilerIdC.exe"
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.
Compiler:
Build flags:
Id flags:
The output was:
0
Microsoft (R) Build Engine, version 12.0.40629.0
[Microsoft .NET Framework, Version 4.0.30319.42000]
Copyright (C) Microsoft Corporation. Tous droits r‚serv‚s.
La g‚n‚ration a d‚marr‚ 04/05/2021 15:51:18.
Projet "C:\Users\admin\Documents\Savegames\build\CMakeFiles\3.7.0-rc1\CompilerIdCXX\CompilerIdCXX.vcxproj" sur le noud 1 (cibles par d‚faut).
PrepareForBuild:
Cr‚ation du r‚pertoire "Debug\".
Cr‚ation du r‚pertoire "Debug\CompilerIdCXX.tlog\".
InitializeBuildStatus:
Cr‚ation de "Debug\CompilerIdCXX.tlog\unsuccessfulbuild", car "AlwaysCreate" a ‚t‚ sp‚cifi‚.
ClCompile:
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\x86_amd64\CL.exe /c /nologo /W0 /WX- /Od /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Fo"Debug\\" /Fd"Debug\vc120.pdb" /Gd /TP /errorReport:queue CMakeCXXCompilerId.cpp
CMakeCXXCompilerId.cpp
Link:
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\x86_amd64\link.exe /ERRORREPORT:QUEUE /OUT:".\CompilerIdCXX.exe" /INCREMENTAL:NO /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /PDB:".\CompilerIdCXX.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:".\CompilerIdCXX.lib" /MACHINE:X64 Debug\CMakeCXXCompilerId.obj
CompilerIdCXX.vcxproj -> C:\Users\admin\Documents\Savegames\build\CMakeFiles\3.7.0-rc1\CompilerIdCXX\.\CompilerIdCXX.exe
PostBuildEvent:
for %%i in (cl.exe) do @echo CMAKE_CXX_COMPILER=%%~$PATH:i
:VCEnd
CMAKE_CXX_COMPILER=C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\x86_amd64\cl.exe
FinalizeBuildStatus:
Suppression du fichier "Debug\CompilerIdCXX.tlog\unsuccessfulbuild".
Mise … jour de l'horodatage "Debug\CompilerIdCXX.tlog\CompilerIdCXX.lastbuildstate".
G‚n‚ration du projet "C:\Users\admin\Documents\Savegames\build\CMakeFiles\3.7.0-rc1\CompilerIdCXX\CompilerIdCXX.vcxproj" termin‚e (cibles par d‚faut).
La g‚n‚ration a r‚ussi.
0 Avertissement(s)
0 Erreur(s)
Temps ‚coul‚ 00:00:01.37
Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CompilerIdCXX.exe"
Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CompilerIdCXX.vcxproj"
The CXX compiler identification is MSVC, found in "C:/Users/admin/Documents/Savegames/build/CMakeFiles/3.7.0-rc1/CompilerIdCXX/CompilerIdCXX.exe"
Determining if the C compiler works passed with the following output:
Change Dir: C:/Users/admin/Documents/Savegames/build/CMakeFiles/CMakeTmp
Run Build Command:"C:/Program Files (x86)/MSBuild/12.0/bin/MSBuild.exe" "cmTC_42061.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=12.0"
Microsoft (R) Build Engine, version 12.0.40629.0
[Microsoft .NET Framework, Version 4.0.30319.42000]
Copyright (C) Microsoft Corporation. Tous droits r‚serv‚s.
La g‚n‚ration a d‚marr‚ 04/05/2021 15:51:20.
Projet "C:\Users\admin\Documents\Savegames\build\CMakeFiles\CMakeTmp\cmTC_42061.vcxproj" sur le noud 1 (cibles par d‚faut).
PrepareForBuild:
Cr‚ation du r‚pertoire "cmTC_42061.dir\Debug\".
Cr‚ation du r‚pertoire "C:\Users\admin\Documents\Savegames\build\CMakeFiles\CMakeTmp\Debug\".
Cr‚ation du r‚pertoire "cmTC_42061.dir\Debug\cmTC_42061.tlog\".
InitializeBuildStatus:
Cr‚ation de "cmTC_42061.dir\Debug\cmTC_42061.tlog\unsuccessfulbuild", car "AlwaysCreate" a ‚t‚ sp‚cifi‚.
ClCompile:
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\x86_amd64\CL.exe /c /Zi /W3 /WX- /Od /Ob0 /D WIN32 /D _WINDOWS /D _DEBUG /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Fo"cmTC_42061.dir\Debug\\" /Fd"cmTC_42061.dir\Debug\vc120.pdb" /Gd /TC /errorReport:queue C:\Users\admin\Documents\Savegames\build\CMakeFiles\CMakeTmp\testCCompiler.c
Microsoft (R) C/C++ Optimizing Compiler Version 18.00.40629 for x64
Copyright (C) Microsoft Corporation. All rights reserved.
cl /c /Zi /W3 /WX- /Od /Ob0 /D WIN32 /D _WINDOWS /D _DEBUG /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Fo"cmTC_42061.dir\Debug\\" /Fd"cmTC_42061.dir\Debug\vc120.pdb" /Gd /TC /errorReport:queue C:\Users\admin\Documents\Savegames\build\CMakeFiles\CMakeTmp\testCCompiler.c
testCCompiler.c
Link:
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\x86_amd64\link.exe /ERRORREPORT:QUEUE /OUT:"C:\Users\admin\Documents\Savegames\build\CMakeFiles\CMakeTmp\Debug\cmTC_42061.exe" /INCREMENTAL /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /DEBUG /PDB:"C:/Users/admin/Documents/Savegames/build/CMakeFiles/CMakeTmp/Debug/cmTC_42061.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:/Users/admin/Documents/Savegames/build/CMakeFiles/CMakeTmp/Debug/cmTC_42061.lib" /MACHINE:X64 /machine:x64 cmTC_42061.dir\Debug\testCCompiler.obj
cmTC_42061.vcxproj -> C:\Users\admin\Documents\Savegames\build\CMakeFiles\CMakeTmp\Debug\cmTC_42061.exe
FinalizeBuildStatus:
Suppression du fichier "cmTC_42061.dir\Debug\cmTC_42061.tlog\unsuccessfulbuild".
Mise … jour de l'horodatage "cmTC_42061.dir\Debug\cmTC_42061.tlog\cmTC_42061.lastbuildstate".
G‚n‚ration du projet "C:\Users\admin\Documents\Savegames\build\CMakeFiles\CMakeTmp\cmTC_42061.vcxproj" termin‚e (cibles par d‚faut).
La g‚n‚ration a r‚ussi.
0 Avertissement(s)
0 Erreur(s)
Temps ‚coul‚ 00:00:01.43
Detecting C compiler ABI info compiled with the following output:
Change Dir: C:/Users/admin/Documents/Savegames/build/CMakeFiles/CMakeTmp
Run Build Command:"C:/Program Files (x86)/MSBuild/12.0/bin/MSBuild.exe" "cmTC_dc741.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=12.0"
Microsoft (R) Build Engine, version 12.0.40629.0
[Microsoft .NET Framework, Version 4.0.30319.42000]
Copyright (C) Microsoft Corporation. Tous droits r‚serv‚s.
La g‚n‚ration a d‚marr‚ 04/05/2021 15:51:22.
Projet "C:\Users\admin\Documents\Savegames\build\CMakeFiles\CMakeTmp\cmTC_dc741.vcxproj" sur le noud 1 (cibles par d‚faut).
PrepareForBuild:
Cr‚ation du r‚pertoire "cmTC_dc741.dir\Debug\".
Cr‚ation du r‚pertoire "C:\Users\admin\Documents\Savegames\build\CMakeFiles\CMakeTmp\Debug\".
Cr‚ation du r‚pertoire "cmTC_dc741.dir\Debug\cmTC_dc741.tlog\".
InitializeBuildStatus:
Cr‚ation de "cmTC_dc741.dir\Debug\cmTC_dc741.tlog\unsuccessfulbuild", car "AlwaysCreate" a ‚t‚ sp‚cifi‚.
ClCompile:
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\x86_amd64\CL.exe /c /Zi /W3 /WX- /Od /Ob0 /D WIN32 /D _WINDOWS /D _DEBUG /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Fo"cmTC_dc741.dir\Debug\\" /Fd"cmTC_dc741.dir\Debug\vc120.pdb" /Gd /TC /errorReport:queue "C:\Program Files\CMake\share\cmake-3.7\Modules\CMakeCCompilerABI.c"
Microsoft (R) C/C++ Optimizing Compiler Version 18.00.40629 for x64
Copyright (C) Microsoft Corporation. All rights reserved.
cl /c /Zi /W3 /WX- /Od /Ob0 /D WIN32 /D _WINDOWS /D _DEBUG /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Fo"cmTC_dc741.dir\Debug\\" /Fd"cmTC_dc741.dir\Debug\vc120.pdb" /Gd /TC /errorReport:queue "C:\Program Files\CMake\share\cmake-3.7\Modules\CMakeCCompilerABI.c"
CMakeCCompilerABI.c
Link:
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\x86_amd64\link.exe /ERRORREPORT:QUEUE /OUT:"C:\Users\admin\Documents\Savegames\build\CMakeFiles\CMakeTmp\Debug\cmTC_dc741.exe" /INCREMENTAL /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /DEBUG /PDB:"C:/Users/admin/Documents/Savegames/build/CMakeFiles/CMakeTmp/Debug/cmTC_dc741.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:/Users/admin/Documents/Savegames/build/CMakeFiles/CMakeTmp/Debug/cmTC_dc741.lib" /MACHINE:X64 /machine:x64 cmTC_dc741.dir\Debug\CMakeCCompilerABI.obj
cmTC_dc741.vcxproj -> C:\Users\admin\Documents\Savegames\build\CMakeFiles\CMakeTmp\Debug\cmTC_dc741.exe
FinalizeBuildStatus:
Suppression du fichier "cmTC_dc741.dir\Debug\cmTC_dc741.tlog\unsuccessfulbuild".
Mise … jour de l'horodatage "cmTC_dc741.dir\Debug\cmTC_dc741.tlog\cmTC_dc741.lastbuildstate".
G‚n‚ration du projet "C:\Users\admin\Documents\Savegames\build\CMakeFiles\CMakeTmp\cmTC_dc741.vcxproj" termin‚e (cibles par d‚faut).
La g‚n‚ration a r‚ussi.
0 Avertissement(s)
0 Erreur(s)
Temps ‚coul‚ 00:00:01.43
Determining if the CXX compiler works passed with the following output:
Change Dir: C:/Users/admin/Documents/Savegames/build/CMakeFiles/CMakeTmp
Run Build Command:"C:/Program Files (x86)/MSBuild/12.0/bin/MSBuild.exe" "cmTC_709e9.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=12.0"
Microsoft (R) Build Engine, version 12.0.40629.0
[Microsoft .NET Framework, Version 4.0.30319.42000]
Copyright (C) Microsoft Corporation. Tous droits r‚serv‚s.
La g‚n‚ration a d‚marr‚ 04/05/2021 15:51:24.
Projet "C:\Users\admin\Documents\Savegames\build\CMakeFiles\CMakeTmp\cmTC_709e9.vcxproj" sur le noud 1 (cibles par d‚faut).
PrepareForBuild:
Cr‚ation du r‚pertoire "cmTC_709e9.dir\Debug\".
Cr‚ation du r‚pertoire "C:\Users\admin\Documents\Savegames\build\CMakeFiles\CMakeTmp\Debug\".
Cr‚ation du r‚pertoire "cmTC_709e9.dir\Debug\cmTC_709e9.tlog\".
InitializeBuildStatus:
Cr‚ation de "cmTC_709e9.dir\Debug\cmTC_709e9.tlog\unsuccessfulbuild", car "AlwaysCreate" a ‚t‚ sp‚cifi‚.
ClCompile:
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\x86_amd64\CL.exe /c /Zi /W3 /WX- /Od /Ob0 /D WIN32 /D _WINDOWS /D _DEBUG /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /GR /Fo"cmTC_709e9.dir\Debug\\" /Fd"cmTC_709e9.dir\Debug\vc120.pdb" /Gd /TP /errorReport:queue C:\Users\admin\Documents\Savegames\build\CMakeFiles\CMakeTmp\testCXXCompiler.cxx
Microsoft (R) C/C++ Optimizing Compiler Version 18.00.40629 for x64
Copyright (C) Microsoft Corporation. All rights reserved.
cl /c /Zi /W3 /WX- /Od /Ob0 /D WIN32 /D _WINDOWS /D _DEBUG /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /GR /Fo"cmTC_709e9.dir\Debug\\" /Fd"cmTC_709e9.dir\Debug\vc120.pdb" /Gd /TP /errorReport:queue C:\Users\admin\Documents\Savegames\build\CMakeFiles\CMakeTmp\testCXXCompiler.cxx
testCXXCompiler.cxx
Link:
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\x86_amd64\link.exe /ERRORREPORT:QUEUE /OUT:"C:\Users\admin\Documents\Savegames\build\CMakeFiles\CMakeTmp\Debug\cmTC_709e9.exe" /INCREMENTAL /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /DEBUG /PDB:"C:/Users/admin/Documents/Savegames/build/CMakeFiles/CMakeTmp/Debug/cmTC_709e9.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:/Users/admin/Documents/Savegames/build/CMakeFiles/CMakeTmp/Debug/cmTC_709e9.lib" /MACHINE:X64 /machine:x64 cmTC_709e9.dir\Debug\testCXXCompiler.obj
cmTC_709e9.vcxproj -> C:\Users\admin\Documents\Savegames\build\CMakeFiles\CMakeTmp\Debug\cmTC_709e9.exe
FinalizeBuildStatus:
Suppression du fichier "cmTC_709e9.dir\Debug\cmTC_709e9.tlog\unsuccessfulbuild".
Mise … jour de l'horodatage "cmTC_709e9.dir\Debug\cmTC_709e9.tlog\cmTC_709e9.lastbuildstate".
G‚n‚ration du projet "C:\Users\admin\Documents\Savegames\build\CMakeFiles\CMakeTmp\cmTC_709e9.vcxproj" termin‚e (cibles par d‚faut).
La g‚n‚ration a r‚ussi.
0 Avertissement(s)
0 Erreur(s)
Temps ‚coul‚ 00:00:01.39
Detecting CXX compiler ABI info compiled with the following output:
Change Dir: C:/Users/admin/Documents/Savegames/build/CMakeFiles/CMakeTmp
Run Build Command:"C:/Program Files (x86)/MSBuild/12.0/bin/MSBuild.exe" "cmTC_e8134.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=12.0"
Microsoft (R) Build Engine, version 12.0.40629.0
[Microsoft .NET Framework, Version 4.0.30319.42000]
Copyright (C) Microsoft Corporation. Tous droits r‚serv‚s.
La g‚n‚ration a d‚marr‚ 04/05/2021 15:51:26.
Projet "C:\Users\admin\Documents\Savegames\build\CMakeFiles\CMakeTmp\cmTC_e8134.vcxproj" sur le noud 1 (cibles par d‚faut).
PrepareForBuild:
Cr‚ation du r‚pertoire "cmTC_e8134.dir\Debug\".
Cr‚ation du r‚pertoire "C:\Users\admin\Documents\Savegames\build\CMakeFiles\CMakeTmp\Debug\".
Cr‚ation du r‚pertoire "cmTC_e8134.dir\Debug\cmTC_e8134.tlog\".
InitializeBuildStatus:
Cr‚ation de "cmTC_e8134.dir\Debug\cmTC_e8134.tlog\unsuccessfulbuild", car "AlwaysCreate" a ‚t‚ sp‚cifi‚.
ClCompile:
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\x86_amd64\CL.exe /c /Zi /W3 /WX- /Od /Ob0 /D WIN32 /D _WINDOWS /D _DEBUG /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /GR /Fo"cmTC_e8134.dir\Debug\\" /Fd"cmTC_e8134.dir\Debug\vc120.pdb" /Gd /TP /errorReport:queue "C:\Program Files\CMake\share\cmake-3.7\Modules\CMakeCXXCompilerABI.cpp"
Microsoft (R) C/C++ Optimizing Compiler Version 18.00.40629 for x64
Copyright (C) Microsoft Corporation. All rights reserved.
cl /c /Zi /W3 /WX- /Od /Ob0 /D WIN32 /D _WINDOWS /D _DEBUG /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /GR /Fo"cmTC_e8134.dir\Debug\\" /Fd"cmTC_e8134.dir\Debug\vc120.pdb" /Gd /TP /errorReport:queue "C:\Program Files\CMake\share\cmake-3.7\Modules\CMakeCXXCompilerABI.cpp"
CMakeCXXCompilerABI.cpp
Link:
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\x86_amd64\link.exe /ERRORREPORT:QUEUE /OUT:"C:\Users\admin\Documents\Savegames\build\CMakeFiles\CMakeTmp\Debug\cmTC_e8134.exe" /INCREMENTAL /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /DEBUG /PDB:"C:/Users/admin/Documents/Savegames/build/CMakeFiles/CMakeTmp/Debug/cmTC_e8134.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:/Users/admin/Documents/Savegames/build/CMakeFiles/CMakeTmp/Debug/cmTC_e8134.lib" /MACHINE:X64 /machine:x64 cmTC_e8134.dir\Debug\CMakeCXXCompilerABI.obj
cmTC_e8134.vcxproj -> C:\Users\admin\Documents\Savegames\build\CMakeFiles\CMakeTmp\Debug\cmTC_e8134.exe
FinalizeBuildStatus:
Suppression du fichier "cmTC_e8134.dir\Debug\cmTC_e8134.tlog\unsuccessfulbuild".
Mise … jour de l'horodatage "cmTC_e8134.dir\Debug\cmTC_e8134.tlog\cmTC_e8134.lastbuildstate".
G‚n‚ration du projet "C:\Users\admin\Documents\Savegames\build\CMakeFiles\CMakeTmp\cmTC_e8134.vcxproj" termin‚e (cibles par d‚faut).
La g‚n‚ration a r‚ussi.
0 Avertissement(s)
0 Erreur(s)
Temps ‚coul‚ 00:00:01.48
Detecting CXX [] compiler features compiled with the following output:
Change Dir: C:/Users/admin/Documents/Savegames/build/CMakeFiles/CMakeTmp
Run Build Command:"C:/Program Files (x86)/MSBuild/12.0/bin/MSBuild.exe" "cmTC_55985.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=12.0"
Microsoft (R) Build Engine, version 12.0.40629.0
[Microsoft .NET Framework, Version 4.0.30319.42000]
Copyright (C) Microsoft Corporation. Tous droits r‚serv‚s.
La g‚n‚ration a d‚marr‚ 04/05/2021 15:51:28.
Projet "C:\Users\admin\Documents\Savegames\build\CMakeFiles\CMakeTmp\cmTC_55985.vcxproj" sur le noud 1 (cibles par d‚faut).
PrepareForBuild:
Cr‚ation du r‚pertoire "cmTC_55985.dir\Debug\".
Cr‚ation du r‚pertoire "C:\Users\admin\Documents\Savegames\build\CMakeFiles\CMakeTmp\Debug\".
Cr‚ation du r‚pertoire "cmTC_55985.dir\Debug\cmTC_55985.tlog\".
InitializeBuildStatus:
Cr‚ation de "cmTC_55985.dir\Debug\cmTC_55985.tlog\unsuccessfulbuild", car "AlwaysCreate" a ‚t‚ sp‚cifi‚.
ClCompile:
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\x86_amd64\CL.exe /c /Zi /W3 /WX- /Od /Ob0 /D WIN32 /D _WINDOWS /D _DEBUG /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /GR /Fo"cmTC_55985.dir\Debug\\" /Fd"cmTC_55985.dir\Debug\vc120.pdb" /Gd /TP /errorReport:queue C:\Users\admin\Documents\Savegames\build\CMakeFiles\feature_tests.cxx
Microsoft (R) C/C++ Optimizing Compiler Version 18.00.40629 for x64
Copyright (C) Microsoft Corporation. All rights reserved.
cl /c /Zi /W3 /WX- /Od /Ob0 /D WIN32 /D _WINDOWS /D _DEBUG /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /GR /Fo"cmTC_55985.dir\Debug\\" /Fd"cmTC_55985.dir\Debug\vc120.pdb" /Gd /TP /errorReport:queue C:\Users\admin\Documents\Savegames\build\CMakeFiles\feature_tests.cxx
feature_tests.cxx
Link:
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\x86_amd64\link.exe /ERRORREPORT:QUEUE /OUT:"C:\Users\admin\Documents\Savegames\build\CMakeFiles\CMakeTmp\Debug\cmTC_55985.exe" /INCREMENTAL /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /DEBUG /PDB:"C:/Users/admin/Documents/Savegames/build/CMakeFiles/CMakeTmp/Debug/cmTC_55985.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:/Users/admin/Documents/Savegames/build/CMakeFiles/CMakeTmp/Debug/cmTC_55985.lib" /MACHINE:X64 /machine:x64 cmTC_55985.dir\Debug\feature_tests.obj
cmTC_55985.vcxproj -> C:\Users\admin\Documents\Savegames\build\CMakeFiles\CMakeTmp\Debug\cmTC_55985.exe
FinalizeBuildStatus:
Suppression du fichier "cmTC_55985.dir\Debug\cmTC_55985.tlog\unsuccessfulbuild".
Mise … jour de l'horodatage "cmTC_55985.dir\Debug\cmTC_55985.tlog\cmTC_55985.lastbuildstate".
G‚n‚ration du projet "C:\Users\admin\Documents\Savegames\build\CMakeFiles\CMakeTmp\cmTC_55985.vcxproj" termin‚e (cibles par d‚faut).
La g‚n‚ration a r‚ussi.
0 Avertissement(s)
0 Erreur(s)
Temps ‚coul‚ 00:00:01.48
Feature record: CXX_FEATURE:0cxx_aggregate_default_initializers
Feature record: CXX_FEATURE:1cxx_alias_templates
Feature record: CXX_FEATURE:0cxx_alignas
Feature record: CXX_FEATURE:0cxx_alignof
Feature record: CXX_FEATURE:0cxx_attributes
Feature record: CXX_FEATURE:0cxx_attribute_deprecated
Feature record: CXX_FEATURE:1cxx_auto_type
Feature record: CXX_FEATURE:0cxx_binary_literals
Feature record: CXX_FEATURE:0cxx_constexpr
Feature record: CXX_FEATURE:1cxx_contextual_conversions
Feature record: CXX_FEATURE:1cxx_decltype
Feature record: CXX_FEATURE:0cxx_decltype_auto
Feature record: CXX_FEATURE:1cxx_default_function_template_args
Feature record: CXX_FEATURE:1cxx_defaulted_functions
Feature record: CXX_FEATURE:0cxx_defaulted_move_initializers
Feature record: CXX_FEATURE:1cxx_delegating_constructors
Feature record: CXX_FEATURE:0cxx_deleted_functions
Feature record: CXX_FEATURE:0cxx_digit_separators
Feature record: CXX_FEATURE:1cxx_enum_forward_declarations
Feature record: CXX_FEATURE:1cxx_explicit_conversions
Feature record: CXX_FEATURE:1cxx_extended_friend_declarations
Feature record: CXX_FEATURE:1cxx_extern_templates
Feature record: CXX_FEATURE:1cxx_final
Feature record: CXX_FEATURE:0cxx_func_identifier
Feature record: CXX_FEATURE:1cxx_generalized_initializers
Feature record: CXX_FEATURE:0cxx_generic_lambdas
Feature record: CXX_FEATURE:0cxx_inheriting_constructors
Feature record: CXX_FEATURE:0cxx_inline_namespaces
Feature record: CXX_FEATURE:1cxx_lambdas
Feature record: CXX_FEATURE:0cxx_lambda_init_captures
Feature record: CXX_FEATURE:1cxx_local_type_template_args
Feature record: CXX_FEATURE:1cxx_long_long_type
Feature record: CXX_FEATURE:0cxx_noexcept
Feature record: CXX_FEATURE:0cxx_nonstatic_member_init
Feature record: CXX_FEATURE:1cxx_nullptr
Feature record: CXX_FEATURE:1cxx_override
Feature record: CXX_FEATURE:1cxx_range_for
Feature record: CXX_FEATURE:1cxx_raw_string_literals
Feature record: CXX_FEATURE:0cxx_reference_qualified_functions
Feature record: CXX_FEATURE:0cxx_return_type_deduction
Feature record: CXX_FEATURE:1cxx_right_angle_brackets
Feature record: CXX_FEATURE:1cxx_rvalue_references
Feature record: CXX_FEATURE:0cxx_sizeof_member
Feature record: CXX_FEATURE:1cxx_static_assert
Feature record: CXX_FEATURE:1cxx_strong_enums
Feature record: CXX_FEATURE:1cxx_template_template_parameters
Feature record: CXX_FEATURE:0cxx_thread_local
Feature record: CXX_FEATURE:1cxx_trailing_return_types
Feature record: CXX_FEATURE:0cxx_unicode_literals
Feature record: CXX_FEATURE:1cxx_uniform_initialization
Feature record: CXX_FEATURE:0cxx_unrestricted_unions
Feature record: CXX_FEATURE:0cxx_user_literals
Feature record: CXX_FEATURE:0cxx_variable_templates
Feature record: CXX_FEATURE:1cxx_variadic_macros
Feature record: CXX_FEATURE:1cxx_variadic_templates
Hi, thanks for your interest in drltrace.
Are you compiling using Developer Command Prompt for VS2013 x64 or using a standard terminal?
https://docs.microsoft.com/en-us/visualstudio/ide/reference/command-prompt-powershell?view=vs-2019
Hi!
I have the same output with all types of terminal, Powershell, cmd, or using the Developer Command Prompt for VS2013 x64 from VS 2013 tools.
Nevermind, sorry. I forgot to clear the CMake cache files. But is it normal that the Developper prompt just closes at some point? Because I now have an issue at execution: Even with "drltrace -logdir . -- calc.exe", the output I get actually stops before the calculator window opens. And nothing new is written in the log file after using it. Also tried with explorer.exe.
What do you mean by nothing new? Is the log file empty?
No, it contains a lot of calls, but all of these were written before the calculator window showed up, and there was nothing more afterwards. Here is the end of the log file:
~~9316~~ ntdll.dll!ZwClose arg 0: 0x0000000000000054 arg 1: 0x0000000000000000 ~~9316~~ ntdll.dll!memset arg 0: 0x00000000013e44a8 arg 1: 0x0000000000000000 ~~9316~~ ntdll.dll!RtlGetCurrentServiceSessionId arg 0: 0x0000000000000000 arg 1: 0x00000000013e4340 ~~9316~~ ntdll.dll!RtlDeactivateActivationContextUnsafeFast arg 0: 0x000000000127f480 arg 1: 0x00000000013e4340 ~~9316~~ ntdll.dll!RtlActivateActivationContextUnsafeFast arg 0: 0x000000000127f4d0 arg 1: 0x0000000000000000 ~~9316~~ ntdll.dll!RtlAcquireSRWLockShared arg 0: 0x00007ffa3f6db358 arg 1: 0x00000000013e2ac0 ~~9316~~ ntdll.dll!RtlReleaseSRWLockShared arg 0: 0x00007ffa3f6db358 arg 1: 0x00007ffa3f6d4520 ~~9316~~ ntdll.dll!RtlDeactivateActivationContextUnsafeFast arg 0: 0x000000000127f4d0 arg 1: 0x00007ffa3f6d4520 ~~9316~~ ntdll.dll!RtlDetectHeapLeaks arg 0: 0x8694284a107e0000 arg 1: 0x0000000000000000 ~~9316~~ ntdll.dll!ZwTerminateProcess arg 0: 0xffffffffffffffff arg 1: 0x0000000000000001
Just realized this one is from explorer.exe, but it is exactly the same issue.
Yes, it is a common problem when you trace standard applications on Windows 10 if I recall it correctly. You could try to run some third-party app and check results.
Well I have another problem with other apps...When I just launch them normally with Powershell, from the app's directory, without launching DRLtrace, they start normally, but when I use DRLtrace, they won't start, there is just : "INFO: <.exe path> successfully started, waiting app for exit" and it returns one second later, with no app showing up...
Maybe I should create another issue?
Yes, please create a new one and share executable that you run along with details on drltrace version and DR engine.