Closed noci2012 closed 6 years ago
Appearanly after a libvp upgrade some constants are missing. (It seems to be solved in hhvm-9999 / hhvm head)
[ 81%] Building CXX object hphp/runtime/ext/CMakeFiles/hphp_runtimeext.dir/gd/libgd/webpimg.cpp.o /var/tmp/portage/dev-php/hhvm-3.7.0/work/hhvm-3.7.0/hphp/runtime/ext/gd/libgd/webpimg.cpp: In function ‘WebPResult VPXEncode(const uint8, const uint8, const uint8, int, int, int, int, int, int, int, int, unsigned char_, int)’: /var/tmp/portage/dev-php/hhvm-3.7.0/work/hhvm-3.7.0/hphp/runtime/ext/gd/libgd/webpimg.cpp:708:24: error: ‘IMG_FMT_I420’ was not declared in this scope vpx_img_wrap(&img, IMG_FMT_I420, ^ /var/tmp/portage/dev-php/hhvm-3.7.0/work/hhvm-3.7.0/hphp/runtime/ext/gd/libgd/webpimg.cpp:710:16: error: ‘PLANE_Y’ was not declared in this scope img.planes[PLANEY] = (uint8)(Y); ^ /var/tmp/portage/dev-php/hhvm-3.7.0/work/hhvm-3.7.0/hphp/runtime/ext/gd/libgd/webpimg.cpp:711:16: error: ‘PLANE_U’ was not declared in this scope img.planes[PLANEU] = (uint8)(U); ^ /var/tmp/portage/dev-php/hhvm-3.7.0/work/hhvm-3.7.0/hphp/runtime/ext/gd/libgd/webpimg.cpp:712:16: error: ‘PLANE_V’ was not declared in this scope img.planes[PLANEV] = (uint8)(V); ^ hphp/runtime/ext/CMakeFiles/hphp_runtime_ext.dir/build.make:2587: recipe for target 'hphp/runtime/ext/CMakeFiles/hphp_runtimeext.dir/gd/libgd/webpimg.cpp.o' failed make[2]: ** [hphp/runtime/ext/CMakeFiles/hphp_runtime_ext.dir/gd/libgd/webpimg.cpp.o] Error 1 CMakeFiles/Makefile2:1438: recipe for target 'hphp/runtime/ext/CMakeFiles/hphp_runtime_ext.dir/all' failed make[1]: * [hphp/runtime/ext/CMakeFiles/hphp_runtime_ext.dir/all] Error 2 Makefile:116: recipe for target 'all' failed make: * [all] Error 2
unsused
Appearanly after a libvp upgrade some constants are missing. (It seems to be solved in hhvm-9999 / hhvm head)
[ 81%] Building CXX object hphp/runtime/ext/CMakeFiles/hphp_runtimeext.dir/gd/libgd/webpimg.cpp.o /var/tmp/portage/dev-php/hhvm-3.7.0/work/hhvm-3.7.0/hphp/runtime/ext/gd/libgd/webpimg.cpp: In function ‘WebPResult VPXEncode(const uint8, const uint8, const uint8, int, int, int, int, int, int, int, int, unsigned char_, int)’: /var/tmp/portage/dev-php/hhvm-3.7.0/work/hhvm-3.7.0/hphp/runtime/ext/gd/libgd/webpimg.cpp:708:24: error: ‘IMG_FMT_I420’ was not declared in this scope vpx_img_wrap(&img, IMG_FMT_I420, ^ /var/tmp/portage/dev-php/hhvm-3.7.0/work/hhvm-3.7.0/hphp/runtime/ext/gd/libgd/webpimg.cpp:710:16: error: ‘PLANE_Y’ was not declared in this scope img.planes[PLANEY] = (uint8)(Y); ^ /var/tmp/portage/dev-php/hhvm-3.7.0/work/hhvm-3.7.0/hphp/runtime/ext/gd/libgd/webpimg.cpp:711:16: error: ‘PLANE_U’ was not declared in this scope img.planes[PLANEU] = (uint8)(U); ^ /var/tmp/portage/dev-php/hhvm-3.7.0/work/hhvm-3.7.0/hphp/runtime/ext/gd/libgd/webpimg.cpp:712:16: error: ‘PLANE_V’ was not declared in this scope img.planes[PLANEV] = (uint8)(V); ^ hphp/runtime/ext/CMakeFiles/hphp_runtime_ext.dir/build.make:2587: recipe for target 'hphp/runtime/ext/CMakeFiles/hphp_runtimeext.dir/gd/libgd/webpimg.cpp.o' failed make[2]: ** [hphp/runtime/ext/CMakeFiles/hphp_runtime_ext.dir/gd/libgd/webpimg.cpp.o] Error 1 CMakeFiles/Makefile2:1438: recipe for target 'hphp/runtime/ext/CMakeFiles/hphp_runtime_ext.dir/all' failed make[1]: * [hphp/runtime/ext/CMakeFiles/hphp_runtime_ext.dir/all] Error 2 Makefile:116: recipe for target 'all' failed make: * [all] Error 2