From: usa@... Date: 2015-01-24T15:29:10+00:00 Subject: [ruby-core:67792] [ruby-trunk - Bug #10780] [Third Party's Issue] Unable to build with Visual Studio 2013 Issue #10780 has been updated by Usaku NAKAMURA. Status changed from Open to Third Party's Issue It seems that a bug of ml.exe of VS2013. I found a workaround. After this error, try these commands. ~~~ cd ext\fiddle\libffi-3.2.1\src\x86 ml -c -coff -W3 -Cx -Fo win32.obj win32.asm cd ..\..\..\..\.. nmake ~~~ ---------------------------------------- Bug #10780: Unable to build with Visual Studio 2013 https://bugs.ruby-lang.org/issues/10780#change-51204 * Author: Daniel Berger * Status: Third Party's Issue * Priority: Normal * Assignee: * ruby -v: 2.2 * Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN ---------------------------------------- Microsoft (R) C/C++ Optimizing Compiler Version 18.00.31101 for x86 Windows 7 Pro Ruby 2.2.0 I am unable to build from source. After running configure.bat and nmake, I eventually get this: Assembling: ./src/x86/win32.asm ./src/x86/win32.asm(1014) : warning A6001:no return from procedure ./src/x86/win32.asm(1186) : warning A6001:no return from procedure ./src/x86/win32.asm(999) : error A2071:initializer magnitude too large for specified size ./src/x86/win32.asm(999) : warning A6004:procedure argument or local not referenced : FORCEFRAME./src/x86/win3 2.asm(1014) : warning A6004:procedure argument or local not reference ./src/x86/win32.asm(1097) : warning A6004:procedure argument or local not reference NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\ml.EXE"' : return code '0x1' Stop. NMAKE : fatal error U1077: 'cd' : return code '0x2' Stop. NMAKE : fatal error U1077: 'cd' : return code '0x2' Stop. NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.EXE"' : return code '0x2' Stop. -- https://bugs.ruby-lang.org/