Skip to content

Instantly share code, notes, and snippets.

@isuruf
Last active May 3, 2018 22:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save isuruf/449b9db908834683a7255e9bbb749ebb to your computer and use it in GitHub Desktop.
Save isuruf/449b9db908834683a7255e9bbb749ebb to your computer and use it in GitHub Desktop.
MSVC 2015 Update 3 ICE
Generating code
c:\bld\dipy_1525377738849\work\dipy\segment\metricspeed.c(5066) : fatal error C1001: An internal error has occurred in the compiler.
(compiler file 'f:\dd\vctools\compiler\utc\src\p2\main.c', line 255)
To work around this problem, try simplifying or changing the program near the locations listed above.
Please choose the Technical Support command on the Visual C++
Help menu, or open the Technical Support help file for more information
INTERNAL COMPILER ERROR in 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\link.exe'
Please choose the Technical Support command on the Visual C++
Help menu, or open the Technical Support help file for more information

Use the x86_amd64 compiler. by using

call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86_amd64

x86_amd64 is the same compiler emitting 64-bit library code, but the compiler itself is 32-bit. Ran into the issue with the line (compiler file 'f:\dd\vctools\compiler\utc\src\p2\main.c', line 255) couple of times in different code bases and the above workaround worked both times.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment