Open shailenderjain opened 6 years ago
bazel build failed.
D:\Github\butteraugli>bazel build -c opt //:butteraugli
INFO: Analysed target //:butteraugli (0 packages loaded, 0 targets configured).
INFO: Found 1 target...
ERROR: D:/github/butteraugli/BUILD:14:1: C++ compilation of rule '//:butteraugli' failed (Exit 2)
cl: 命令行 error D8021 :无效的数值参数“/Wno-sign-compare”
Target //:butteraugli failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 0.501s, Critical Path: 0.07s
INFO: 0 processes.
FAILED: Build did NOT complete successfully
I am using g++ (Debian 6.3.0-18+deb9u1) 6.3.0 20170516 I get the following error while trying to build using MakeFile
butteraugli_main.cc:190:65: error: invalid conversion from ‘JSAMPROW {aka char}’ to ‘const uint8_t {aka const unsigned char}’ [-fpermissive] const uint8_t const BUTTERAUGLI_RESTRICT row = buffer[0];