New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
configure script produces fatal error C1034: cstdio: no include path set #895
Comments
Did you run vcvarsall before building? It looks like it can't find standard
|
It looks like you reported two issues in this bug. Let's make this one about the configure failure. Can you open another about the problem you encountered with rebuilding? |
Run vcvarsall will solve this ,thanks! |
When I modified .cc file ,ninja works well, this .cc file will be compiled. But when I modified a .h file, ninja show no work to do.
BTW, when I build ninja with the src, some error happened:
F:\source\ninja\ninja>python ./configure.py --bootstrap
bootstrapping ninja...
warning: A compatible version of re2c (>= 0.11.3) was not found; changes to src/
_.in.cc will not affect your build.
build.cc
f:\source\ninja\ninja\src\build.h(18) : fatal error C1034: cstdio: no include pa
th set
when running: cl /nologo /Zi /W4 /WX /wd4530 /wd4100 /wd4706 /wd4512 /wd4800 /w
d4702 /wd4819 /wd4355 /wd4091 /GR- /wd4267 /DNOMINMAX /D_CRT_SECURE_NO_WARNINGS
/D_VARIADIC_MAX=10 /DNINJA_PYTHON="python.exe" /Ox /DNDEBUG /GL -c src\build.cc
/Fobuild\build.obj
Traceback (most recent call last):
File "./configure.py", line 461, in
objs += cxx(name)
File "./configure.py", line 262, in cxx
return n.build(built(name + objext), 'cxx', src(name + '.cc'), *_kwargs)
File "./configure.py", line 148, in build
self._run_command(self._expand(cmd, local_vars))
File "./configure.py", line 169, in _run_command
subprocess.check_call(cmdline, shell=True)
File "E:\depot_tools\python276_bin\lib\subprocess.py", line 540, in check_call
subprocess.CalledProcessError: Command 'cl /nologo /Zi /W4 /WX /wd4530 /wd4100 /
wd4706 /wd4512 /wd4800 /wd4702 /wd4819 /wd4355 /wd4091 /GR- /wd4267 /DNOMINMAX /
D_CRT_SECURE_NO_WARNINGS /D_VARIADIC_MAX=10 /DNINJA_PYTHON="python.exe" /Ox /DND
EBUG /GL -c src\build.cc /Fobuild\build.obj' returned non-zero exit status 2
How do I solve this. My enviroment is Win7 64bit, vs2013 community
The text was updated successfully, but these errors were encountered: