Building ninja from source on Windows

380 views
Skip to first unread message

Edward Diener

unread,
Jan 17, 2015, 9:17:23 AM1/17/15
to ninja...@googlegroups.com
On Windows 7 I get the latest Ninja source from Github. I then try:

python configure.py --platform=msvc

and receive:

Traceback (most recent call last):
  File "configure.py", line 300, in <module>
    if platform.msvc_needs_fs():
  File "configure.py", line 81, in msvc_needs_fs
    stderr=subprocess.PIPE)
  File "C:\Utilities\Python278_32\lib\subprocess.py", line 710, in __init__
    errread, errwrite)
  File "C:\Utilities\Python278_32\lib\subprocess.py", line 958, in _execute_chil
d
    startupinfo)
WindowsError: [Error 2] The system cannot find the file specified

Does anybody know why I am receiving the error ? Do I need to use Python 3.4 or 64-bit Python to build Ninja ?

Nico Weber

unread,
Jan 17, 2015, 1:17:04 PM1/17/15
to Edward Diener, ninja-build

This probably means the script can't find your compiler. What happens if you write "cl", is that found? Did you run vcvarsall? (http://msdn.microsoft.com/en-us/library/x4d2c09s.aspx)

--
You received this message because you are subscribed to the Google Groups "ninja-build" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ninja-build...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages