nanguantong / libyuv

Automatically exported from code.google.com/p/libyuv
BSD 3-Clause "New" or "Revised" License
0 stars 1 forks source link

Error on synching libyuv #503

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Windows 7 64-bit, using Administrator cmd; on gclient sync I get the following 
error:

Updating projects from gyp files...
Traceback (most recent call last):
  File "libyuv/gyp_libyuv", line 89, in <module>
  File "I:\FPACH\p4\comms_all\comms\eng\vcp\main\pjsip\libyuv\tools\gyp\pylib\gyp\__init__.py", line 538, in main return gyp_main(args)
  File "I:\FPACH\p4\comms_all\comms\eng\vcp\main\pjsip\libyuv\tools\gyp\pylib\gyp\__init__.py", line 523, in gyp_main generator.GenerateOutput(flat_list, targets, data, params)
  File "I:\FPACH\p4\comms_all\comms\eng\vcp\main\pjsip\libyuv\tools\gyp\pylib\gyp\generator\ninja.py", line 2384, in GenerateOutput pool.map(CallGenerateOutputForConfig, arglists)
  File "I:\FPACH\p4\comms_all\comms\eng\vcp\main\pjsip\depot_tools\python276_bin\lib\multiprocessing\pool.py", line 250, in map return self.map_async(func, iterable, chunksize).get()
  File "I:\FPACH\p4\comms_all\comms\eng\vcp\main\pjsip\depot_tools\python276_bin\lib\multiprocessing\pool.py", line 554, in get raise self._value
Exception: Environment variable "SYSTEMROOT" required to be set to valid path
Error: Command 
'I:\\FPACH\\p4\\comms_all\\comms\\eng\\vcp\\main\\pjsip\\depot_tools\\python276_
bin\\python.exe libyuv/gyp_libyuv' returned non-zero exit status 1 in 
I:\FPACH\p4\comms_all\comms\eng\vcp\main\pjsip

SYSTEMROOT is correctly set to C:\Windows

Original issue reported on code.google.com by fp...@dolby.com on 9 Oct 2015 at 7:55

GoogleCodeExporter commented 9 years ago
The depot moved to git recently.  Perhaps you havent synced since the move?

https://code.google.com/p/libyuv/wiki/GettingStarted

shows the new location under Getting the Code

c:\src>mkdir libyuv4

c:\src>cd libyuv4

c:\src\libyuv4>gclient config https://chromium.googlesource.com/libyuv/libyuv

c:\src\libyuv4>more .gclient
solutions = [
  { "name"        : "libyuv",
    "url"         : "https://chromium.googlesource.com/libyuv/libyuv",
    "deps_file"   : "DEPS",
    "managed"     : True,
    "custom_deps" : {
    },
    "safesync_url": "",
  },
]
cache_dir = None

c:\src\libyuv4>gclient sync
Syncing projects: 100% (1/1), done.

The slow part if pulling in chromium.  To avoid that glcient sync --nohooks
But you'll need the chromium bits for building.

You'll also need fairly new depot_tools.  Follow chromium instructions for 
getting those.

Original comment by fbarch...@chromium.org on 9 Oct 2015 at 6:15