verpas / gyp

Automatically exported from code.google.com/p/gyp
0 stars 0 forks source link

gyp --build does not work with VS 2010 Express #387

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run gyp with --build 

What is the expected output? What do you see instead?

>set GYP_MSVS_VERSION=2010e

>vcbuild.bat x86 release
['-Dtarget_arch=ia32', '-Dlibrary=static_library', '--build', 'Release', 
'.\\uv.gyp', '-I', '.\\common.gypi', '--depth=.', '-Dhost_arch=AMD64', '-Dcom
ponent=static_library']
Building [Release]: ['C:\\Program Files (x86)\\Microsoft Visual Studio 
10.0\\Common7\\IDE\\devenv.com', 'uv.sln', '/Build', 'Release']
Traceback (most recent call last):
  File "gyp_uv", line 100, in <module>
    run_gyp(gyp_args)
  File "gyp_uv", line 42, in run_gyp
    rc = gyp.main(args)
  File ".\build\gyp\pylib\gyp\__init__.py", line 527, in main
    return gyp_main(args)
  File ".\build\gyp\pylib\gyp\__init__.py", line 519, in gyp_main
    generator.PerformBuild(data, options.configs, params)
  File ".\build\gyp\pylib\gyp\generator\msvs.py", line 1835, in PerformBuild
    rtn = subprocess.check_call(arguments)
  File "C:\Python27\lib\subprocess.py", line 537, in check_call
    retcode = call(*popenargs, **kwargs)
  File "C:\Python27\lib\subprocess.py", line 524, in call
    return Popen(*popenargs, **kwargs).wait()
  File "C:\Python27\lib\subprocess.py", line 711, in __init__
    errread, errwrite)
  File "C:\Python27\lib\subprocess.py", line 948, in _execute_child
    startupinfo)
WindowsError: [Error 2] Das System kann die angegebene Datei nicht finden

What version of the product are you using? On what operating system?

$ git rev-parse --short HEAD
e5a492a

Windows 7 x64

Please provide any additional information below.

It is even recommended to use "msbuild" instead of "devenv" and the former is 
available on Express Editions (see 
http://msdn.microsoft.com/en-us/library/xee0c8y7.aspx).

Original issue reported on code.google.com by marc.sch...@gmail.com on 26 Nov 2013 at 8:46