<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hello All,<div class=""><br class=""></div><div class="">Recently we got a UsbDk compilation problem report I’d like to share with spice-devel to make this information public.</div><div class=""><br class=""></div><div class="">In some cases Visual Studio 2013 compiler crashes while building specific UsbDk files (see log below).</div><div class=""><br class=""></div><div class=""><div class="">This is a known issue with Visual Studio 2013 compiler. It was fixed in Visual Studio update 4 (<a href="https://www.microsoft.com/en-us/download/details.aspx?id=44921" class="">https://www.microsoft.com/en-us/download/details.aspx?id=44921</a>)</div><div class="">Having that update installed UsbDk compiles with no errors.</div><div class=""><br class=""></div><div class="">Best Regards,</div><div class="">Dmitry</div><div class=""><br class=""></div><div class="">===== COMPILER OUTPUT =========</div><div class=""><br class=""></div><div>The errors that I was getting are the next:<br class="">1>------ Rebuild All started: Project: UsbDkHelper, Configuration: Win7 Debug Wi<br class="">n32 ------<br class="">2>------ Rebuild All started: Project: UsbDk, Configuration: Win7 Debug Win32 --<br class="">----<br class="">1> stdafx.cpp<br class="">2> ControlDevice.cpp<br class="">2>…\usbdk\UsbDkUtil.h(408): fatal error C1001: An<br class=""> internal error has occurred in the compiler.<br class="">2> (compiler file 'msc1.cpp', line 1325)<br class="">2> To work around this problem, try simplifying or changing the program near t<br class="">he locations listed above.<br class="">2> Please choose the Technical Support command on the Visual C++<br class="">2> Help menu, or open the Technical Support help file for more information<br class="">2> INTERNAL COMPILER ERROR in 'C:\Program Files (x86)\Microsoft Visual Studio 1<br class="">2.0\VC\bin\CL.exe'<br class="">2> Please choose the Technical Support command on the Visual C++<br class="">2> Help menu, or open the Technical Support help file for more information<br class="">1> dllmain.cpp<br class="">1> DriverAccess.cpp<br class="">1> DriverFile.cpp<br class="">1> Exception.cpp<br class="">1> Installer.cpp<br class="">1>…\usbdk\usbdkhelper\RegAccess.h(76): fatal error C100<br class="">1: An internal error has occurred in the compiler.<br class="">1> (compiler file 'f:\dd\vctools\compiler\cxxfe\sl\p1\c\convert.cpp', line 9608<br class="">)<br class="">1> To work around this problem, try simplifying or changing the program near t<br class="">he locations listed above.<br class="">1> Please choose the Technical Support command on the Visual C++<br class="">1> Help menu, or open the Technical Support help file for more information<br class="">1> RedirectorAccess.cpp<br class="">1>c1xx : fatal error C1060: compiler is out of heap space<br class="">1> An internal error has occurred in the compiler.<br class="">1> (compiler file 'msc1.cpp', line 1325)<br class="">1> To work around this problem, try simplifying or changing the program near t<br class="">he locations listed above.<br class="">1> Please choose the Technical Support command on the Visual C++<br class="">1> Help menu, or open the Technical Support help file for more information<br class="">1> INTERNAL COMPILER ERROR in 'C:\Program Files (x86)\Microsoft Visual Studio 1<br class="">2.0\VC\bin\CL.exe'<br class="">1> Please choose the Technical Support command on the Visual C++<br class="">1> Help menu, or open the Technical Support help file for more information<br class="">3>------ Rebuild All started: Project: UsbDkController, Configuration: Win7 Debu<br class="">g Win32 ------<br class="">4>------ Rebuild All started: Project: UsbDkInstHelper, Configuration: Win7 Debu<br class="">g Win32 ------<br class="">3> stdafx.cpp<br class="">4> stdafx.cpp<br class="">3> UsbDkController.cpp<br class="">4> UsbDkInstHelper.cpp<br class="">4>LINK : fatal error LNK1104: cannot open file ‘…\usbdk<br class="">\Install_Debug\x86\Win7Debug\UsbDkHelper.lib'<br class="">3>LINK : fatal error LNK1104: cannot open file ‘…\usbdk<br class="">\Install_Debug\x86\Win7Debug\UsbDkHelper.lib'<br class="">5>------ Rebuild All started: Project: UsbDk_Package, Configuration: Win7 Debug<br class="">Win32 ------<br class="">5>C:\Program Files (x86)\Windows Kits\8.1\build\WindowsDriver.common.targets(136<br class="">6,5): error MSB3030: Could not copy the file “…\usbdk\I<br class="">nstall_Debug\x86\Win7Debug\UsbDk.sys" because it was not found.<br class="">5>C:\Program Files (x86)\Windows Kits\8.1\build\WindowsDriver.common.targets(136<br class="">6,5): error MSB3030: Could not copy the file “...\usbdk\I<br class="">nstall_Debug\x86\Win7Debug\UsbDkController.exe" because it was not found.<br class="">5>C:\Program Files (x86)\Windows Kits\8.1\build\WindowsDriver.common.targets(136<br class="">6,5): error MSB3030: Could not copy the file “...\usbdk\I<br class="">nstall_Debug\x86\Win7Debug\UsbDkInstHelper.exe" because it was not found.<br class="">5>C:\Program Files (x86)\Windows Kits\8.1\build\WindowsDriver.common.targets(136<br class="">6,5): error MSB3030: Could not copy the file “...\usbdk\I<br class="">nstall_Debug\x86\Win7Debug\UsbDkHelper.dll" because it was not found.<br class="">========== Rebuild All: 0 succeeded, 5 failed, 0 skipped ==========<br class=""><font color="#5856d6" class=""><br class=""></font>Build with Visual Studio FAILED<br class=""><font color="#5856d6" class=""><br class=""></font>...\usbdk>buildAll.bat<br class="">Could Not Find ...\usbdk\*.log<br class=""><font color="#5856d6" class=""><br class=""></font>Microsoft Visual Studio 2013 Version 12.0.21005.1.<br class="">Copyright (C) Microsoft Corp. All rights reserved.<br class=""><font color="#5856d6" class=""><br class=""></font>The license for Visual Studio expires in 22 days.<br class="">1>------ Rebuild All started: Project: UsbDkHelper, Configuration: Win7 Debug Wi<br class="">n32 ------<br class="">2>------ Rebuild All started: Project: UsbDk, Configuration: Win7 Debug Win32 --<br class="">----<br class="">1> stdafx.cpp<br class="">2> ControlDevice.cpp<br class="">2>...\usbdk\usbdk\UsbDkUtil.h(408): fatal error C1001: An<br class=""> internal error has occurred in the compiler.<br class="">2> (compiler file 'msc1.cpp', line 1325)<br class="">2> To work around this problem, try simplifying or changing the program near t<br class="">he locations listed above.<br class="">2> Please choose the Technical Support command on the Visual C++<br class="">2> Help menu, or open the Technical Support help file for more information<br class="">2> INTERNAL COMPILER ERROR in 'C:\Program Files (x86)\Microsoft Visual Studio 1<br class="">2.0\VC\bin\CL.exe'<br class="">2> Please choose the Technical Support command on the Visual C++<br class="">2> Help menu, or open the Technical Support help file for more information<br class="">1> dllmain.cpp<br class="">1> DriverAccess.cpp<br class="">1> DriverFile.cpp<br class="">1> Exception.cpp<br class="">1> Installer.cpp<br class="">1>...\usbdk\usbdkhelper\RegAccess.h(76): fatal error C100<br class="">1: An internal error has occurred in the compiler.<br class="">1> (compiler file 'f:\dd\vctools\compiler\cxxfe\sl\p1\c\convert.cpp', line 9608<br class="">)<br class="">1> To work around this problem, try simplifying or changing the program near t<br class="">he locations listed above.<br class="">1> Please choose the Technical Support command on the Visual C++<br class="">1> Help menu, or open the Technical Support help file for more information<br class="">1> RedirectorAccess.cpp<br class="">1>c1xx : fatal error C1060: compiler is out of heap space<br class="">1> An internal error has occurred in the compiler.<br class="">1> (compiler file 'msc1.cpp', line 1325)<br class="">1> To work around this problem, try simplifying or changing the program near t<br class="">he locations listed above.<br class="">1> Please choose the Technical Support command on the Visual C++<br class="">1> Help menu, or open the Technical Support help file for more information<br class="">1> INTERNAL COMPILER ERROR in 'C:\Program Files (x86)\Microsoft Visual Studio 1<br class="">2.0\VC\bin\CL.exe'<br class="">1> Please choose the Technical Support command on the Visual C++<br class="">1> Help menu, or open the Technical Support help file for more information<br class="">3>------ Rebuild All started: Project: UsbDkController, Configuration: Win7 Debu<br class="">g Win32 ------<br class="">4>------ Rebuild All started: Project: UsbDkInstHelper, Configuration: Win7 Debu<br class="">g Win32 ------<br class="">3> stdafx.cpp<br class="">4> stdafx.cpp<br class="">4> UsbDkInstHelper.cpp<br class="">3> UsbDkController.cpp<br class="">4>LINK : fatal error LNK1104: cannot open file '...\usbdk<br class="">\Install_Debug\x86\Win7Debug\UsbDkHelper.lib'<br class="">3>LINK : fatal error LNK1104: cannot open file '...\usbdk<br class="">\Install_Debug\x86\Win7Debug\UsbDkHelper.lib'<br class="">5>------ Rebuild All started: Project: UsbDk_Package, Configuration: Win7 Debug<br class="">Win32 ------<br class="">5>C:\Program Files (x86)\Windows Kits\8.1\build\WindowsDriver.common.targets(136<br class="">6,5): error MSB3030: Could not copy the file "...\usbdk\I<br class="">nstall_Debug\x86\Win7Debug\UsbDk.sys" because it was not found.<br class="">5>C:\Program Files (x86)\Windows Kits\8.1\build\WindowsDriver.common.targets(136<br class="">6,5): error MSB3030: Could not copy the file "...\usbdk\I<br class="">nstall_Debug\x86\Win7Debug\UsbDkController.exe" because it was not found.<br class="">5>C:\Program Files (x86)\Windows Kits\8.1\build\WindowsDriver.common.targets(136<br class="">6,5): error MSB3030: Could not copy the file "...\usbdk\I<br class="">nstall_Debug\x86\Win7Debug\UsbDkInstHelper.exe" because it was not found.<br class="">5>C:\Program Files (x86)\Windows Kits\8.1\build\WindowsDriver.common.targets(136<br class="">6,5): error MSB3030: Could not copy the file "...\usbdk\I<br class="">nstall_Debug\x86\Win7Debug\UsbDkHelper.dll" because it was not found.<br class="">========== Rebuild All: 0 succeeded, 5 failed, 0 skipped ==========<br class=""><font color="#5856d6" class=""><br class=""></font><div dir="ltr" class=""><div class="">Build with Visual Studio FAILED</div></div></div><br class=""></div></body></html>