Skip to content
This repository has been archived by the owner on Nov 14, 2023. It is now read-only.

Error while trying to build #51

Open
shailenderjain opened this issue Aug 12, 2018 · 1 comment
Open

Error while trying to build #51

shailenderjain opened this issue Aug 12, 2018 · 1 comment

Comments

@shailenderjain
Copy link

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];
~~~~~~~~^
butteraugli_main.cc:209: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];

@Mainvooid
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants