2753536587 / libyuv

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

VS2012 build errors #125

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
gtest used by libyuv doesnt build with VS2012.

Original issue reported on code.google.com by fbarch...@google.com on 12 Oct 2012 at 7:00

GoogleCodeExporter commented 9 years ago
gtest is fixed in chromium head.  See crbug for progress on chromium:
http://code.google.com/p/chromium/issues/detail?id=143646

2012 has 2 feature interesting to libyuv
1. haswell.  older compilers dont support it
2. c11 has language improvements.  hopefully the c99 has types and assignments. 
 libyuv should now be compiled without /tp

To update the DEPS file needs to refer to a newer chromium version.

Original comment by fbarch...@chromium.org on 17 Oct 2012 at 8:25

GoogleCodeExporter commented 9 years ago
To get the gtest fixes, we'll need to update DEPS to newer chromium.
currently
"chromium_revision": "152335",
head today is
"chromium_revision": "163168",

runhooks fails on
python: can't open file './google_apis/build/check_internal.py': [Errno 2] No 
such file or directory
gyp: Call to 'python ./google_apis/build/check_internal.py 
./google_apis/internal/google_chrome_api_keys.h' returned exit status 2. while 
trying to load trunk\l
ibyuv_test.gyp

Original comment by fbarch...@chromium.org on 21 Oct 2012 at 3:54

GoogleCodeExporter commented 9 years ago
This is needed for newer chromium builds

  # Needed by common.gypi.
  "google_apis/build":
    Var("chromium_trunk") + "/src/google_apis/build@" + Var("chromium_revision"),

Original comment by fbarch...@chromium.org on 21 Oct 2012 at 6:37

GoogleCodeExporter commented 9 years ago
r427 w/ local gtest hacks tested okay, with 2 unittest warning fixes.

Original comment by fbarch...@google.com on 23 Oct 2012 at 3:24

GoogleCodeExporter commented 9 years ago
r482 rolls chromium deps and tests okay with vs2012.

Original comment by fbarch...@chromium.org on 13 Nov 2012 at 9:09